Searched refs:unusual_dev (Results 1 – 3 of 3) sorted by relevance
365 n = strlen(us->unusual_dev->vendorName); in fill_inquiry_response()366 memcpy(data+8, us->unusual_dev->vendorName, min(8, n)); in fill_inquiry_response()367 n = strlen(us->unusual_dev->productName); in fill_inquiry_response()368 memcpy(data+16, us->unusual_dev->productName, min(16, n)); in fill_inquiry_response()671 const struct us_unusual_dev *unusual_dev) in get_device_info() argument679 us->unusual_dev = unusual_dev; in get_device_info()680 us->subclass = (unusual_dev->useProtocol == USB_SC_DEVICE) ? in get_device_info()682 unusual_dev->useProtocol; in get_device_info()683 us->protocol = (unusual_dev->useTransport == USB_PR_DEVICE) ? in get_device_info()685 unusual_dev->useTransport; in get_device_info()[all …]
538 else if (us->unusual_dev->vendorName) in show_info()539 string = us->unusual_dev->vendorName; in show_info()545 else if (us->unusual_dev->productName) in show_info()546 string = us->unusual_dev->productName; in show_info()
96 const struct us_unusual_dev *unusual_dev; member189 const struct us_unusual_dev *unusual_dev,