Searched refs:hdriver (Results 1 – 4 of 4) sorted by relevance
25 int (*open)(struct usbip_host_driver *hdriver);29 struct usbip_host_driver *hdriver, int num);57 if (!hdriver->ops.open) in usbip_driver_open()59 return hdriver->ops.open(hdriver); in usbip_driver_open()64 if (!hdriver->ops.close) in usbip_driver_close()66 hdriver->ops.close(hdriver); in usbip_driver_close()71 if (!hdriver->ops.refresh_device_list) in usbip_refresh_device_list()73 return hdriver->ops.refresh_device_list(hdriver); in usbip_refresh_device_list()79 if (!hdriver->ops.get_device) in usbip_get_device()81 return hdriver->ops.get_device(hdriver, num); in usbip_get_device()[all …]
103 if (!hdriver->ops.read_interface) in usbip_exported_device_new()140 if (hdriver->ops.is_my_device(dev)) { in refresh_exported_devices()147 list_add(&edev->node, &hdriver->edev_list); in refresh_exported_devices()148 hdriver->ndevs++; in refresh_exported_devices()177 rc = refresh_exported_devices(hdriver); in usbip_generic_driver_open()188 if (!hdriver) in usbip_generic_driver_close()202 hdriver->ndevs = 0; in usbip_generic_refresh_device_list()203 INIT_LIST_HEAD(&hdriver->edev_list); in usbip_generic_refresh_device_list()205 rc = refresh_exported_devices(hdriver); in usbip_generic_refresh_device_list()268 struct usbip_host_driver *hdriver, int num) in usbip_generic_get_device() argument[all …]
27 static int usbip_host_driver_open(struct usbip_host_driver *hdriver) in usbip_host_driver_open() argument31 hdriver->ndevs = 0; in usbip_host_driver_open()32 INIT_LIST_HEAD(&hdriver->edev_list); in usbip_host_driver_open()34 ret = usbip_generic_driver_open(hdriver); in usbip_host_driver_open()
132 static int usbip_device_driver_open(struct usbip_host_driver *hdriver) in usbip_device_driver_open() argument136 hdriver->ndevs = 0; in usbip_device_driver_open()137 INIT_LIST_HEAD(&hdriver->edev_list); in usbip_device_driver_open()139 ret = usbip_generic_driver_open(hdriver); in usbip_device_driver_open()