Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rs5c348.c33 #define RS5C348_REG_CTL2 15 macro
66 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_rtc_set_time()
70 txbuf[0] = RS5C348_CMD_W(RS5C348_REG_CTL2); in rs5c348_rtc_set_time()
79 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time()
81 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time()
113 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_rtc_read_time()
124 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()
126 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()