Lines Matching refs:file_ctrl
414 pdev->file_ctrl = g; in ugen20_open_device()
432 pdev->file_ctrl = -1; in ugen20_open_device()
454 close(pdev->file_ctrl); in ugen20_close_device()
456 pdev->file_ctrl = -1; in ugen20_close_device()
484 error = ioctl(pdev->file_ctrl, IOUSB(USB_GET_FULL_DESC), &gen_desc); in ugen20_get_config_desc_full()
504 error = ioctl(pdev->file_ctrl, IOUSB(USB_GET_FULL_DESC), &gen_desc); in ugen20_get_config_desc_full()
523 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_CONFIG), &temp)) { in ugen20_get_config_index()
539 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_CONFIG), &temp)) { in ugen20_set_config_index()
559 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_ALTINTERFACE), &alt_iface)) { in ugen20_set_alt_index()
573 if (ioctl(pdev->file_ctrl, IOUSB(USB_DEVICEENUMERATE), &temp)) { in ugen20_reset_device()
585 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_PLUGTIME), &plugtime)) { in ugen20_check_connected()
622 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_POWER_MODE), &temp)) { in ugen20_set_power_mode()
633 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_POWER_MODE), &temp)) { in ugen20_get_power_mode()
665 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_POWER_USAGE), &temp)) { in ugen20_get_power_usage()
677 if (ioctl(pdev->file_ctrl, IOUSB(USB_DEVICESTATS), &st)) in ugen20_get_stats()
701 if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_ACTIVE), &temp)) { in ugen20_kernel_driver_active()
713 if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_DETACH), &temp)) { in ugen20_detach_kernel_driver()
736 if (ioctl(pdev->file_ctrl, IOUSB(USB_DO_REQUEST), &req)) { in ugen20_do_request_sync()