Searched refs:otg_ctrl (Results 1 – 4 of 4) sorted by relevance
96 mvotg->otg_ctrl.a_wait_bcon_timeout = 1; in mv_otg_timer_await_bcon()113 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_cancel_timer()130 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_set_timer()301 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_inputs() local308 otg_ctrl->b_sess_vld = 1; in mv_otg_update_inputs()309 otg_ctrl->b_sess_end = 0; in mv_otg_update_inputs()311 otg_ctrl->b_sess_vld = 0; in mv_otg_update_inputs()312 otg_ctrl->b_sess_end = 1; in mv_otg_update_inputs()315 otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID); in mv_otg_update_inputs()316 otg_ctrl->b_sess_end = !!(otgsc & OTGSC_STS_B_SESSION_END); in mv_otg_update_inputs()[all …]
493 u32 otg_ctrl; in update_otg1() local495 otg_ctrl = omap_readl(OTG_CTRL) & OTG_CTRL_MASK; in update_otg1()496 otg_ctrl &= ~OTG_XCEIV_INPUTS; in update_otg1()497 otg_ctrl &= ~(OTG_ID|OTG_ASESSVLD|OTG_VBUSVLD); in update_otg1()500 otg_ctrl |= OTG_ASESSVLD; in update_otg1()503 otg_ctrl &= ~OTG_CTRL_BITS; in update_otg1()506 otg_ctrl |= OTG_VBUSVLD; in update_otg1()515 otg_ctrl |= OTG_ID; in update_otg1()522 omap_writel(otg_ctrl, OTG_CTRL); in update_otg1()528 u32 otg_ctrl; in update_otg2() local[all …]
140 struct mv_otg_ctrl otg_ctrl; member
108 u8 otg_ctrl; in isp1704_charger_type() local112 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); in isp1704_charger_type()135 isp1704_write(isp, ULPI_OTG_CTRL, otg_ctrl); in isp1704_charger_type()