Searched refs:REG_SEC (Results 1 – 4 of 4) sorted by relevance
25 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 …]
135 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()
14 REG_SEC = 5, enumerator
169 ut_assertok(dm_rtc_read(dev, REG_SEC, ®, 1)); in dm_test_rtc_read_write()
Completed in 5 milliseconds