Home
last modified time | relevance | path

Searched refs:gadget_is_otg (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/legacy/
Dncm.c103 if (gadget_is_otg(c->cdev->gadget)) { in ncm_do_config()
161 if (gadget_is_otg(gadget) && !otg_desc[0]) { in gncm_bind()
Dether.c218 if (gadget_is_otg(c->cdev->gadget)) { in rndis_do_config()
260 if (gadget_is_otg(c->cdev->gadget)) { in eth_do_config()
406 if (gadget_is_otg(gadget) && !otg_desc[0]) { in eth_bind()
Dprinter.c127 if (gadget_is_otg(gadget)) { in printer_do_config()
172 if (gadget_is_otg(cdev->gadget) && !otg_desc[0]) { in printer_bind()
Dcdc2.c97 if (gadget_is_otg(c->cdev->gadget)) { in cdc_do_config()
182 if (gadget_is_otg(gadget) && !otg_desc[0]) { in cdc_bind()
Dacm_ms.c115 if (gadget_is_otg(c->cdev->gadget)) { in acm_ms_do_config()
206 if (gadget_is_otg(gadget) && !otg_desc[0]) { in acm_ms_bind()
Dmass_storage.c124 if (gadget_is_otg(c->cdev->gadget)) { in msg_do_config()
195 if (gadget_is_otg(cdev->gadget) && !otg_desc[0]) { in msg_bind()
Dmulti.c142 if (gadget_is_otg(c->cdev->gadget)) { in rndis_do_config()
224 if (gadget_is_otg(c->cdev->gadget)) { in cdc_do_config()
402 if (gadget_is_otg(gadget) && !otg_desc[0]) { in multi_bind()
Dhid.c99 if (gadget_is_otg(c->cdev->gadget)) { in do_config()
174 if (gadget_is_otg(gadget) && !otg_desc[0]) { in hid_bind()
Daudio.c162 if (gadget_is_otg(c->cdev->gadget)) { in audio_do_config()
248 if (gadget_is_otg(cdev->gadget) && !otg_desc[0]) { in audio_bind()
Dg_ffs.c401 if (gadget_is_otg(cdev->gadget) && !gfs_otg_desc[0]) { in gfs_bind()
495 if (gadget_is_otg(c->cdev->gadget)) { in gfs_do_config()
Dserial.c179 if (gadget_is_otg(cdev->gadget)) { in gs_bind()
Dzero.c326 if (gadget_is_otg(cdev->gadget)) { in zero_bind()
/linux-4.4.14/include/linux/usb/
Dgadget.h735 static inline int gadget_is_otg(struct usb_gadget *g) in gadget_is_otg() function
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c644 unsigned power = gadget_is_otg(gadget) ? 8 : 100; in set_config()
1545 if (gadget_is_otg(gadget)) { in composite_setup()
1577 if (gadget_is_otg(gadget)) { in composite_setup()
Dconfigfs.c1309 if (gadget_is_otg(gadget) && !otg_desc[0]) { in configfs_composite_bind()
1329 if (gadget_is_otg(gadget)) in configfs_composite_bind()
/linux-4.4.14/drivers/usb/gadget/udc/
Domap_udc.c1200 if (!gadget_is_otg(&udc->gadget) && !cpu_is_omap15xx()) { in pullup_enable()
1214 if (!gadget_is_otg(&udc->gadget) && !cpu_is_omap15xx()) { in pullup_disable()
1368 if (!gadget_is_otg(&udc->gadget)) in update_otg()
Dfsl_udc_core.c1450 else if (gadget_is_otg(&udc->gadget)) { in setup_received_irq()