Searched refs:jz4740_rtc_reg_write (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-jz4740.c | 104 static inline int jz4740_rtc_reg_write(struct jz4740_rtc *rtc, size_t reg, in jz4740_rtc_reg_write() function 138 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_CTRL, ctrl); in jz4740_rtc_ctrl_set_bits() 179 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, rtc_tm_to_time64(time)); in jz4740_rtc_set_time() 183 return jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SCRATCHPAD, 0x12345678); in jz4740_rtc_set_time() 210 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC_ALARM, secs); in jz4740_rtc_set_alarm() 256 jz4740_rtc_reg_write(rtc, JZ_REG_RTC_HIBERNATE, 1); in jz4740_rtc_poweroff() 280 jz4740_rtc_reg_write(rtc, in jz4740_rtc_power_off() 292 jz4740_rtc_reg_write(rtc, in jz4740_rtc_power_off()
|