Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rx4581.c34 #define RX4581_REG_SC 0x00 /* Second in BCD */ macro
150 tm->tm_sec = bcd2bin(date[RX4581_REG_SC] & 0x7F); in rx4581_get_datetime()
184 buf[RX4581_REG_SC+1] = bin2bcd(tm->tm_sec); in rx4581_set_datetime()
260 res = rx4581_get_reg(&spi->dev, RX4581_REG_SC, &tmp); in rx4581_probe()