Searched refs:RS5C348_CMD_R (Results 1 – 1 of 1) sorted by relevance
52 #define RS5C348_CMD_R(addr) (((addr) << 4) | 0x0c) /* single read */ macro71 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time()73 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time()106 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()108 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()161 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_SECS)); in rs5c348_probe()171 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_probe()192 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL1)); in rs5c348_probe()