Searched refs:is_otg (Results 1 – 17 of 17) sorted by relevance
532 if (ci->is_otg) { in ci_irq()545 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()557 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()842 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()849 ci->is_otg = false; in ci_get_otg_capable()851 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()854 if (ci->is_otg) { in ci_get_otg_capable()966 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()975 if (ci->is_otg) { in ci_hdrc_probe()1035 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_probe()
210 bool is_otg; member413 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
30 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show()371 if (ci->is_otg) { in ci_registers_show()
134 if (!ci->is_otg) in ci_handle_vbus_change()
1898 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()1900 ci->gadget.is_otg = 1; in udc_start()1963 if (ci->is_otg) in udc_id_switch_for_device()1977 if (ci->is_otg) in udc_id_switch_for_host()
40 __field(unsigned, is_otg)61 __entry->is_otg = g->is_otg;79 __entry->is_otg ? "OTG:" : "",
1469 static USB_UDC_ATTR(is_otg);
390 if (udc->gadget.is_otg) { in dr_controller_stop()2483 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
1310 hsudc->gadget.is_otg = 0; in s3c_hsudc_probe()
1048 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
2879 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()
90 if (musb->g.is_otg) { in service_tx_status_request()397 if (!musb->g.is_otg) in service_zero_data_request()403 if (!musb->g.is_otg) in service_zero_data_request()408 if (!musb->g.is_otg) in service_zero_data_request()
1873 musb->g.is_otg = 1; in musb_gadget_setup()1875 musb->g.is_otg = 0; in musb_gadget_setup()2160 if (!musb->g.is_otg) { in musb_g_reset()
373 unsigned int is_otg:1; member
2545 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()2546 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()2674 if (oxu->is_otg) { in oxu_reset()3734 oxu->is_otg = otg; in oxu_create()
3003 dwc->gadget.is_otg = dwc->dr_mode == USB_DR_MODE_OTG; in dwc3_gadget_init()
3892 hsotg->gadget.is_otg = 1; in dwc2_gadget_init()