Searched refs:PCF8563_REG_SC (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-pcf8563.c33 #define PCF8563_REG_SC 0x02 /* datetime */ macro
203 if (buf[PCF8563_REG_SC] & PCF8563_SC_LV) { pcf8563_get_datetime()
218 tm->tm_sec = bcd2bin(buf[PCF8563_REG_SC] & 0x7F); pcf8563_get_datetime()
258 buf[PCF8563_REG_SC] = bin2bcd(tm->tm_sec); pcf8563_set_datetime()
274 return pcf8563_write_block_data(client, PCF8563_REG_SC, pcf8563_set_datetime()
275 9 - PCF8563_REG_SC, buf + PCF8563_REG_SC); pcf8563_set_datetime()

Completed in 75 milliseconds