Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/rtc/
Drtc-jz4740.c101 static inline int jz4740_rtc_reg_write(struct jz4740_rtc *rtc, size_t reg, in jz4740_rtc_reg_write() function
135 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_CTRL, ctrl); in jz4740_rtc_ctrl_set_bits()
176 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, rtc_tm_to_time64(time)); in jz4740_rtc_set_time()
180 return jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SCRATCHPAD, 0x12345678); in jz4740_rtc_set_time()
207 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC_ALARM, secs); in jz4740_rtc_set_alarm()
253 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_HIBERNATE, 1); in jz4740_rtc_poweroff()
293 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_WAKEUP_FILTER, wakeup_ticks); in jz4740_rtc_set_wakeup_params()
304 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_RESET_COUNTER, reset_ticks); in jz4740_rtc_set_wakeup_params()
311 return jz4740_rtc_reg_write(rtc, JZ_REG_RTC_CKPCR, in jz4740_rtc_clk32k_enable()
320 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_CKPCR, 0); in jz4740_rtc_clk32k_disable()
[all …]