Lines Matching refs:descr
24 #define copy_descr_attr16(dev, descr, attr) \ argument
25 ((dev)->attr = le16toh((descr)->attr)) \
27 #define copy_descr_attr(dev, descr, attr) \ argument
28 ((dev)->attr = (descr)->attr) \
67 struct usb_device_descriptor descr; in read_usb_vudc_device() local
81 ret = fread((char *) &descr, sizeof(descr), 1, fd); in read_usb_vudc_device()
88 copy_descr_attr(dev, &descr, bDeviceClass); in read_usb_vudc_device()
89 copy_descr_attr(dev, &descr, bDeviceSubClass); in read_usb_vudc_device()
90 copy_descr_attr(dev, &descr, bDeviceProtocol); in read_usb_vudc_device()
91 copy_descr_attr(dev, &descr, bNumConfigurations); in read_usb_vudc_device()
92 copy_descr_attr16(dev, &descr, idVendor); in read_usb_vudc_device()
93 copy_descr_attr16(dev, &descr, idProduct); in read_usb_vudc_device()
94 copy_descr_attr16(dev, &descr, bcdDevice); in read_usb_vudc_device()