Searched refs:hotplug_cb (Results 1 – 1 of 1) sorted by relevance
166 struct usbi_hotplug_callback *hotplug_cb, *next_cb; in usbi_hotplug_exit() local178 for_each_hotplug_cb_safe(ctx, hotplug_cb, next_cb) { in usbi_hotplug_exit()179 list_del(&hotplug_cb->list); in usbi_hotplug_exit()180 free(hotplug_cb); in usbi_hotplug_exit()218 libusb_hotplug_event event, struct usbi_hotplug_callback *hotplug_cb) in usbi_hotplug_match_cb() argument220 if (!(hotplug_cb->flags & event)) { in usbi_hotplug_match_cb()224 if ((hotplug_cb->flags & USBI_HOTPLUG_VENDOR_ID_VALID) && in usbi_hotplug_match_cb()225 hotplug_cb->vendor_id != dev->device_descriptor.idVendor) { in usbi_hotplug_match_cb()229 if ((hotplug_cb->flags & USBI_HOTPLUG_PRODUCT_ID_VALID) && in usbi_hotplug_match_cb()230 hotplug_cb->product_id != dev->device_descriptor.idProduct) { in usbi_hotplug_match_cb()[all …]