Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Di2c_rtc_emul.c39 long base_time; member
63 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time) in sandbox_i2c_rtc_get_set_base_time() argument
68 old_base_time = plat->base_time; in sandbox_i2c_rtc_get_set_base_time()
69 if (base_time != -1) in sandbox_i2c_rtc_get_set_base_time()
70 plat->base_time = base_time; in sandbox_i2c_rtc_get_set_base_time()
81 plat->base_time = rtc_mktime(&now); in reset_time()
96 now = plat->base_time; in sandbox_i2c_rtc_get()
114 now = plat->base_time; in sandbox_i2c_rtc_set()
/openbmc/u-boot/arch/x86/cpu/coreboot/
H A Dtimestamp.c19 uint64_t base_time; member
41 tse->entry_stamp = ts_time - ts_table->base_time; in timestamp_add()
/openbmc/u-boot/test/dm/
H A Drtc.c124 long old_base_time, base_time; in dm_test_rtc_reset() local
138 base_time = sandbox_i2c_rtc_get_set_base_time(emul, -1); in dm_test_rtc_reset()
139 ut_asserteq(old_base_time, base_time); in dm_test_rtc_reset()
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dtest.h89 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time);