Searched refs:pcbh (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libusb/
H A Dlibusb10_hotplug.c71 libusb_hotplug_filter(libusb_context *ctx, libusb_hotplug_callback_handle pcbh, argument
74 if (!(pcbh->events & event))
76 if (pcbh->vendor != LIBUSB_HOTPLUG_MATCH_ANY &&
77 pcbh->vendor != libusb20_dev_get_device_desc(dev->os_priv)->idVendor)
79 if (pcbh->product != LIBUSB_HOTPLUG_MATCH_ANY &&
80 pcbh->product != libusb20_dev_get_device_desc(dev->os_priv)->idProduct)
82 if (pcbh->devclass != LIBUSB_HOTPLUG_MATCH_ANY &&
83 pcbh->devclass != libusb20_dev_get_device_desc(dev->os_priv)->bDeviceClass)
85 return (pcbh->fn(ctx, dev, event, pcbh
[all...]

Completed in 57 milliseconds