Home
last modified time | relevance | path

Searched refs:gcnum (Results 1 – 8 of 8) sorted by relevance

/drivers/usb/gadget/
Dcdc2.c164 int gcnum; in cdc_bind() local
184 gcnum = usb_gadget_controller_number(gadget); in cdc_bind()
185 if (gcnum >= 0) in cdc_bind()
186 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in cdc_bind()
Dzero.c217 int gcnum; in zero_bind() local
255 gcnum = usb_gadget_controller_number(gadget); in zero_bind()
256 if (gcnum >= 0) in zero_bind()
257 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in zero_bind()
Dether.c279 int gcnum; in eth_bind() local
308 gcnum = usb_gadget_controller_number(gadget); in eth_bind()
309 if (gcnum >= 0) in eth_bind()
310 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in eth_bind()
Dserial.c166 int gcnum; in gs_bind() local
205 gcnum = usb_gadget_controller_number(gadget); in gs_bind()
206 if (gcnum >= 0) in gs_bind()
207 device_desc.bcdDevice = cpu_to_le16(GS_VERSION_NUM | gcnum); in gs_bind()
Dandroid.c149 int gcnum; in android_bind() local
183 gcnum = usb_gadget_controller_number(gadget); in android_bind()
184 if (gcnum >= 0) in android_bind()
185 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in android_bind()
Dgmidi.c1169 int gcnum, err = 0; in gmidi_bind() local
1220 gcnum = usb_gadget_controller_number(gadget); in gmidi_bind()
1221 if (gcnum >= 0) { in gmidi_bind()
1222 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in gmidi_bind()
Dprinter.c1367 int gcnum; in printer_bind() local
1401 gcnum = usb_gadget_controller_number(gadget); in printer_bind()
1402 if (gcnum >= 0) { in printer_bind()
1403 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in printer_bind()
Dfile_storage.c3874 int gcnum; in check_parameters() local
3892 gcnum = -1; in check_parameters()
3894 gcnum = usb_gadget_controller_number(fsg->gadget); in check_parameters()
3895 if (gcnum >= 0) in check_parameters()
3896 mod_data.release = 0x0300 + gcnum; in check_parameters()