Home
last modified time | relevance | path

Searched refs:unusual_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/usb/storage/
Dusb.c283 n = strlen(us->unusual_dev->vendorName); in fill_inquiry_response()
284 memcpy(data+8, us->unusual_dev->vendorName, min(8, n)); in fill_inquiry_response()
285 n = strlen(us->unusual_dev->productName); in fill_inquiry_response()
286 memcpy(data+16, us->unusual_dev->productName, min(16, n)); in fill_inquiry_response()
589 const struct us_unusual_dev *unusual_dev) in get_device_info() argument
597 us->unusual_dev = unusual_dev; in get_device_info()
598 us->subclass = (unusual_dev->useProtocol == USB_SC_DEVICE) ? in get_device_info()
600 unusual_dev->useProtocol; in get_device_info()
601 us->protocol = (unusual_dev->useTransport == USB_PR_DEVICE) ? in get_device_info()
603 unusual_dev->useTransport; in get_device_info()
[all …]
Dscsiglue.c531 else if (us->unusual_dev->vendorName) in show_info()
532 string = us->unusual_dev->vendorName; in show_info()
538 else if (us->unusual_dev->productName) in show_info()
539 string = us->unusual_dev->productName; in show_info()
Dusb.h96 const struct us_unusual_dev *unusual_dev; member
189 const struct us_unusual_dev *unusual_dev,