Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Dclass.c328 rtc->offset_secs = rtc->start_secs - rtc->range_min; in rtc_device_get_offset()
330 rtc->offset_secs = range_secs; in rtc_device_get_offset()
332 rtc->offset_secs = -range_secs; in rtc_device_get_offset()
334 rtc->offset_secs = 0; in rtc_device_get_offset()
H A 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()
/openbmc/u-boot/drivers/rtc/
H A Di2c_rtc_emul.c46 unsigned int offset_secs; member
/openbmc/linux/include/linux/
H A Drtc.h151 time64_t offset_secs; member