hdriver 132 tools/usb/usbip/libsrc/usbip_device_driver.c static int usbip_device_driver_open(struct usbip_host_driver *hdriver) hdriver 136 tools/usb/usbip/libsrc/usbip_device_driver.c hdriver->ndevs = 0; hdriver 137 tools/usb/usbip/libsrc/usbip_device_driver.c INIT_LIST_HEAD(&hdriver->edev_list); hdriver 139 tools/usb/usbip/libsrc/usbip_device_driver.c ret = usbip_generic_driver_open(hdriver); hdriver 66 tools/usb/usbip/libsrc/usbip_host_common.c struct usbip_host_driver *hdriver, const char *sdevpath) hdriver 82 tools/usb/usbip/libsrc/usbip_host_common.c if (hdriver->ops.read_device(edev->sudev, &edev->udev) < 0) hdriver 103 tools/usb/usbip/libsrc/usbip_host_common.c if (!hdriver->ops.read_interface) hdriver 105 tools/usb/usbip/libsrc/usbip_host_common.c hdriver->ops.read_interface(&edev->udev, i, &edev->uinf[i]); hdriver 118 tools/usb/usbip/libsrc/usbip_host_common.c static int refresh_exported_devices(struct usbip_host_driver *hdriver) hdriver 127 tools/usb/usbip/libsrc/usbip_host_common.c udev_enumerate_add_match_subsystem(enumerate, hdriver->udev_subsystem); hdriver 140 tools/usb/usbip/libsrc/usbip_host_common.c if (hdriver->ops.is_my_device(dev)) { hdriver 141 tools/usb/usbip/libsrc/usbip_host_common.c edev = usbip_exported_device_new(hdriver, path); hdriver 147 tools/usb/usbip/libsrc/usbip_host_common.c list_add(&edev->node, &hdriver->edev_list); hdriver 148 tools/usb/usbip/libsrc/usbip_host_common.c hdriver->ndevs++; hdriver 167 tools/usb/usbip/libsrc/usbip_host_common.c int usbip_generic_driver_open(struct usbip_host_driver *hdriver) hdriver 177 tools/usb/usbip/libsrc/usbip_host_common.c rc = refresh_exported_devices(hdriver); hdriver 186 tools/usb/usbip/libsrc/usbip_host_common.c void usbip_generic_driver_close(struct usbip_host_driver *hdriver) hdriver 188 tools/usb/usbip/libsrc/usbip_host_common.c if (!hdriver) hdriver 191 tools/usb/usbip/libsrc/usbip_host_common.c usbip_exported_device_destroy(&hdriver->edev_list); hdriver 196 tools/usb/usbip/libsrc/usbip_host_common.c int usbip_generic_refresh_device_list(struct usbip_host_driver *hdriver) hdriver 200 tools/usb/usbip/libsrc/usbip_host_common.c usbip_exported_device_destroy(&hdriver->edev_list); hdriver 202 tools/usb/usbip/libsrc/usbip_host_common.c hdriver->ndevs = 0; hdriver 203 tools/usb/usbip/libsrc/usbip_host_common.c INIT_LIST_HEAD(&hdriver->edev_list); hdriver 205 tools/usb/usbip/libsrc/usbip_host_common.c rc = refresh_exported_devices(hdriver); hdriver 268 tools/usb/usbip/libsrc/usbip_host_common.c struct usbip_host_driver *hdriver, int num) hdriver 274 tools/usb/usbip/libsrc/usbip_host_common.c list_for_each(i, &hdriver->edev_list) { hdriver 25 tools/usb/usbip/libsrc/usbip_host_common.h int (*open)(struct usbip_host_driver *hdriver); hdriver 26 tools/usb/usbip/libsrc/usbip_host_common.h void (*close)(struct usbip_host_driver *hdriver); hdriver 27 tools/usb/usbip/libsrc/usbip_host_common.h int (*refresh_device_list)(struct usbip_host_driver *hdriver); hdriver 29 tools/usb/usbip/libsrc/usbip_host_common.h struct usbip_host_driver *hdriver, int num); hdriver 55 tools/usb/usbip/libsrc/usbip_host_common.h static inline int usbip_driver_open(struct usbip_host_driver *hdriver) hdriver 57 tools/usb/usbip/libsrc/usbip_host_common.h if (!hdriver->ops.open) hdriver 59 tools/usb/usbip/libsrc/usbip_host_common.h return hdriver->ops.open(hdriver); hdriver 62 tools/usb/usbip/libsrc/usbip_host_common.h static inline void usbip_driver_close(struct usbip_host_driver *hdriver) hdriver 64 tools/usb/usbip/libsrc/usbip_host_common.h if (!hdriver->ops.close) hdriver 66 tools/usb/usbip/libsrc/usbip_host_common.h hdriver->ops.close(hdriver); hdriver 69 tools/usb/usbip/libsrc/usbip_host_common.h static inline int usbip_refresh_device_list(struct usbip_host_driver *hdriver) hdriver 71 tools/usb/usbip/libsrc/usbip_host_common.h if (!hdriver->ops.refresh_device_list) hdriver 73 tools/usb/usbip/libsrc/usbip_host_common.h return hdriver->ops.refresh_device_list(hdriver); hdriver 77 tools/usb/usbip/libsrc/usbip_host_common.h usbip_get_device(struct usbip_host_driver *hdriver, int num) hdriver 79 tools/usb/usbip/libsrc/usbip_host_common.h if (!hdriver->ops.get_device) hdriver 81 tools/usb/usbip/libsrc/usbip_host_common.h return hdriver->ops.get_device(hdriver, num); hdriver 85 tools/usb/usbip/libsrc/usbip_host_common.h int usbip_generic_driver_open(struct usbip_host_driver *hdriver); hdriver 86 tools/usb/usbip/libsrc/usbip_host_common.h void usbip_generic_driver_close(struct usbip_host_driver *hdriver); hdriver 87 tools/usb/usbip/libsrc/usbip_host_common.h int usbip_generic_refresh_device_list(struct usbip_host_driver *hdriver); hdriver 90 tools/usb/usbip/libsrc/usbip_host_common.h struct usbip_host_driver *hdriver, int num); hdriver 27 tools/usb/usbip/libsrc/usbip_host_driver.c static int usbip_host_driver_open(struct usbip_host_driver *hdriver) hdriver 31 tools/usb/usbip/libsrc/usbip_host_driver.c hdriver->ndevs = 0; hdriver 32 tools/usb/usbip/libsrc/usbip_host_driver.c INIT_LIST_HEAD(&hdriver->edev_list); hdriver 34 tools/usb/usbip/libsrc/usbip_host_driver.c ret = usbip_generic_driver_open(hdriver);