Lines Matching refs:unusual_dev
283 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()
639 if (unusual_dev->useProtocol != USB_SC_DEVICE && in get_device_info()
642 if (unusual_dev->useTransport != USB_PR_DEVICE && in get_device_info()
786 if (us->unusual_dev->initFunction) { in usb_stor_acquire_resources()
787 p = us->unusual_dev->initFunction(us); in usb_stor_acquire_resources()
939 const struct us_unusual_dev *unusual_dev, in usb_stor_probe1() argument
977 result = get_device_info(us, id, unusual_dev); in usb_stor_probe1()
1098 const struct us_unusual_dev *unusual_dev; in storage_probe() local
1126 unusual_dev = (id - usb_storage_usb_ids) + us_unusual_dev_list; in storage_probe()
1128 unusual_dev = &for_dynamic_ids; in storage_probe()
1134 result = usb_stor_probe1(&us, intf, id, unusual_dev, in storage_probe()