Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-jz4740.c275 unsigned long wakeup_ticks, reset_ticks; in jz4740_rtc_set_wakeup_params() local
288 wakeup_ticks = (min_wakeup_pin_assert_time * rate) / 1000; in jz4740_rtc_set_wakeup_params()
289 if (wakeup_ticks < JZ_RTC_WAKEUP_FILTER_MASK) in jz4740_rtc_set_wakeup_params()
290 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()
293 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_WAKEUP_FILTER, wakeup_ticks); in jz4740_rtc_set_wakeup_params()