Searched refs:unusual_dev (Results 1 – 3 of 3) sorted by relevance
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() argument597 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 …]
544 else if (us->unusual_dev->vendorName) in show_info()545 string = us->unusual_dev->vendorName; in show_info()551 else if (us->unusual_dev->productName) in show_info()552 string = us->unusual_dev->productName; in show_info()
96 const struct us_unusual_dev *unusual_dev; member189 const struct us_unusual_dev *unusual_dev,