Searched refs:hour_reg (Results 1 – 3 of 3) 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 177 hour_reg = SPRD_RTC_HOUR_CNT_VALUE; in sprd_rtc_get_secs() 183 hour_reg = SPRD_RTC_HOUR_ALM_VALUE; in sprd_rtc_get_secs() 189 hour_reg = SPRD_RTC_HOUR_AUXALM_UPD; in sprd_rtc_get_secs() 208 ret = regmap_read(rtc->regmap, rtc->base + hour_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 241 hour_reg = SPRD_RTC_HOUR_CNT_UPD; in sprd_rtc_set_secs() 248 hour_reg = SPRD_RTC_HOUR_ALM_UPD; in sprd_rtc_set_secs() 255 hour_reg = SPRD_RTC_HOUR_AUXALM_UPD; in sprd_rtc_set_secs() 271 ret = regmap_write(rtc->regmap, rtc->base + hour_reg, hour); in sprd_rtc_set_secs()
|
D | rtc-bd70528.c | 244 u8 hour_reg; in bd70528_probe() local 276 hour_reg = BD71815_REG_HOUR; in bd70528_probe() 282 hour_reg = BD71828_REG_RTC_HOUR; in bd70528_probe() 296 ret = regmap_read(bd_rtc->regmap, hour_reg, &hr); in bd70528_probe()
|
D | rtc-rx8025.c | 288 int hour_reg; in rx8025_init_client() local 316 hour_reg = rx8025_read_reg(client, RX8025_REG_HOUR); in rx8025_init_client() 317 if (hour_reg < 0) in rx8025_init_client() 318 return hour_reg; in rx8025_init_client() 319 rx8025->is_24 = (hour_reg & RX8035_BIT_HOUR_1224); in rx8025_init_client()
|