Lines Matching refs:udev
60 struct usb_device *udev = interface_to_usbdev(intf); in uas_use_uas_driver() local
61 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in uas_use_uas_driver()
98 if (le16_to_cpu(udev->descriptor.idVendor) == 0x174c && in uas_use_uas_driver()
99 (le16_to_cpu(udev->descriptor.idProduct) == 0x5106 || in uas_use_uas_driver()
100 le16_to_cpu(udev->descriptor.idProduct) == 0x55aa)) { in uas_use_uas_driver()
101 if (udev->actconfig->desc.bMaxPower == 0) { in uas_use_uas_driver()
103 } else if (udev->speed < USB_SPEED_SUPER) { in uas_use_uas_driver()
116 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2) in uas_use_uas_driver()
126 if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bda && in uas_use_uas_driver()
127 le16_to_cpu(udev->descriptor.idProduct) == 0x9210 && in uas_use_uas_driver()
128 (udev->manufacturer && !strcmp(udev->manufacturer, "HIKSEMI")) && in uas_use_uas_driver()
129 (udev->product && !strcmp(udev->product, "MD202"))) in uas_use_uas_driver()
132 usb_stor_adjust_quirks(udev, &flags); in uas_use_uas_driver()
135 dev_warn(&udev->dev, in uas_use_uas_driver()
140 if (udev->bus->sg_tablesize == 0) { in uas_use_uas_driver()
141 dev_warn(&udev->dev, in uas_use_uas_driver()
144 dev_warn(&udev->dev, in uas_use_uas_driver()
149 if (udev->speed >= USB_SPEED_SUPER && !hcd->can_do_streams) { in uas_use_uas_driver()
150 dev_warn(&udev->dev, in uas_use_uas_driver()
153 dev_warn(&udev->dev, in uas_use_uas_driver()