Searched refs:RS5C348_CMD_R (Results 1 – 1 of 1) sorted by relevance
54 #define RS5C348_CMD_R(addr) (((addr) << 4) | 0x0c) /* single read */ macro73 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time()75 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time()108 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()110 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()168 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_SECS)); in rs5c348_probe()179 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_probe()200 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL1)); in rs5c348_probe()