Lines Matching refs:device_desc
215 static struct usb_device_descriptor device_desc = { variable
216 .bLength = sizeof device_desc,
998 if (index >= device_desc.bNumConfigurations) in config_buf()
1136 device_desc.bMaxPacketSize0 = in printer_setup()
1138 value = min(wLength, (u16) sizeof device_desc); in printer_setup()
1139 memcpy(req->buf, &device_desc, value); in printer_setup()
1384 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in printer_bind()
1389 device_desc.bcdDevice = in printer_bind()
1396 device_desc.idVendor = in printer_bind()
1398 device_desc.idProduct = in printer_bind()
1407 device_desc.idVendor = cpu_to_le16(idVendor); in printer_bind()
1408 device_desc.idProduct = cpu_to_le16(idProduct); in printer_bind()
1410 device_desc.bcdDevice = cpu_to_le16(bcdDevice); in printer_bind()