Home
last modified time | relevance | path

Searched refs:wakeup_ticks (Results 1 – 1 of 1) sorted by relevance

/drivers/rtc/
Drtc-jz4740.c277 unsigned long wakeup_ticks, reset_ticks; in jz4740_rtc_set_wakeup_params() local
290 wakeup_ticks = (min_wakeup_pin_assert_time * rate) / 1000; in jz4740_rtc_set_wakeup_params()
291 if (wakeup_ticks < JZ_RTC_WAKEUP_FILTER_MASK) in jz4740_rtc_set_wakeup_params()
292 wakeup_ticks &= JZ_RTC_WAKEUP_FILTER_MASK; in jz4740_rtc_set_wakeup_params()
294 wakeup_ticks = JZ_RTC_WAKEUP_FILTER_MASK; in jz4740_rtc_set_wakeup_params()
295 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_WAKEUP_FILTER, wakeup_ticks); in jz4740_rtc_set_wakeup_params()