Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Daudio.c152 int gcnum; in audio_bind() local
155 gcnum = usb_gadget_controller_number(cdev->gadget); in audio_bind()
156 if (gcnum >= 0) in audio_bind()
157 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in audio_bind()
Dncm.c152 int gcnum; in gncm_bind() local
161 gcnum = usb_gadget_controller_number(gadget); in gncm_bind()
162 if (gcnum >= 0) in gncm_bind()
163 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in gncm_bind()
Dgmidi.c144 int gcnum, status; in midi_bind() local
166 gcnum = usb_gadget_controller_number(gadget); in midi_bind()
167 if (gcnum < 0) { in midi_bind()
176 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in midi_bind()
Dcdc2.c155 int gcnum; in cdc_bind() local
175 gcnum = usb_gadget_controller_number(gadget); in cdc_bind()
176 if (gcnum >= 0) in cdc_bind()
177 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in cdc_bind()
Dacm_ms.c160 int gcnum; in acm_ms_bind() local
178 gcnum = usb_gadget_controller_number(gadget); in acm_ms_bind()
179 if (gcnum >= 0) { in acm_ms_bind()
180 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in acm_ms_bind()
Dserial.c165 int gcnum; in gs_bind() local
204 gcnum = usb_gadget_controller_number(gadget); in gs_bind()
205 if (gcnum >= 0) in gs_bind()
206 device_desc.bcdDevice = cpu_to_le16(GS_VERSION_NUM | gcnum); in gs_bind()
Dhid.c153 int status, gcnum, funcs = 0; in hid_bind() local
166 gcnum = usb_gadget_controller_number(gadget); in hid_bind()
167 if (gcnum >= 0) in hid_bind()
168 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in hid_bind()
Dether.c291 int gcnum; in eth_bind() local
326 gcnum = usb_gadget_controller_number(gadget); in eth_bind()
327 if (gcnum >= 0) in eth_bind()
328 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in eth_bind()
Dmulti.c263 int status, gcnum; in multi_bind() local
292 gcnum = usb_gadget_controller_number(gadget); in multi_bind()
293 if (gcnum >= 0) { in multi_bind()
294 device_desc.bcdDevice = cpu_to_le16(0x0300 | gcnum); in multi_bind()
Dzero.c260 int gcnum; in zero_bind() local
298 gcnum = usb_gadget_controller_number(gadget); in zero_bind()
299 if (gcnum >= 0) in zero_bind()
300 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in zero_bind()
Dnokia.c154 int gcnum; in nokia_bind() local
194 gcnum = usb_gadget_controller_number(gadget); in nokia_bind()
195 if (gcnum >= 0) in nokia_bind()
Dandroid.c1364 int gcnum, id, ret; in android_bind() local
1402 gcnum = usb_gadget_controller_number(gadget); in android_bind()
1403 if (gcnum >= 0) in android_bind()
1404 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in android_bind()
Dprinter.c1354 int gcnum; in printer_bind() local
1382 gcnum = usb_gadget_controller_number(gadget); in printer_bind()
1383 if (gcnum >= 0) { in printer_bind()
1384 device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); in printer_bind()
Dfile_storage.c3216 int gcnum; in check_parameters() local
3232 gcnum = usb_gadget_controller_number(fsg->gadget); in check_parameters()
3233 if (gcnum >= 0) in check_parameters()
3234 mod_data.release = 0x0300 + gcnum; in check_parameters()