/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | BusManager.cpp | 177 usb_device_descriptor deviceDescriptor; in AllocateDevice() local 186 (void *)&deviceDescriptor, // buffer in AllocateDevice() 197 TRACE("\tlength:..............%d\n", deviceDescriptor.length); in AllocateDevice() 198 TRACE("\tdescriptor_type:.....0x%04x\n", deviceDescriptor.descriptor_type); in AllocateDevice() 199 TRACE("\tusb_version:.........0x%04x\n", deviceDescriptor.usb_version); in AllocateDevice() 200 TRACE("\tdevice_class:........0x%02x\n", deviceDescriptor.device_class); in AllocateDevice() 201 TRACE("\tdevice_subclass:.....0x%02x\n", deviceDescriptor.device_subclass); in AllocateDevice() 202 TRACE("\tdevice_protocol:.....0x%02x\n", deviceDescriptor.device_protocol); in AllocateDevice() 203 TRACE("\tmax_packet_size_0:...%d\n", deviceDescriptor.max_packet_size_0); in AllocateDevice() 206 if (deviceDescriptor.device_class == 0x09) { in AllocateDevice() [all …]
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | Prolific.cpp | 26 const usb_device_descriptor *deviceDescriptor = NULL; in AddDevice() local 27 deviceDescriptor = gUSBModule->get_device_descriptor(Device()); in AddDevice() 28 if (deviceDescriptor) { in AddDevice() 29 fIsHX = (deviceDescriptor->device_class != 0x02 in AddDevice() 30 && deviceDescriptor->max_packet_size_0 == 0x40); in AddDevice()
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/ |
H A D | ECMDevice.cpp | 36 const usb_device_descriptor *deviceDescriptor in ECMDevice() local 39 if (deviceDescriptor == NULL) { in ECMDevice() 44 fVendorID = deviceDescriptor->vendor_id; in ECMDevice() 45 fProductID = deviceDescriptor->product_id; in ECMDevice() 325 const usb_device_descriptor *deviceDescriptor in CompareAndReattach() local 328 if (deviceDescriptor == NULL) { in CompareAndReattach() 333 if (deviceDescriptor->vendor_id != fVendorID in CompareAndReattach() 334 && deviceDescriptor->product_id != fProductID) { in CompareAndReattach() 378 const usb_device_descriptor *deviceDescriptor in _SetupDevice() local 381 if (deviceDescriptor == NULL) { in _SetupDevice() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/ |
H A D | Driver.cpp | 52 const usb_device_descriptor *deviceDescriptor in lookup_and_create_device() local 55 if (deviceDescriptor == NULL) { in lookup_and_create_device() 61 deviceDescriptor->vendor_id, deviceDescriptor->product_id); in lookup_and_create_device() 64 uint32 id = deviceDescriptor->vendor_id << 16 in lookup_and_create_device() 65 | deviceDescriptor->product_id; in lookup_and_create_device()
|
H A D | DavicomDevice.cpp | 496 const usb_device_descriptor *deviceDescriptor in CompareAndReattach() local 499 if (deviceDescriptor == NULL) { in CompareAndReattach() 504 if (deviceDescriptor->vendor_id != fDeviceInfo.VendorId() in CompareAndReattach() 505 && deviceDescriptor->product_id != fDeviceInfo.ProductId()) { in CompareAndReattach()
|
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | Driver.cpp | 65 const usb_device_descriptor *deviceDescriptor in usb_hid_device_added() local 69 deviceDescriptor->vendor_id, deviceDescriptor->product_id); in usb_hid_device_added() 74 && deviceDescriptor->vendor_id != entry.vendor) in usb_hid_device_added() 76 && deviceDescriptor->product_id != entry.product)) { in usb_hid_device_added() 121 && deviceDescriptor->vendor_id != quirky.vendor_id) in usb_hid_device_added() 123 && deviceDescriptor->product_id != quirky.product_id) in usb_hid_device_added()
|
H A D | HIDDevice.cpp | 44 const usb_device_descriptor *deviceDescriptor in HIDDevice() local 141 deviceDescriptor->vendor_id, deviceDescriptor->product_id, in HIDDevice()
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | Driver.cpp | 78 const usb_device_descriptor *deviceDescriptor in lookup_and_create_device() local 81 if (deviceDescriptor == NULL) { in lookup_and_create_device() 87 deviceDescriptor->vendor_id, deviceDescriptor->product_id); in lookup_and_create_device() 90 uint32 id = deviceDescriptor->vendor_id << 16 in lookup_and_create_device() 91 | deviceDescriptor->product_id; in lookup_and_create_device()
|
H A D | ASIXDevice.cpp | 414 const usb_device_descriptor *deviceDescriptor in CompareAndReattach() local 417 if (deviceDescriptor == NULL) { in CompareAndReattach() 422 if (deviceDescriptor->vendor_id != fDeviceInfo.VendorId() in CompareAndReattach() 423 && deviceDescriptor->product_id != fDeviceInfo.ProductId()) { in CompareAndReattach()
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | Device.cpp | 28 const usb_device_descriptor* deviceDescriptor in Device() local 31 if (deviceDescriptor == NULL) { in Device() 36 fVendorID = deviceDescriptor->vendor_id; in Device() 37 fProductID = deviceDescriptor->product_id; in Device() 38 fUSBVersion = deviceDescriptor->usb_version; in Device() 425 const usb_device_descriptor* deviceDescriptor in CompareAndReattach() local 428 if (deviceDescriptor == NULL) { in CompareAndReattach() 433 if (deviceDescriptor->vendor_id != fVendorID in CompareAndReattach() 434 && deviceDescriptor->product_id != fProductID) in CompareAndReattach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/ |
H A D | RNDISDevice.cpp | 83 const usb_device_descriptor *deviceDescriptor in RNDISDevice() local 86 if (deviceDescriptor == NULL) { in RNDISDevice() 91 fVendorID = deviceDescriptor->vendor_id; in RNDISDevice() 92 fProductID = deviceDescriptor->product_id; in RNDISDevice() 573 const usb_device_descriptor *deviceDescriptor in _SetupDevice() local 576 if (deviceDescriptor == NULL) { in _SetupDevice() 587 for (int i = 0; i < deviceDescriptor->num_configurations && !found; i++) { in _SetupDevice()
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci.cpp | 1720 usb_device_descriptor deviceDescriptor; in AllocateDevice() local 1729 (void *)&deviceDescriptor, // buffer in AllocateDevice() 1741 deviceDescriptor.device_class, deviceDescriptor.device_subclass, in AllocateDevice() 1742 deviceDescriptor.device_protocol); in AllocateDevice() 1744 if (speed == USB_SPEED_FULLSPEED && deviceDescriptor.max_packet_size_0 != 8) { in AllocateDevice() 1750 deviceDescriptor.max_packet_size_0); in AllocateDevice() 1759 if (deviceDescriptor.device_class == 0x09) { in AllocateDevice() 1794 deviceDescriptor, device->address + 1, speed, false, device); in AllocateDevice() 1798 deviceDescriptor, device->address + 1, speed, false, device); in AllocateDevice()
|
/haiku/src/add-ons/kernel/drivers/bus/usb/ |
H A D | usb_raw.cpp | 313 const usb_device_descriptor *deviceDescriptor = in usb_raw_ioctl() local 315 if (deviceDescriptor == NULL) in usb_raw_ioctl() 319 || user_memcpy(command.device.descriptor, deviceDescriptor, in usb_raw_ioctl()
|