Lines Matching defs:oh
43 * @oh: struct omap_hwmod *
50 static void omap_rtc_wait_not_busy(struct omap_hwmod *oh)
55 omap_test_timeout(omap_hwmod_read(oh, OMAP_RTC_STATUS_REG)
62 * @oh: struct omap_hwmod *
69 void omap_hwmod_rtc_unlock(struct omap_hwmod *oh)
74 omap_rtc_wait_not_busy(oh);
75 omap_hwmod_write(OMAP_RTC_KICK0_VALUE, oh, OMAP_RTC_KICK0_REG);
76 omap_hwmod_write(OMAP_RTC_KICK1_VALUE, oh, OMAP_RTC_KICK1_REG);
82 * @oh: struct omap_hwmod *
89 void omap_hwmod_rtc_lock(struct omap_hwmod *oh)
94 omap_rtc_wait_not_busy(oh);
95 omap_hwmod_write(0x0, oh, OMAP_RTC_KICK0_REG);
96 omap_hwmod_write(0x0, oh, OMAP_RTC_KICK1_REG);