Home
last modified time | relevance | path

Searched refs:default_a (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/usb/musb/
Dtusb6010.c340 if (x->otg->default_a || mA < (musb->min_power << 1)) in tusb_draw_power()
567 otg->default_a = 1; in tusb_musb_set_vbus()
593 otg->default_a = 1; in tusb_musb_set_vbus()
597 otg->default_a = 0; in tusb_musb_set_vbus()
684 int default_a; in tusb_otg_ints() local
686 default_a = !(otg_stat & TUSB_DEV_OTG_STAT_ID_STATUS); in tusb_otg_ints()
687 dev_dbg(musb->controller, "Default-%c\n", default_a ? 'A' : 'B'); in tusb_otg_ints()
688 otg->default_a = default_a; in tusb_otg_ints()
689 tusb_musb_set_vbus(musb, default_a); in tusb_otg_ints()
692 if (default_a) in tusb_otg_ints()
[all …]
/Linux-v5.4/drivers/usb/phy/
Dphy-ab8500-usb.c340 ab->phy.otg->default_a = false; in ab8505_usb_link_status_update()
381 ab->phy.otg->default_a = true; in ab8505_usb_link_status_update()
432 ab->phy.otg->default_a = false; in ab8500_usb_link_status_update()
473 ab->phy.otg->default_a = true; in ab8500_usb_link_status_update()
550 ab->phy.otg->default_a = false; in ab8500_usb_disconnect_irq()
565 ab->phy.otg->default_a = false; in ab8500_usb_disconnect_irq()
Dphy-isp1301-omap.c332 isp->phy.otg->default_a = 1; in a_idle()
356 isp->phy.otg->default_a = 0; in b_idle()
944 if (otg->default_a) { in isp_update_otg()
993 if (otg->default_a) { in isp_update_otg()
1328 if (!otg->default_a) in isp1301_set_peripheral()
1433 if (otg->default_a && (otg->host == NULL || !otg->host->b_hnp_enable)) in isp1301_start_hnp()
1435 if (!otg->default_a && (otg->gadget == NULL in isp1301_start_hnp()
Dphy-mv-usb.c427 otg->default_a = 0; in mv_otg_work()
440 otg->default_a = 1; in mv_otg_work()
567 if (!mvotg->phy.otg->default_a) in a_clr_err_store()
603 if (!mvotg->phy.otg->default_a) in a_bus_drop_store()
Dphy-fsl-usb.c614 if (!otg->default_a) in fsl_otg_set_peripheral()
720 otg->default_a = (fsm->id == 0); in fsl_otg_isr()
726 otg->default_a = (fsm->id == 0); in fsl_otg_isr()
/Linux-v5.4/include/linux/usb/
Dotg.h17 u8 default_a; member
/Linux-v5.4/drivers/power/supply/
Disp1704_charger.c466 !isp->phy->otg->default_a) in isp1704_charger_probe()