Lines Matching refs:oh
52 int omap_hwmod_aess_preprogram(struct omap_hwmod *oh) in omap_hwmod_aess_preprogram() argument
56 va = omap_hwmod_get_mpu_rt_va(oh); in omap_hwmod_aess_preprogram()
74 static void omap_rtc_wait_not_busy(struct omap_hwmod *oh) in omap_rtc_wait_not_busy() argument
79 omap_test_timeout(omap_hwmod_read(oh, OMAP_RTC_STATUS_REG) in omap_rtc_wait_not_busy()
93 void omap_hwmod_rtc_unlock(struct omap_hwmod *oh) in omap_hwmod_rtc_unlock() argument
98 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_unlock()
99 omap_hwmod_write(OMAP_RTC_KICK0_VALUE, oh, OMAP_RTC_KICK0_REG); in omap_hwmod_rtc_unlock()
100 omap_hwmod_write(OMAP_RTC_KICK1_VALUE, oh, OMAP_RTC_KICK1_REG); in omap_hwmod_rtc_unlock()
113 void omap_hwmod_rtc_lock(struct omap_hwmod *oh) in omap_hwmod_rtc_lock() argument
118 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_lock()
119 omap_hwmod_write(0x0, oh, OMAP_RTC_KICK0_REG); in omap_hwmod_rtc_lock()
120 omap_hwmod_write(0x0, oh, OMAP_RTC_KICK1_REG); in omap_hwmod_rtc_lock()