Searched refs:PCF8523_MONTHS_MASK (Results 1 – 1 of 1) sorted by relevance
72 #define PCF8523_MONTHS_MASK GENMASK(4, 0) macro374 regs[5] = bin2bcd(timeptr->tm_mon + PCF8523_MONTHS_OFFSET) & PCF8523_MONTHS_MASK; in pcf8523_set_time()422 timeptr->tm_mon = bcd2bin(regs[8] & PCF8523_MONTHS_MASK) - PCF8523_MONTHS_OFFSET; in pcf8523_get_time()