Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dcore.c525 if (ci->is_otg) { in ci_irq_handler()
538 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler()
550 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler()
921 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()
928 ci->is_otg = false; in ci_get_otg_capable()
930 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()
933 if (ci->is_otg) { in ci_get_otg_capable()
1125 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
1144 if (ci->is_otg) { in ci_hdrc_probe()
1207 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_probe()
[all …]
Dci.h215 bool is_otg; member
442 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
Ddebug.c31 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show()
328 if (ci->is_otg) { in ci_registers_show()
Dotg.c133 if (!ci->is_otg) in ci_handle_vbus_change()
Dudc.c2066 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()
2068 ci->gadget.is_otg = 1; in udc_start()
2132 if (ci->is_otg) in udc_id_switch_for_device()
2146 if (ci->is_otg) in udc_id_switch_for_host()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dtrace.h29 __field(unsigned, is_otg)
50 __entry->is_otg = g->is_otg;
68 __entry->is_otg ? "OTG:" : "",
Dcore.c1606 static USB_UDC_ATTR(is_otg);
Dfsl_udc_core.c386 if (udc->gadget.is_otg) { in dr_controller_stop()
2487 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
Ds3c-hsudc.c1258 hsudc->gadget.is_otg = 0; in s3c_hsudc_probe()
Ddummy_hcd.c1059 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
Domap_udc.c2875 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()
/kernel/linux/linux-5.10/drivers/usb/musb/
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()
Dmusb_gadget.c1793 musb->g.is_otg = 0; in musb_gadget_setup()
2077 if (!musb->g.is_otg) { in musb_g_reset()
/kernel/linux/linux-5.10/include/linux/usb/
Dgadget.h419 unsigned is_otg:1; member
579 return g->is_otg; in gadget_is_otg()
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-udc42 What: /sys/class/udc/<udc>/is_otg
/kernel/linux/linux-5.10/drivers/usb/host/
Doxu210hp-hcd.c404 unsigned int is_otg:1; member
2967 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()
2968 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()
3093 if (oxu->is_otg) { in oxu_reset()
4153 oxu->is_otg = otg; in oxu_create()
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dgadget.rst468 - Gadget drivers test the ``is_otg`` flag, and use it to determine
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch3349 + if (ci->is_otg) {
3402 - if (ci->is_otg) {
4023 + if (ci->is_otg)
5610 + dwc->gadget->is_otg = (dwc->dr_mode == USB_DR_MODE_OTG) &&
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dgadget.c4933 hsotg->gadget.is_otg = 1; in dwc2_gadget_init()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch14566 if (!IS_ERR(cable_id->edev) && ci->is_otg &&
14571 if (!IS_ERR(cable_vbus->edev) && ci->is_otg &&