Searched refs:SEC_PER_DAY (Results 1 – 4 of 4) sorted by relevance
56 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()
27 #define SEC_PER_DAY (24 * 60 * 60) macro87 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()
62 #define SEC_PER_DAY (24 * 60 * 60) macro287 (SEC_PER_DAY * (365 + is_leap_year(alm->time.tm_year)))) in mcp795_set_alarm()
252 #define SEC_PER_DAY 86400 macro