Home
last modified time | relevance | path

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

/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
/drivers/phy/ti/
Dphy-tusb1210.c58 u8 otg_ctrl; member
154 tusb->otg_ctrl = reg; in tusb1210_set_mode()
328 tusb1210_ulpi_write(tusb, ULPI_OTG_CTRL, tusb->otg_ctrl); in tusb1210_chg_det_work()
441 ret = tusb1210_ulpi_read(tusb, ULPI_OTG_CTRL, &tusb->otg_ctrl); in tusb1210_probe_charger_detect()
/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()
/drivers/usb/isp1760/
Disp1760-core.c33 u32 otg_ctrl; in isp1760_init_core() local
89 otg_ctrl = (ISP176x_HW_DM_PULLDOWN_CLEAR | in isp1760_init_core()
93 otg_ctrl = (ISP176x_HW_SW_SEL_HC_DC_CLEAR | in isp1760_init_core()
97 isp1760_reg_write(hcd->regs, ISP176x_HC_OTG_CTRL, otg_ctrl); in isp1760_init_core()