Lines Matching defs:txbuf
67 u8 txbuf[5+7], *txp;
71 txp = txbuf;
72 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */
73 txbuf[1] = 0; /* dummy */
74 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */
75 txbuf[3] = 0; /* dummy */
76 txbuf[4] = RS5C348_CMD_MW(RS5C348_REG_SECS); /* cmd, sec, ... */
77 txp = &txbuf[5];
93 ret = spi_write_then_read(spi, txbuf, sizeof(txbuf), NULL, 0);
103 u8 txbuf[5], rxbuf[7];
107 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */
108 txbuf[1] = 0; /* dummy */
109 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */
110 txbuf[3] = 0; /* dummy */
111 txbuf[4] = RS5C348_CMD_MR(RS5C348_REG_SECS); /* cmd, sec, ... */
114 ret = spi_write_then_read(spi, txbuf, sizeof(txbuf),