Home
last modified time | relevance | path

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

/drivers/rtc/
A Drtc-da9063.c29 RTC_SEC = 0, enumerator
128 .rtc_data_start = RTC_SEC,
156 .rtc_data_start = RTC_SEC,
172 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm()
187 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data()
227 if (!(data[RTC_SEC] & config->rtc_ready_to_read_mask)) { in da9063_rtc_read_time()
271 data[RTC_SEC] = 0; in da9063_rtc_read_alarm()
427 data[RTC_SEC] = 0; in da9063_rtc_probe()
449 if (config->rtc_data_start != RTC_SEC) { in da9063_rtc_probe()
A Drtc-max8925.c17 RTC_SEC = 0, enumerator
106 tm->tm_sec = ((buf[RTC_SEC] >> 4) & 0x7) * 10 in tm_calc()
107 + (buf[RTC_SEC] & 0x0f); in tm_calc()
147 buf[RTC_SEC] = (high << 4) + low; in data_calc()
A Drtc-max8907.c20 RTC_SEC = 0, enumerator
74 tm->tm_sec = bcd2bin(regs[RTC_SEC] & 0x7f); in regs_to_tm()
90 regs[RTC_SEC] = bin2bcd(tm->tm_sec); in tm_to_regs()
A Drtc-max8997.c54 RTC_SEC = 0, enumerator
77 tm->tm_sec = data[RTC_SEC] & 0x7f; in max8997_rtc_data_to_tm()
97 data[RTC_SEC] = tm->tm_sec; in max8997_rtc_tm_to_data()
269 data[RTC_SEC] |= (1 << ALARM_ENABLE_SHIFT); in max8997_rtc_start_alarm()
304 data[RTC_HOUR], data[RTC_MIN], data[RTC_SEC]); in max8997_rtc_set_alarm()
A Drtc-max8998.c56 RTC_SEC = 0, enumerator
77 tm->tm_sec = bcd2bin(data[RTC_SEC]); in max8998_data_to_tm()
95 data[RTC_SEC] = bin2bcd(tm->tm_sec); in max8998_tm_to_data()
A Drtc-rx6110.c85 RTC_SEC = 0, enumerator
120 data[RTC_SEC] = bin2bcd(tm->tm_sec); in rx6110_rtc_tm_to_data()
139 tm->tm_sec = bcd2bin(data[RTC_SEC] & 0x7f); in rx6110_data_to_rtc_tm()
A Drtc-s5m.c33 RTC_SEC = 0, enumerator
191 tm->tm_sec = data[RTC_SEC] & 0x7f; in s5m8767_data_to_tm()
211 data[RTC_SEC] = tm->tm_sec; in s5m8767_tm_to_data()
500 data[RTC_SEC] |= ALARM_ENABLE_MASK; in s5m_rtc_start_alarm()
A Drtc-max77686.c52 RTC_SEC = 0, enumerator
297 tm->tm_sec = data[RTC_SEC] & mask; in max77686_rtc_data_to_tm()
320 data[RTC_SEC] = tm->tm_sec; in max77686_rtc_tm_to_data()
572 data[RTC_SEC] |= (1 << ALARM_ENABLE_SHIFT); in max77686_rtc_start_alarm()

Completed in 15 milliseconds