Home
last modified time | relevance | path

Searched refs:offset_secs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/rtc/
Dclass.c266 rtc->offset_secs = rtc->start_secs - rtc->range_min; in rtc_device_get_offset()
268 rtc->offset_secs = range_secs; in rtc_device_get_offset()
270 rtc->offset_secs = -range_secs; in rtc_device_get_offset()
272 rtc->offset_secs = 0; in rtc_device_get_offset()
Dinterface.c27 if (!rtc->offset_secs) in rtc_add_offset()
43 rtc_time64_to_tm(secs + rtc->offset_secs, tm); in rtc_add_offset()
50 if (!rtc->offset_secs) in rtc_subtract_offset()
64 rtc_time64_to_tm(secs - rtc->offset_secs, tm); in rtc_subtract_offset()
/Linux-v5.4/include/linux/
Drtc.h146 time64_t offset_secs; member