Lines Matching defs:tx
48 * @buf_lock: protect the rx and tx buffers.
51 * @tx: single tx buffer storage
57 u8 tx[KXSD9_STATE_TX_SIZE];
86 st->tx[0] = KXSD9_WRITE(KXSD9_REG_CTRL_C);
87 st->tx[1] = (ret & ~KXSD9_FS_MASK) | i;
89 ret = spi_write(st->us, st->tx, 2);
104 .tx_buf = st->tx,
113 st->tx[0] = KXSD9_READ(address);
204 st->tx[0] = 0x0d;
205 st->tx[1] = 0x40;
206 ret = spi_write(st->us, st->tx, 2);
210 st->tx[0] = 0x0c;
211 st->tx[1] = 0x9b;
212 return spi_write(st->us, st->tx, 2);