Searched refs:gcnum (Results 1 – 8 of 8) sorted by relevance
164 int gcnum; in cdc_bind() local184 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()
217 int gcnum; in zero_bind() local255 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()
279 int gcnum; in eth_bind() local308 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()
166 int gcnum; in gs_bind() local205 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()
149 int gcnum; in android_bind() local183 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()
1169 int gcnum, err = 0; in gmidi_bind() local1220 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()
1367 int gcnum; in printer_bind() local1401 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()
3874 int gcnum; in check_parameters() local3892 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()