Searched refs:device_desc (Results 1 – 13 of 13) sorted by relevance
/drivers/usb/gadget/legacy/ |
D | ether.c | 146 static struct usb_device_descriptor device_desc = { variable 147 .bLength = sizeof device_desc, 325 device_desc.idVendor = cpu_to_le16(EEM_VENDOR_NUM); in eth_bind() 326 device_desc.idProduct = cpu_to_le16(EEM_PRODUCT_NUM); in eth_bind() 353 device_desc.idVendor = cpu_to_le16(SIMPLE_VENDOR_NUM); in eth_bind() 354 device_desc.idProduct = cpu_to_le16(SIMPLE_PRODUCT_NUM); in eth_bind() 356 device_desc.bDeviceClass = USB_CLASS_VENDOR_SPEC; in eth_bind() 387 device_desc.idVendor = cpu_to_le16(RNDIS_VENDOR_NUM); in eth_bind() 388 device_desc.idProduct = cpu_to_le16(RNDIS_PRODUCT_NUM); in eth_bind() 389 device_desc.bNumConfigurations = 2; in eth_bind() [all …]
|
D | serial.c | 62 static struct usb_device_descriptor device_desc = { variable 201 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in gs_bind() 202 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in gs_bind() 266 .dev = &device_desc, 294 device_desc.bDeviceClass = USB_CLASS_COMM; in gserial_init() 295 device_desc.idProduct = in gserial_init() 300 device_desc.bDeviceClass = USB_CLASS_COMM; in gserial_init() 301 device_desc.idProduct = in gserial_init() 306 device_desc.bDeviceClass = USB_CLASS_VENDOR_SPEC; in gserial_init() 307 device_desc.idProduct = in gserial_init()
|
D | printer.c | 67 static struct usb_device_descriptor device_desc = { variable 68 .bLength = sizeof device_desc, 170 device_desc.iManufacturer = strings[USB_GADGET_MANUFACTURER_IDX].id; in printer_bind() 171 device_desc.iProduct = strings[USB_GADGET_PRODUCT_IDX].id; in printer_bind() 172 device_desc.iSerialNumber = strings[USB_GADGET_SERIAL_IDX].id; in printer_bind() 215 .dev = &device_desc,
|
D | ncm.c | 44 static struct usb_device_descriptor device_desc = { variable 45 .bLength = sizeof device_desc, 152 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in gncm_bind() 153 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in gncm_bind() 200 .dev = &device_desc,
|
D | cdc2.c | 38 static struct usb_device_descriptor device_desc = { variable 39 .bLength = sizeof device_desc, 175 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in cdc_bind() 176 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in cdc_bind() 228 .dev = &device_desc,
|
D | acm_ms.c | 35 static struct usb_device_descriptor device_desc = { variable 36 .bLength = sizeof device_desc, 196 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in acm_ms_bind() 197 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in acm_ms_bind() 251 .dev = &device_desc,
|
D | gmidi.c | 76 static struct usb_device_descriptor device_desc = { variable 161 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in midi_bind() 162 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in midi_bind() 178 .dev = &device_desc,
|
D | hid.c | 42 static struct usb_device_descriptor device_desc = { variable 43 .bLength = sizeof device_desc, 170 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in hid_bind() 171 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in hid_bind() 261 .dev = &device_desc,
|
D | zero.c | 110 static struct usb_device_descriptor device_desc = { variable 111 .bLength = sizeof device_desc, 278 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in zero_bind() 279 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in zero_bind() 280 device_desc.iSerialNumber = strings_dev[USB_GADGET_SERIAL_IDX].id; in zero_bind() 416 .dev = &device_desc,
|
D | audio.c | 170 static struct usb_device_descriptor device_desc = { variable 171 .bLength = sizeof device_desc, 329 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in audio_bind() 330 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in audio_bind() 386 .dev = &device_desc,
|
D | dbgp.c | 36 static struct usb_device_descriptor device_desc = { variable 37 .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()
|
D | multi.c | 62 static struct usb_device_descriptor device_desc = { variable 63 .bLength = sizeof device_desc, 396 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in multi_bind() 485 .dev = &device_desc,
|
D | nokia.c | 85 static struct usb_device_descriptor device_desc = { variable 277 device_desc.iManufacturer = strings_dev[USB_GADGET_MANUFACTURER_IDX].id; in nokia_bind() 278 device_desc.iProduct = strings_dev[USB_GADGET_PRODUCT_IDX].id; in nokia_bind() 425 .dev = &device_desc,
|