Lines Matching refs:device_desc
340 device_desc = { variable
341 .bLength = sizeof device_desc,
900 if (index >= device_desc.bNumConfigurations) in config_buf()
908 if (device_desc.bNumConfigurations == 2 && index == 0) { in config_buf()
1276 device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in eth_setup()
1277 value = min(wLength, (u16) sizeof device_desc); in eth_setup()
1278 memcpy(req->buf, &device_desc, value); in eth_setup()
2056 device_desc.bcdDevice = cpu_to_le16(0x0300 + gcnum); in eth_bind()
2077 device_desc.idVendor = in eth_bind()
2079 device_desc.idProduct = in eth_bind()
2082 device_desc.idVendor = in eth_bind()
2084 device_desc.idProduct = in eth_bind()
2096 device_desc.idVendor = cpu_to_le16(CONFIG_USB_GADGET_VENDOR_NUM); in eth_bind()
2097 device_desc.idProduct = cpu_to_le16(CONFIG_USB_GADGET_PRODUCT_NUM); in eth_bind()
2100 device_desc.idVendor = in eth_bind()
2102 device_desc.idProduct = in eth_bind()
2109 device_desc.bcdDevice = cpu_to_le16(bcdDevice); in eth_bind()
2115 device_desc.iSerialNumber = STRING_SERIALNUMBER, in eth_bind()
2173 device_desc.bNumConfigurations = 2; in eth_bind()
2182 dev_qualifier.bMaxPacketSize0 = device_desc.bMaxPacketSize0; in eth_bind()