Home
last modified time | relevance | path

Searched refs:otg_ctrl (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-mv-usb.c90 otg_ctrl.timer[A_WAIT_BCON_TIMER]); in mv_otg_timer_await_bcon()
92 mvotg->otg_ctrl.a_wait_bcon_timeout = 1; in mv_otg_timer_await_bcon()
109 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_cancel_timer()
125 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_set_timer()
290 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_inputs() local
297 otg_ctrl->b_sess_vld = 1; in mv_otg_update_inputs()
298 otg_ctrl->b_sess_end = 0; in mv_otg_update_inputs()
300 otg_ctrl->b_sess_vld = 0; in mv_otg_update_inputs()
301 otg_ctrl->b_sess_end = 1; in mv_otg_update_inputs()
304 otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID); in mv_otg_update_inputs()
[all …]
Dphy-isp1301-omap.c480 u32 otg_ctrl; in update_otg1() local
482 otg_ctrl = omap_readl(OTG_CTRL) & OTG_CTRL_MASK; in update_otg1()
483 otg_ctrl &= ~OTG_XCEIV_INPUTS; in update_otg1()
484 otg_ctrl &= ~(OTG_ID|OTG_ASESSVLD|OTG_VBUSVLD); in update_otg1()
487 otg_ctrl |= OTG_ASESSVLD; in update_otg1()
490 otg_ctrl &= ~OTG_CTRL_BITS; in update_otg1()
493 otg_ctrl |= OTG_VBUSVLD; in update_otg1()
502 otg_ctrl |= OTG_ID; in update_otg1()
509 omap_writel(otg_ctrl, OTG_CTRL); in update_otg1()
515 u32 otg_ctrl; in update_otg2() local
[all …]
Dphy-mv-usb.h136 struct mv_otg_ctrl otg_ctrl; member
/kernel/linux/linux-5.10/drivers/power/supply/
Disp1704_charger.c87 u8 otg_ctrl; in isp1704_charger_type() local
91 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); in isp1704_charger_type()
114 isp1704_write(isp, ULPI_OTG_CTRL, otg_ctrl); in isp1704_charger_type()