Home
last modified time | relevance | path

Searched refs:ppdev (Results 1 – 3 of 3) sorted by relevance

/freebsd/lib/libusb/
H A Dlibusb10_io.c100 struct libusb20_device **ppdev; in libusb10_handle_events_sub() local
121 ppdev = alloca(sizeof(*ppdev) * nfds); in libusb10_handle_events_sub()
122 if (ppdev == NULL) in libusb10_handle_events_sub()
129 ppdev[i] = pfd->pdev; in libusb10_handle_events_sub()
151 if (ppdev[i] != NULL) { in libusb10_handle_events_sub()
153 libusb_unref_device(libusb_get_device(ppdev[i])); in libusb10_handle_events_sub()
160 if (ppdev[i] != NULL) { in libusb10_handle_events_sub()
161 dev = libusb_get_device(ppdev[i]); in libusb10_handle_events_sub()
164 err = libusb20_dev_process(ppdev[i]); in libusb10_handle_events_sub()
175 if (ppdev[i]->is_opened) in libusb10_handle_events_sub()
[all …]
H A Dlibusb10_hotplug.c90 libusb_device **ppdev; in libusb_hotplug_enumerate() local
94 count = libusb_get_device_list(ctx, &ppdev); in libusb_hotplug_enumerate()
99 TAILQ_INSERT_TAIL(phead, ppdev[x], hotplug_entry); in libusb_hotplug_enumerate()
101 libusb_free_device_list(ppdev, 0); in libusb_hotplug_enumerate()
/freebsd/sys/dev/usb/
H A Dusb_device.c1221 usb_detach_device_sub(struct usb_device *udev, device_t *ppdev, in usb_detach_device_sub() argument
1228 dev = *ppdev; in usb_detach_device_sub()
1235 *ppdev = NULL; in usb_detach_device_sub()