Lines Matching refs:udev
50 struct usbip_usb_device udev; in get_exported_devices() local
88 memset(&udev, 0, sizeof(udev)); in get_exported_devices()
89 rc = usbip_net_recv(sockfd, &udev, sizeof(udev)); in get_exported_devices()
94 usbip_net_pack_usb_device(0, &udev); in get_exported_devices()
97 udev.idVendor, udev.idProduct); in get_exported_devices()
99 udev.bDeviceClass, udev.bDeviceSubClass, in get_exported_devices()
100 udev.bDeviceProtocol); in get_exported_devices()
101 printf("%11s: %s\n", udev.busid, product_name); in get_exported_devices()
102 printf("%11s: %s\n", "", udev.path); in get_exported_devices()
105 for (j = 0; j < udev.bNumInterfaces; j++) { in get_exported_devices()
169 struct udev *udev; in list_devices() local
184 udev = udev_new(); in list_devices()
187 enumerate = udev_enumerate_new(udev); in list_devices()
202 dev = udev_device_new_from_syspath(udev, path); in list_devices()
244 udev_unref(udev); in list_devices()
252 struct udev *udev; in list_gadget_devices() local
269 udev = udev_new(); in list_gadget_devices()
270 enumerate = udev_enumerate_new(udev); in list_gadget_devices()
279 dev = udev_device_new_from_syspath(udev, path); in list_gadget_devices()
321 udev_unref(udev); in list_gadget_devices()