Home
last modified time | relevance | path

Searched refs:is_otg (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/usb/chipidea/
H A Dcore.c540 if (ci->is_otg) { in ci_irq_handler()
639 if (ci->is_otg) { in ci_get_role()
850 if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV)) in ci_power_lost_work()
947 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()
954 ci->is_otg = false; in ci_get_otg_capable()
956 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()
959 if (ci->is_otg) { in ci_get_otg_capable()
1166 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
1231 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_probe()
1321 && ci->is_otg && in ci_extcon_wakeup_int()
[all …]
H A Ddebug.c31 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show()
274 if (ci->is_otg) { in ci_registers_show()
/linux/include/linux/usb/
H A Dgadget.h468 unsigned is_otg:1; member
631 return g->is_otg; in gadget_is_otg()
/linux/Documentation/ABI/stable/
H A Dsysfs-class-udc42 What: /sys/class/udc/<udc>/is_otg
/linux/drivers/usb/host/
H A Doxu210hp-hcd.c380 unsigned int is_otg:1; member
2944 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()
2945 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()
3070 if (oxu->is_otg) { in oxu_reset()
4130 oxu->is_otg = otg; in oxu_create()
/linux/drivers/usb/musb/
H A Dmusb_gadget.c1788 musb->g.is_otg = 0; in musb_gadget_setup()
2077 if (!musb->g.is_otg) { in musb_g_reset()
/linux/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c384 if (udc->gadget.is_otg) { in dr_controller_stop()
2472 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
H A Dcore.c1889 static USB_UDC_ATTR(is_otg);
H A Ddummy_hcd.c1097 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
H A Domap_udc.c2857 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()