Home
last modified time | relevance | path

Searched refs:SEC_PER_DAY (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/rtc/
Drtc-pcap.c56 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_alarm()
72 tod = secs % SEC_PER_DAY; in pcap_rtc_set_alarm()
75 days = secs / SEC_PER_DAY; in pcap_rtc_set_alarm()
91 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_time()
103 tod = secs % SEC_PER_DAY; in pcap_rtc_set_mmss()
106 days = secs / SEC_PER_DAY; in pcap_rtc_set_mmss()
Drtc-mc13xxx.c27 #define SEC_PER_DAY (24 * 60 * 60) macro
87 rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm); in mc13xxx_rtc_read_time()
99 days = div_s64_rem(secs, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_mmss()
111 if (alarmseconds < SEC_PER_DAY) { in mc13xxx_rtc_set_mmss()
135 if (alarmseconds < SEC_PER_DAY) { in mc13xxx_rtc_set_mmss()
171 if (seconds >= SEC_PER_DAY) { in mc13xxx_rtc_read_alarm()
192 s1970 = (time64_t)days * SEC_PER_DAY + seconds; in mc13xxx_rtc_read_alarm()
228 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm()
Drtc-mcp795.c62 #define SEC_PER_DAY (24 * 60 * 60) macro
287 (SEC_PER_DAY * (365 + is_leap_year(alm->time.tm_year)))) in mcp795_set_alarm()
/linux-4.19.296/include/linux/mfd/
Dezx-pcap.h252 #define SEC_PER_DAY 86400 macro