Searched refs:ABB5ZES3_REG_RTC_SC (Results 1 – 1 of 1) sorted by relevance
58 #define ABB5ZES3_REG_RTC_SC 0x03 /* RTC Seconds register */ macro208 u8 regs[ABB5ZES3_REG_RTC_SC + ABB5ZES3_RTC_SEC_LEN]; in _abb5zes3_rtc_read_time()226 if (regs[ABB5ZES3_REG_RTC_SC] & ABB5ZES3_REG_RTC_SC_OSC) in _abb5zes3_rtc_read_time()229 tm->tm_sec = bcd2bin(regs[ABB5ZES3_REG_RTC_SC] & 0x7F); in _abb5zes3_rtc_read_time()251 u8 regs[ABB5ZES3_REG_RTC_SC + ABB5ZES3_RTC_SEC_LEN]; in abb5zes3_rtc_set_time()254 regs[ABB5ZES3_REG_RTC_SC] = bin2bcd(tm->tm_sec); /* MSB=0 clears OSC */ in abb5zes3_rtc_set_time()262 ret = regmap_bulk_write(data->regmap, ABB5ZES3_REG_RTC_SC, in abb5zes3_rtc_set_time()263 regs + ABB5ZES3_REG_RTC_SC, in abb5zes3_rtc_set_time()690 ret = regmap_read(regmap, ABB5ZES3_REG_RTC_SC, ®); in abb5zes3_rtc_check_setup()