Searched refs:PCF8523_YEARS_MASK (Results 1 – 1 of 1) sorted by relevance
73 #define PCF8523_YEARS_MASK GENMASK(7, 0) macro375 regs[6] = bin2bcd(timeptr->tm_year - PCF8523_YEARS_OFFSET) & PCF8523_YEARS_MASK; in pcf8523_set_time()423 timeptr->tm_year = bcd2bin(regs[9] & PCF8523_YEARS_MASK) + PCF8523_YEARS_OFFSET; in pcf8523_get_time()