Searched refs:SECONDS_BITS (Results 1 – 3 of 3) sorted by relevance
28 #define SECONDS_BITS GENMASK(6, 0) macro60 regs[0] = bin2bcd(tm->tm_sec) & SECONDS_BITS; in ds1307_set_time()90 timeptr->tm_sec = bcd2bin(regs[0] & SECONDS_BITS); in ds1307_get_time()149 if (reg & ~SECONDS_BITS) { in ds1307_init()152 reg & SECONDS_BITS); in ds1307_init()
48 #define SECONDS_BITS GENMASK(6, 0) macro138 regs[0] = bin2bcd(tm->tm_sec) & SECONDS_BITS; in am1805_set_time()188 timeptr->tm_sec = bcd2bin(regs[0] & SECONDS_BITS); in am1805_get_time()341 timeptr->tm_sec = bcd2bin(regs[0] & SECONDS_BITS); in am1805_alarm_get_time()408 regs[0] = bin2bcd(timeptr->tm_sec) & SECONDS_BITS; in am1805_alarm_set_time()
59 #define SECONDS_BITS GENMASK(6, 0) macro218 regs[1] = bin2bcd(timeptr->tm_sec) & SECONDS_BITS; in rv8263c8_time_set()249 timeptr->tm_sec = bcd2bin(regs[0] & SECONDS_BITS); in rv8263c8_time_get()425 regs[1] = bin2bcd(timeptr->tm_sec) & SECONDS_BITS; in rv8263c8_alarm_set_time()494 timeptr->tm_sec = bcd2bin(value[0]) & SECONDS_BITS; in rv8263c8_alarm_get_time()