Home
last modified time | relevance | path

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

/u-boot/drivers/rtc/
A Dsandbox_rtc.c25 time->tm_sec = buf[REG_SEC - REG_SEC]; in sandbox_rtc_get()
26 time->tm_min = buf[REG_MIN - REG_SEC]; in sandbox_rtc_get()
27 time->tm_hour = buf[REG_HOUR - REG_SEC]; in sandbox_rtc_get()
28 time->tm_mday = buf[REG_MDAY - REG_SEC]; in sandbox_rtc_get()
29 time->tm_mon = buf[REG_MON - REG_SEC]; in sandbox_rtc_get()
31 time->tm_wday = buf[REG_WDAY - REG_SEC]; in sandbox_rtc_get()
41 buf[REG_SEC - REG_SEC] = time->tm_sec; in sandbox_rtc_set()
42 buf[REG_MIN - REG_SEC] = time->tm_min; in sandbox_rtc_set()
43 buf[REG_HOUR - REG_SEC] = time->tm_hour; in sandbox_rtc_set()
44 buf[REG_MDAY - REG_SEC] = time->tm_mday; in sandbox_rtc_set()
[all …]
A Di2c_rtc_emul.c135 plat->reg[REG_SEC] = time.tm_sec; in sandbox_i2c_rtc_prepare_read()
152 time.tm_sec = plat->reg[REG_SEC]; in sandbox_i2c_rtc_complete_write()
/u-boot/arch/sandbox/include/asm/
A Drtc.h14 REG_SEC = 5, enumerator
/u-boot/test/dm/
A Drtc.c169 ut_assertok(dm_rtc_read(dev, REG_SEC, &reg, 1)); in dm_test_rtc_read_write()

Completed in 5 milliseconds