Lines Matching refs:bdev
56 struct libusb20_device *bdev = _bdev->os_priv; in libusb_hotplug_equal() local
58 if (adev->bus_number != bdev->bus_number) in libusb_hotplug_equal()
60 if (adev->device_address != bdev->device_address) in libusb_hotplug_equal()
62 if (memcmp(&adev->ddesc, &bdev->ddesc, sizeof(adev->ddesc))) in libusb_hotplug_equal()
64 if (memcmp(&adev->session_data, &bdev->session_data, sizeof(adev->session_data))) in libusb_hotplug_equal()
114 libusb_device *bdev; in libusb_hotplug_scan() local
135 TAILQ_FOREACH(bdev, &hotplug_devs, hotplug_entry) { in libusb_hotplug_scan()
136 if (libusb_hotplug_equal(adev, bdev)) in libusb_hotplug_scan()
139 if (bdev == NULL) { in libusb_hotplug_scan()
154 TAILQ_FOREACH(bdev, &ctx->hotplug_devs, hotplug_entry) { in libusb_hotplug_scan()
155 if (libusb_hotplug_equal(adev, bdev)) in libusb_hotplug_scan()
158 if (bdev == NULL) { in libusb_hotplug_scan()