Searched refs:gadget_is_otg (Results 1 – 14 of 14) sorted by relevance
99 if (gadget_is_otg(c->cdev->gadget)) { in ncm_do_config()155 if (gadget_is_otg(gadget) && !otg_desc[0]) { in gncm_bind()
214 if (gadget_is_otg(c->cdev->gadget)) { in rndis_do_config()256 if (gadget_is_otg(c->cdev->gadget)) { in eth_do_config()402 if (gadget_is_otg(gadget) && !otg_desc[0]) { in eth_bind()
123 if (gadget_is_otg(gadget)) { in printer_do_config()174 if (gadget_is_otg(cdev->gadget) && !otg_desc[0]) { in printer_bind()
110 if (gadget_is_otg(c->cdev->gadget)) { in msg_do_config()174 if (gadget_is_otg(cdev->gadget) && !otg_desc[0]) { in msg_bind()
93 if (gadget_is_otg(c->cdev->gadget)) { in cdc_do_config()178 if (gadget_is_otg(gadget) && !otg_desc[0]) { in cdc_bind()
138 if (gadget_is_otg(c->cdev->gadget)) { in rndis_do_config()220 if (gadget_is_otg(c->cdev->gadget)) { in cdc_do_config()398 if (gadget_is_otg(gadget) && !otg_desc[0]) { in multi_bind()
110 if (gadget_is_otg(c->cdev->gadget)) { in acm_ms_do_config()199 if (gadget_is_otg(gadget) && !otg_desc[0]) { in acm_ms_bind()
210 if (gadget_is_otg(c->cdev->gadget)) { in audio_do_config()332 if (gadget_is_otg(cdev->gadget) && !otg_desc[0]) { in audio_bind()
388 if (gadget_is_otg(cdev->gadget) && !gfs_otg_desc[0]) { in gfs_bind()481 if (gadget_is_otg(c->cdev->gadget)) { in gfs_do_config()
207 if (gadget_is_otg(cdev->gadget)) { in gs_bind()
336 if (gadget_is_otg(cdev->gadget)) { in zero_bind()
953 unsigned power = gadget_is_otg(gadget) ? 8 : 100; in set_config()1883 if (gadget_is_otg(gadget)) { in composite_setup()1915 if (gadget_is_otg(gadget)) { in composite_setup()1983 if (gadget_is_otg(gadget) && gadget->hnp_polling_support && in composite_setup()
1751 if (gadget_is_otg(gadget) && !otg_desc[0]) { in configfs_composite_bind()1771 if (gadget_is_otg(gadget)) in configfs_composite_bind()
598 static inline int gadget_is_otg(struct usb_gadget *g) in gadget_is_otg() function