Home
last modified time | relevance | path

Searched refs:device_desc (Results 1 – 15 of 15) sorted by relevance

/drivers/usb/gadget/
Dether.c159 static struct usb_device_descriptor device_desc = { variable
160 .bLength = sizeof device_desc,
304 device_desc.idVendor = cpu_to_le16(EEM_VENDOR_NUM); in eth_bind()
305 device_desc.idProduct = cpu_to_le16(EEM_PRODUCT_NUM); in eth_bind()
313 device_desc.idVendor = cpu_to_le16(SIMPLE_VENDOR_NUM); in eth_bind()
314 device_desc.idProduct = cpu_to_le16(SIMPLE_PRODUCT_NUM); in eth_bind()
316 device_desc.bDeviceClass = USB_CLASS_VENDOR_SPEC; in eth_bind()
321 device_desc.idVendor = cpu_to_le16(RNDIS_VENDOR_NUM); in eth_bind()
322 device_desc.idProduct = cpu_to_le16(RNDIS_PRODUCT_NUM); in eth_bind()
323 device_desc.bNumConfigurations = 2; in eth_bind()
[all …]
Dserial.c87 static struct usb_device_descriptor device_desc = { variable
186 device_desc.iManufacturer = status; in gs_bind()
193 device_desc.iProduct = status; in gs_bind()
206 device_desc.bcdDevice = cpu_to_le16(GS_VERSION_NUM | gcnum); in gs_bind()
217 device_desc.bcdDevice = in gs_bind()
243 .dev = &device_desc,
256 device_desc.bDeviceClass = USB_CLASS_COMM; in init()
257 device_desc.idProduct = in init()
262 device_desc.bDeviceClass = USB_CLASS_COMM; in init()
263 device_desc.idProduct = in init()
[all …]
Daudio.c77 static struct usb_device_descriptor device_desc = { variable
78 .bLength = sizeof device_desc,
157 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in audio_bind()
162 device_desc.bcdDevice = in audio_bind()
174 device_desc.iManufacturer = status; in audio_bind()
180 device_desc.iProduct = status; in audio_bind()
203 .dev = &device_desc,
Dncm.c61 static struct usb_device_descriptor device_desc = { variable
62 .bLength = sizeof device_desc,
163 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in gncm_bind()
173 device_desc.bcdDevice = in gncm_bind()
190 device_desc.iManufacturer = status; in gncm_bind()
196 device_desc.iProduct = status; in gncm_bind()
220 .dev = &device_desc,
Dcdc2.c57 static struct usb_device_descriptor device_desc = { variable
58 .bLength = sizeof device_desc,
177 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in cdc_bind()
186 device_desc.bcdDevice = in cdc_bind()
203 device_desc.iManufacturer = status; in cdc_bind()
209 device_desc.iProduct = status; in cdc_bind()
237 .dev = &device_desc,
Dacm_ms.c54 static struct usb_device_descriptor device_desc = { variable
55 .bLength = sizeof device_desc,
180 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in acm_ms_bind()
185 device_desc.bcdDevice = in acm_ms_bind()
202 device_desc.iManufacturer = status; in acm_ms_bind()
208 device_desc.iProduct = status; in acm_ms_bind()
237 .dev = &device_desc,
Dzero.c114 static struct usb_device_descriptor device_desc = { variable
115 .bLength = sizeof device_desc,
271 device_desc.iManufacturer = id; in zero_bind()
277 device_desc.iProduct = id; in zero_bind()
283 device_desc.iSerialNumber = id; in zero_bind()
300 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in zero_bind()
311 device_desc.bcdDevice = cpu_to_le16(0x9999); in zero_bind()
332 .dev = &device_desc,
Dhid.c54 static struct usb_device_descriptor device_desc = { variable
55 .bLength = sizeof device_desc,
168 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in hid_bind()
170 device_desc.bcdDevice = cpu_to_le16(0x0300 | 0x0099); in hid_bind()
185 device_desc.iManufacturer = status; in hid_bind()
191 device_desc.iProduct = status; in hid_bind()
247 .dev = &device_desc,
Dgmidi.c92 static struct usb_device_descriptor device_desc = { variable
150 device_desc.iManufacturer = status; in midi_bind()
156 device_desc.iProduct = status; in midi_bind()
174 device_desc.bcdDevice = cpu_to_le16(0x9999); in midi_bind()
176 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in midi_bind()
189 .dev = &device_desc,
Dnokia.c86 static struct usb_device_descriptor device_desc = { variable
175 device_desc.iManufacturer = status; in nokia_bind()
182 device_desc.iProduct = status; in nokia_bind()
196 device_desc.bcdDevice = cpu_to_le16(NOKIA_VERSION_NUM); in nokia_bind()
242 .dev = &device_desc,
Dmulti.c83 static struct usb_device_descriptor device_desc = { variable
84 .bLength = sizeof device_desc,
294 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in multi_bind()
297 device_desc.bcdDevice = cpu_to_le16(0x0300 | 0x0099); in multi_bind()
343 .dev = &device_desc,
Dandroid.c149 static struct usb_device_descriptor device_desc = { variable
150 .bLength = sizeof(device_desc),
1220 cdev->desc.idVendor = device_desc.idVendor; in enable_store()
1221 cdev->desc.idProduct = device_desc.idProduct; in enable_store()
1222 cdev->desc.bcdDevice = device_desc.bcdDevice; in enable_store()
1223 cdev->desc.bDeviceClass = device_desc.bDeviceClass; in enable_store()
1224 cdev->desc.bDeviceSubClass = device_desc.bDeviceSubClass; in enable_store()
1225 cdev->desc.bDeviceProtocol = device_desc.bDeviceProtocol; in enable_store()
1274 return sprintf(buf, format_string, device_desc.field); \
1282 device_desc.field = value; \
[all …]
Ddbgp.c40 static struct usb_device_descriptor device_desc = { variable
41 .bLength = sizeof device_desc,
365 len = sizeof device_desc; in dbgp_setup()
366 data = &device_desc; in dbgp_setup()
367 device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in dbgp_setup()
Dprinter.c215 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()
[all …]
Dfile_storage.c547 device_desc = { variable
548 .bLength = sizeof device_desc,
945 device_desc.bMaxPacketSize0 = fsg->ep0->maxpacket; in standard_setup_req()
946 value = sizeof device_desc; in standard_setup_req()
947 memcpy(req->buf, &device_desc, value); in standard_setup_req()
3327 device_desc.iSerialNumber = 0; in check_parameters()
3451 device_desc.idVendor = cpu_to_le16(mod_data.vendor); in fsg_bind()
3452 device_desc.idProduct = cpu_to_le16(mod_data.product); in fsg_bind()
3453 device_desc.bcdDevice = cpu_to_le16(mod_data.release); in fsg_bind()