Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/musb/
H A Dtusb6010.c346 if (x->otg->default_a || mA < (musb->min_power << 1)) in tusb_draw_power()
574 otg->default_a = 1; in tusb_musb_set_vbus()
600 otg->default_a = 1; in tusb_musb_set_vbus()
604 otg->default_a = 0; in tusb_musb_set_vbus()
691 int default_a; in tusb_otg_ints() local
693 default_a = !(otg_stat & TUSB_DEV_OTG_STAT_ID_STATUS); in tusb_otg_ints()
694 dev_dbg(musb->controller, "Default-%c\n", default_a ? 'A' : 'B'); in tusb_otg_ints()
695 otg->default_a = default_a; in tusb_otg_ints()
696 tusb_musb_set_vbus(musb, default_a); in tusb_otg_ints()
699 if (default_a) in tusb_otg_ints()
[all …]
H A Dmpfs.c89 musb->xceiv->otg->default_a = 1; in mpfs_musb_set_vbus()
100 musb->xceiv->otg->default_a = 0; in mpfs_musb_set_vbus()
/openbmc/linux/drivers/usb/phy/
H A Dphy-ab8500-usb.c341 ab->phy.otg->default_a = false; in ab8505_usb_link_status_update()
382 ab->phy.otg->default_a = true; in ab8505_usb_link_status_update()
451 ab->phy.otg->default_a = false; in ab8500_usb_link_status_update()
492 ab->phy.otg->default_a = true; in ab8500_usb_link_status_update()
569 ab->phy.otg->default_a = false; in ab8500_usb_disconnect_irq()
584 ab->phy.otg->default_a = false; in ab8500_usb_disconnect_irq()
H A Dphy-mv-usb.c425 otg->default_a = 0; in mv_otg_work()
438 otg->default_a = 1; in mv_otg_work()
565 if (!mvotg->phy.otg->default_a) in a_clr_err_store()
601 if (!mvotg->phy.otg->default_a) in a_bus_drop_store()
H A 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()
/openbmc/linux/include/linux/usb/
H A Dotg.h17 u8 default_a; member
/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c308 otg->default_a = 1; in am35x_musb_interrupt()
315 otg->default_a = 0; in am35x_musb_interrupt()
H A Dmusb_dsps.c369 musb->xceiv->otg->default_a = 1; in dsps_interrupt()
375 musb->xceiv->otg->default_a = 0; in dsps_interrupt()
H A Dmusb_core.c2060 musb->xceiv->otg->default_a = 1; in musb_init_controller()
2077 musb->xceiv->otg->default_a = 0; in musb_init_controller()
/openbmc/linux/drivers/power/supply/
H A Disp1704_charger.c466 !isp->phy->otg->default_a) in isp1704_charger_probe()