Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/chipidea/
H A Dcore.c539 if (ci->is_otg) { in ci_irq_handler()
652 if (ci->is_otg) { in ci_get_role()
872 if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV)) in ci_power_lost_work()
967 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()
974 ci->is_otg = false; in ci_get_otg_capable()
976 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()
979 if (ci->is_otg) { in ci_get_otg_capable()
1183 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
1247 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_probe()
1336 && ci->is_otg && in ci_extcon_wakeup_int()
[all …]
H A Dci.h221 bool is_otg; member
464 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
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()
H A Dotg.c133 if (!ci->is_otg) { in ci_handle_vbus_change()
H A Dudc.c2104 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()
2106 ci->gadget.is_otg = 1; in udc_start()
2170 if (ci->is_otg) in udc_id_switch_for_device()
2184 if (ci->is_otg) in udc_id_switch_for_host()
2209 if (ci->is_otg) in udc_resume()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtrace.h29 __field(unsigned, is_otg)
50 __entry->is_otg = g->is_otg;
68 __entry->is_otg ? "OTG:" : "",
H A Dfsl_udc_core.c382 if (udc->gadget.is_otg) { in dr_controller_stop()
2472 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
H A Dcore.c1811 static USB_UDC_ATTR(is_otg);
H A Ddummy_hcd.c1071 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
H A Domap_udc.c2864 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()
/openbmc/u-boot/include/linux/usb/
H A Dgadget.h507 unsigned is_otg:1; member
563 return g->is_otg; in gadget_is_otg()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c71 if (musb->g.is_otg) { in service_tx_status_request()
374 if (!musb->g.is_otg) in service_zero_data_request()
380 if (!musb->g.is_otg) in service_zero_data_request()
385 if (!musb->g.is_otg) in service_zero_data_request()
H A Dmusb_gadget.c1918 musb->g.is_otg = 1; in musb_gadget_setup()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget_ep0.c65 if (musb->g.is_otg) { in service_tx_status_request()
368 if (!musb->g.is_otg) in service_zero_data_request()
374 if (!musb->g.is_otg) in service_zero_data_request()
379 if (!musb->g.is_otg) in service_zero_data_request()
H A Dmusb_gadget.c1795 musb->g.is_otg = 0; in musb_gadget_setup()
2084 if (!musb->g.is_otg) { in musb_g_reset()
/openbmc/linux/include/linux/usb/
H A Dgadget.h436 unsigned is_otg:1; member
599 return g->is_otg; in gadget_is_otg()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-class-udc42 What: /sys/class/udc/<udc>/is_otg
/openbmc/linux/drivers/usb/host/
H A Doxu210hp-hcd.c404 unsigned int is_otg:1; member
2968 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()
2969 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()
3094 if (oxu->is_otg) { in oxu_reset()
4154 oxu->is_otg = otg; in oxu_create()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg.c824 dev->gadget.is_otg = 0; in dwc2_udc_probe()
H A Dfotg210.c780 .is_otg = 0,
H A Dether.c878 config_buf(struct usb_gadget *g, u8 *buf, u8 type, unsigned index, int is_otg) in config_buf() argument
911 if (!is_otg) in config_buf()
/openbmc/linux/Documentation/driver-api/usb/
H A Dgadget.rst468 - Gadget drivers test the ``is_otg`` flag, and use it to determine
/openbmc/linux/drivers/usb/dwc2/
H A Dgadget.c5007 hsotg->gadget.is_otg = 1; in dwc2_gadget_init()