Lines Matching refs:oh
35 int omap2_wd_timer_disable(struct omap_hwmod *oh) in omap2_wd_timer_disable() argument
39 if (!oh) { in omap2_wd_timer_disable()
44 base = omap_hwmod_get_mpu_rt_va(oh); in omap2_wd_timer_disable()
47 oh->name, __func__); in omap2_wd_timer_disable()
79 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument
84 omap_hwmod_softreset(oh); in omap2_wd_timer_reset()
87 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset()
88 oh->class->sysc->syss_offs) in omap2_wd_timer_reset()
92 if (oh->class->sysc->srst_udelay) in omap2_wd_timer_reset()
93 udelay(oh->class->sysc->srst_udelay); in omap2_wd_timer_reset()
97 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap2_wd_timer_reset()
100 oh->name, c); in omap2_wd_timer_reset()
103 omap2_wd_timer_disable(oh); in omap2_wd_timer_reset()