Lines Matching refs:oh
31 int omap2_wd_timer_disable(struct omap_hwmod *oh) in omap2_wd_timer_disable() argument
35 if (!oh) { in omap2_wd_timer_disable()
40 base = omap_hwmod_get_mpu_rt_va(oh); in omap2_wd_timer_disable()
43 oh->name, __func__); in omap2_wd_timer_disable()
75 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument
80 omap_hwmod_softreset(oh); in omap2_wd_timer_reset()
83 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset()
84 oh->class->sysc->syss_offs) in omap2_wd_timer_reset()
88 if (oh->class->sysc->srst_udelay) in omap2_wd_timer_reset()
89 udelay(oh->class->sysc->srst_udelay); in omap2_wd_timer_reset()
93 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap2_wd_timer_reset()
96 oh->name, c); in omap2_wd_timer_reset()
99 omap2_wd_timer_disable(oh); in omap2_wd_timer_reset()