Searched refs:is_otg (Results 1 – 20 of 20) sorted by relevance
29 __field(unsigned, is_otg)50 __entry->is_otg = g->is_otg;68 __entry->is_otg ? "OTG:" : "",
1531 static USB_UDC_ATTR(is_otg);
387 if (udc->gadget.is_otg) { in dr_controller_stop()2465 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
1307 hsudc->gadget.is_otg = 0; in s3c_hsudc_probe()
1054 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
2860 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()
548 if (ci->is_otg) { in ci_irq()561 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()573 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()818 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()825 ci->is_otg = false; in ci_get_otg_capable()827 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()830 if (ci->is_otg) { in ci_get_otg_capable()1004 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()1013 if (ci->is_otg) { in ci_hdrc_probe()1076 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_probe()
213 bool is_otg; member419 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
31 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show()328 if (ci->is_otg) { in ci_registers_show()
131 if (!ci->is_otg) in ci_handle_vbus_change()
1903 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()1905 ci->gadget.is_otg = 1; in udc_start()1968 if (ci->is_otg) in udc_id_switch_for_device()1982 if (ci->is_otg) in udc_id_switch_for_host()
65 if (musb->g.is_otg) { in service_tx_status_request()372 if (!musb->g.is_otg) in service_zero_data_request()378 if (!musb->g.is_otg) in service_zero_data_request()383 if (!musb->g.is_otg) in service_zero_data_request()
1802 musb->g.is_otg = 0; in musb_gadget_setup()2086 if (!musb->g.is_otg) { in musb_g_reset()
406 unsigned is_otg:1; member544 return g->is_otg; in gadget_is_otg()
42 What: /sys/class/udc/<udc>/is_otg
374 unsigned int is_otg:1; member
2530 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()2531 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()2659 if (oxu->is_otg) { in oxu_reset()3719 oxu->is_otg = otg; in oxu_create()
468 - Gadget drivers test the ``is_otg`` flag, and use it to determine
3194 dwc->gadget.is_otg = dwc->dr_mode == USB_DR_MODE_OTG; in dwc3_gadget_init()
4666 hsotg->gadget.is_otg = 1; in dwc2_gadget_init()