Home
last modified time | relevance | path

Searched refs:WEEKDAY_BITS (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/rtc/
Drtc_ds1307.c33 #define WEEKDAY_BITS GENMASK(2, 0) macro
93 timeptr->tm_wday = bcd2bin(regs[3] & WEEKDAY_BITS); in ds1307_get_time()
Drtc_am1805.c53 #define WEEKDAY_BITS GENMASK(2, 0) macro
144 regs[6] = bin2bcd(tm->tm_wday) & WEEKDAY_BITS; in am1805_set_time()
194 timeptr->tm_wday = bcd2bin(regs[6] & WEEKDAY_BITS); in am1805_get_time()
346 timeptr->tm_wday = bcd2bin(regs[5] & WEEKDAY_BITS); in am1805_alarm_get_time()
413 regs[5] = bin2bcd(timeptr->tm_wday) & WEEKDAY_BITS; in am1805_alarm_set_time()
Drtc_rv8263.c64 #define WEEKDAY_BITS GENMASK(2, 0) macro
222 regs[5] = bin2bcd(timeptr->tm_wday) & WEEKDAY_BITS; in rv8263c8_time_set()
253 timeptr->tm_wday = bcd2bin(regs[4] & WEEKDAY_BITS); in rv8263c8_time_get()
449 regs[5] = bin2bcd(timeptr->tm_wday) & WEEKDAY_BITS; in rv8263c8_alarm_set_time()
514 timeptr->tm_wday = bcd2bin(value[4]) & WEEKDAY_BITS; in rv8263c8_alarm_get_time()