Searched refs:min_reg (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-sc27xx.c | 169 u32 sec_reg, min_reg, hour_reg, day_reg; in sprd_rtc_get_secs() local 176 min_reg = SPRD_RTC_MIN_CNT_VALUE; in sprd_rtc_get_secs() 182 min_reg = SPRD_RTC_MIN_ALM_VALUE; in sprd_rtc_get_secs() 188 min_reg = SPRD_RTC_MIN_AUXALM_UPD; in sprd_rtc_get_secs() 202 ret = regmap_read(rtc->regmap, rtc->base + min_reg, &val); in sprd_rtc_get_secs() 226 u32 sec_reg, min_reg, hour_reg, day_reg, sts_mask; in sprd_rtc_set_secs() local 240 min_reg = SPRD_RTC_MIN_CNT_UPD; in sprd_rtc_set_secs() 247 min_reg = SPRD_RTC_MIN_ALM_UPD; in sprd_rtc_set_secs() 254 min_reg = SPRD_RTC_MIN_AUXALM_UPD; in sprd_rtc_set_secs() 267 ret = regmap_write(rtc->regmap, rtc->base + min_reg, min); in sprd_rtc_set_secs()
|