Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-pcf8563.c29 #define PCF8563_REG_SC 0x02 /* datetime */ macro
209 if (buf[PCF8563_REG_SC] & PCF8563_SC_LV) { in pcf8563_rtc_read_time()
224 tm->tm_sec = bcd2bin(buf[PCF8563_REG_SC] & 0x7F); in pcf8563_rtc_read_time()
257 buf[PCF8563_REG_SC] = bin2bcd(tm->tm_sec); in pcf8563_rtc_set_time()
273 return pcf8563_write_block_data(client, PCF8563_REG_SC, in pcf8563_rtc_set_time()
274 9 - PCF8563_REG_SC, buf + PCF8563_REG_SC); in pcf8563_rtc_set_time()
284 ret = i2c_smbus_read_byte_data(client, PCF8563_REG_SC); in pcf8563_rtc_ioctl()