Searched refs:epoch_sec (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/rtc/ |
| D | rtc-vr41xx.c | 111 time64_t epoch_sec, elapsed_sec; in vr41xx_rtc_read_time() local 113 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time() 116 rtc_time64_to_tm(epoch_sec + elapsed_sec, time); in vr41xx_rtc_read_time() 123 time64_t epoch_sec, current_sec; in vr41xx_rtc_set_time() local 125 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_set_time() 128 write_elapsed_second(current_sec - epoch_sec); in vr41xx_rtc_set_time()
|