Searched refs:is_otg (Results 1 – 17 of 17) sorted by relevance
540 if (ci->is_otg) { in ci_irq_handler()553 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler()565 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler()653 if (ci->is_otg) { in ci_get_role()873 if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV)) in ci_power_lost_work()970 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()977 ci->is_otg = false; in ci_get_otg_capable()979 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()982 if (ci->is_otg) { in ci_get_otg_capable()1188 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()[all …]
222 bool is_otg; member466 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()274 if (ci->is_otg) { in ci_registers_show()
133 if (!ci->is_otg) { in ci_handle_vbus_change()
2289 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()2291 ci->gadget.is_otg = 1; in udc_start()2355 if (ci->is_otg) in udc_id_switch_for_device()2369 if (ci->is_otg) in udc_id_switch_for_host()2398 if (ci->is_otg) in udc_resume()
29 __field(unsigned, is_otg)50 __entry->is_otg = g->is_otg;68 __entry->is_otg ? "OTG:" : "",
384 if (udc->gadget.is_otg) { in dr_controller_stop()2481 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
1856 static USB_UDC_ATTR(is_otg);
1079 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
2861 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()
65 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()
1788 musb->g.is_otg = 0; in musb_gadget_setup()2077 if (!musb->g.is_otg) { in musb_g_reset()
468 unsigned is_otg:1; member631 return g->is_otg; in gadget_is_otg()
42 What: /sys/class/udc/<udc>/is_otg
380 unsigned int is_otg:1; member2944 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()
468 - Gadget drivers test the ``is_otg`` flag, and use it to determine
5019 hsotg->gadget.is_otg = 1; in dwc2_gadget_init()