Searched refs:otg_ctrl (Results 1 – 4 of 4) sorted by relevance
89 otg_ctrl.timer[A_WAIT_BCON_TIMER]); in mv_otg_timer_await_bcon()91 mvotg->otg_ctrl.a_wait_bcon_timeout = 1; in mv_otg_timer_await_bcon()108 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_cancel_timer()124 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_set_timer()292 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_inputs() local299 otg_ctrl->b_sess_vld = 1; in mv_otg_update_inputs()300 otg_ctrl->b_sess_end = 0; in mv_otg_update_inputs()302 otg_ctrl->b_sess_vld = 0; in mv_otg_update_inputs()303 otg_ctrl->b_sess_end = 1; in mv_otg_update_inputs()306 otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID); in mv_otg_update_inputs()[all …]
480 u32 otg_ctrl; in update_otg1() local482 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 …]
136 struct mv_otg_ctrl otg_ctrl; member
109 u8 otg_ctrl; in isp1704_charger_type() local113 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); in isp1704_charger_type()136 isp1704_write(isp, ULPI_OTG_CTRL, otg_ctrl); in isp1704_charger_type()