Searched refs:PCF8563_REG_MO (Results 1 – 1 of 1) sorted by relevance
34 #define PCF8563_REG_MO 0x07 macro229 tm->tm_mon = bcd2bin(buf[PCF8563_REG_MO] & 0x1F) - 1; /* rtc mn 1-12 */ in pcf8563_rtc_read_time()232 pcf8563->c_polarity = (buf[PCF8563_REG_MO] & PCF8563_MO_C) ? in pcf8563_rtc_read_time()264 buf[PCF8563_REG_MO] = bin2bcd(tm->tm_mon + 1); in pcf8563_rtc_set_time()269 buf[PCF8563_REG_MO] |= PCF8563_MO_C; in pcf8563_rtc_set_time()