Searched refs:offset_secs (Results 1 – 3 of 3) sorted by relevance
271 rtc->offset_secs = rtc->start_secs - rtc->range_min; in rtc_device_get_offset()273 rtc->offset_secs = range_secs; in rtc_device_get_offset()275 rtc->offset_secs = -range_secs; in rtc_device_get_offset()277 rtc->offset_secs = 0; in rtc_device_get_offset()
30 if (!rtc->offset_secs) in rtc_add_offset()46 rtc_time64_to_tm(secs + rtc->offset_secs, tm); in rtc_add_offset()53 if (!rtc->offset_secs) in rtc_subtract_offset()67 rtc_time64_to_tm(secs - rtc->offset_secs, tm); in rtc_subtract_offset()
149 time64_t offset_secs; member