Lines Matching refs:txbuf
70 u8 txbuf[8];
88 txbuf[1] = 0x00;
89 txbuf[2] = 0x00;
90 txbuf[3] = 0x00;
93 txbuf[0] = FPGA_CMD_READ_ID;
94 spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
111 txbuf[0] = FPGA_CMD_READ_STATUS;
112 spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
131 txbuf[0] = FPGA_CMD_REFRESH;
132 spi_write(spi, txbuf, 4);
134 txbuf[0] = FPGA_CMD_WRITE_EN;
135 spi_write(spi, txbuf, 4);
137 txbuf[0] = FPGA_CMD_CLEAR;
138 spi_write(spi, txbuf, 4);
144 txbuf[0] = FPGA_CMD_READ_STATUS;
145 spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
164 txbuf[0] = FPGA_CMD_WRITE_DIS;
165 spi_write(spi, txbuf, 4);
167 txbuf[0] = FPGA_CMD_READ_STATUS;
168 spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);