Searched refs:SECS_PER_DAY (Results 1 - 8 of 8) sorted by relevance
/linux-master/kernel/time/ |
H A D | timeconv.c | 37 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro 55 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); 59 rem += SECS_PER_DAY; 62 while (rem >= SECS_PER_DAY) { 63 rem -= SECS_PER_DAY;
|
H A D | ntp.c | 42 #define SECS_PER_DAY 86400 macro 415 div_s64_rem(secs, SECS_PER_DAY, &rem); 416 ntp_next_leap_sec = secs + SECS_PER_DAY - rem; 419 div_s64_rem(secs + 1, SECS_PER_DAY, &rem); 420 ntp_next_leap_sec = secs + SECS_PER_DAY - rem;
|
/linux-master/drivers/rtc/ |
H A D | rtc-cpcap.c | 30 #define SECS_PER_DAY 86400 macro 57 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); 68 cpcap->day = time / SECS_PER_DAY; 69 time %= SECS_PER_DAY; 264 rtc->rtc_dev->range_max = (timeu64_t) (DAY_MASK + 1) * SECS_PER_DAY - 1;
|
H A D | rtc-cros-ec.c | 17 #define SECS_PER_DAY (24 * 60 * 60) macro 359 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_ALARM, SECS_PER_DAY * 2); 361 cros_ec_rtc->rtc->alarm_offset_max = SECS_PER_DAY - 1;
|
H A D | rtc-sun6i.c | 118 #define SECS_PER_DAY (24 * 3600ULL) macro 480 rtc_time64_to_tm((date & 0xffff) * SECS_PER_DAY, rtc_tm); 539 counter_val = div_u64(rtc_tm_to_time64(alrm_tm), SECS_PER_DAY); 609 date = div_u64(rtc_tm_to_time64(rtc_tm), SECS_PER_DAY); 836 chip->rtc->range_max = (65536 * SECS_PER_DAY) - 1;
|
H A D | rtc-cmos.c | 922 #define SECS_PER_DAY (24 * 60 * 60) macro 923 #define SECS_PER_MONTH (28 * SECS_PER_DAY) 924 #define SECS_PER_YEAR (365 * SECS_PER_DAY) 1037 cmos_rtc.rtc->alarm_offset_max = SECS_PER_DAY - 1;
|
/linux-master/arch/m68k/mac/ |
H A D | misc.c | 545 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro 562 days = div_u64_rem(time, SECS_PER_DAY, &rem); 565 rem += SECS_PER_DAY; 568 while (rem >= SECS_PER_DAY) { 569 rem -= SECS_PER_DAY;
|
/linux-master/fs/fat/ |
H A D | misc.c | 183 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro 226 + DAYS_DELTA) * SECS_PER_DAY; 294 div_s64_rem(seconds, SECS_PER_DAY, &remainder);
|
Completed in 217 milliseconds