Searched refs:start_secs (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/rtc/ ! |
H A D | class.c | 290 rtc->start_secs = mktime64(start_year, 1, 1, 0, 0, 0); in rtc_device_get_offset() 304 * If the start_secs is larger than the maximum seconds (rtc->range_max) in rtc_device_get_offset() 306 * range (start_secs + rtc->range_max - rtc->range_min) is less than in rtc_device_get_offset() 308 * RTC hardware will be mapped to start_secs by adding one offset, so in rtc_device_get_offset() 310 * rtc->offset_secs = rtc->start_secs - rtc->range_min; in rtc_device_get_offset() 312 * If the start_secs is larger than the minimum seconds (rtc->range_min) in rtc_device_get_offset() 321 * If the start_secs is less than the minimum seconds (rtc->range_min), in rtc_device_get_offset() 322 * which is similar to case 2. So the start_secs should be mapped to in rtc_device_get_offset() 323 * start_secs + rtc->range_max - rtc->range_min + 1, then the in rtc_device_get_offset() 329 if ((rtc->start_secs > in rtc_device_get_offset() [all...] |
H A D | interface.c | 38 if ((rtc->start_secs > rtc->range_min && secs >= rtc->start_secs) || in rtc_add_offset() 39 (rtc->start_secs < rtc->range_min && in rtc_add_offset() 40 secs <= (rtc->start_secs + rtc->range_max - rtc->range_min))) in rtc_add_offset() 71 time64_t range_min = rtc->set_start_time ? rtc->start_secs : in rtc_valid_range() 74 (rtc->start_secs + rtc->range_max - rtc->range_min) : in rtc_valid_range()
|
H A D | rtc-rx8581.c | 283 rtc->start_secs = 0; in rx8581_probe()
|
H A D | rtc-tps6586x.c | 256 rtc->rtc->start_secs = mktime64(2009, 1, 1, 0, 0, 0); in tps6586x_rtc_probe()
|
H A D | rtc-ab8500.c | 385 rtc->start_secs = RTC_TIMESTAMP_BEGIN_2000; in ab8500_rtc_probe()
|
H A D | rtc-mt6397.c | 294 rtc->rtc_dev->start_secs = mktime64(1968, 1, 2, 0, 0, 0); in mtk_rtc_probe()
|
/linux/tools/perf/scripts/python/ ! |
H A D | compaction-times.py | 118 def create_pending(cls, pid, comm, start_secs, start_nsecs): argument 129 head.mark_pending(start_secs, start_nsecs)
|
/linux/include/linux/ ! |
H A D | rtc.h | 150 time64_t start_secs; member
|