Home
last modified time | relevance | path

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

/drivers/usb/chipidea/
Dcore.c417 if (ci->is_otg) { in ci_irq()
430 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()
442 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()
556 if (ci->is_otg) in ci_role_destroy()
563 ci->is_otg = false; in ci_get_otg_capable()
565 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()
568 if (ci->is_otg) in ci_get_otg_capable()
672 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
684 if (ci->is_otg) { in ci_hdrc_probe()
Dci.h179 bool is_otg; member
340 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
Dotg.c61 if (!ci->is_otg) in ci_handle_vbus_change()
Ddebug.c30 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show()
365 if (ci->is_otg) { in ci_registers_show()
Dudc.c1804 ci->gadget.is_otg = ci->is_otg ? 1 : 0; in udc_start()
1868 if (ci->is_otg) in udc_id_switch_for_device()
1882 if (ci->is_otg) in udc_id_switch_for_host()
/drivers/usb/musb/
Dmusb_gadget_ep0.c90 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()
Dmusb_gadget.c1800 musb->g.is_otg = 1; in musb_gadget_setup()
1802 musb->g.is_otg = 0; in musb_gadget_setup()
2122 if (!musb->g.is_otg) { in musb_g_reset()
/drivers/usb/host/
Doxu210hp.h373 unsigned int is_otg:1; member
Doxu210hp-hcd.c2552 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq()
2553 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq()
2684 if (oxu->is_otg) { in oxu_reset()
3748 oxu->is_otg = otg; in oxu_create()
/drivers/usb/gadget/udc/
Dudc-core.c565 static USB_UDC_ATTR(is_otg);
Dfsl_udc_core.c390 if (udc->gadget.is_otg) { in dr_controller_stop()
2462 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
Ds3c-hsudc.c1305 hsudc->gadget.is_otg = 0; in s3c_hsudc_probe()
Ddummy_hcd.c967 dum->gadget.is_otg = 1; in init_dummy_udc_hw()
Domap_udc.c2858 udc->gadget.is_otg = (config->otg != 0); in omap_udc_probe()