Searched refs:is_otg (Results 1 – 16 of 16) sorted by relevance
520 if (ci->is_otg) { in ci_irq()533 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()545 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()659 if (ci->is_otg) in ci_role_destroy()666 ci->is_otg = false; in ci_get_otg_capable()668 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()671 if (ci->is_otg) { in ci_get_otg_capable()774 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()783 if (ci->is_otg) { in ci_hdrc_probe()
208 bool is_otg; member409 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
61 if (!ci->is_otg) in ci_handle_vbus_change()
30 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show()362 if (ci->is_otg) { in ci_registers_show()
1858 ci->gadget.is_otg = ci->is_otg ? 1 : 0; in udc_start()1922 if (ci->is_otg) in udc_id_switch_for_device()1936 if (ci->is_otg) in udc_id_switch_for_host()
90 if (musb->g.is_otg) { in service_tx_status_request()393 if (!musb->g.is_otg) in service_zero_data_request()399 if (!musb->g.is_otg) in service_zero_data_request()404 if (!musb->g.is_otg) in service_zero_data_request()
1797 musb->g.is_otg = 1; in musb_gadget_setup()1799 musb->g.is_otg = 0; in musb_gadget_setup()2078 if (!musb->g.is_otg) { in musb_g_reset()
564 unsigned is_otg:1; member633 return g->is_otg; in gadget_is_otg()
42 What: /sys/class/udc/<udc>/is_otg
373 unsigned int is_otg:1; member
2552 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()2553 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()2682 if (oxu->is_otg) { in oxu_reset()3746 oxu->is_otg = otg; in oxu_create()
579 static USB_UDC_ATTR(is_otg);
390 if (udc->gadget.is_otg) { in dr_controller_stop()2464 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
1295 hsudc->gadget.is_otg = 0; in s3c_hsudc_probe()
961 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
2857 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()