Searched refs:gcnum (Results 1 – 14 of 14) sorted by relevance
152 int gcnum; in audio_bind() local155 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()
152 int gcnum; in gncm_bind() local161 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()
144 int gcnum, status; in midi_bind() local166 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()
155 int gcnum; in cdc_bind() local175 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()
160 int gcnum; in acm_ms_bind() local178 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()
165 int gcnum; in gs_bind() local204 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()
153 int status, gcnum, funcs = 0; in hid_bind() local166 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()
291 int gcnum; in eth_bind() local326 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()
263 int status, gcnum; in multi_bind() local292 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()
260 int gcnum; in zero_bind() local298 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()
154 int gcnum; in nokia_bind() local194 gcnum = usb_gadget_controller_number(gadget); in nokia_bind()195 if (gcnum >= 0) in nokia_bind()
1364 int gcnum, id, ret; in android_bind() local1402 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()
1354 int gcnum; in printer_bind() local1382 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()
3216 int gcnum; in check_parameters() local3232 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()