Lines Matching refs:tx_buf
74 * tx_buf: |C0|C1|C2|C3|C4|C5|C6|C7|XX|
77 * tx_buf: 8 channel read commands, plus 1 dummy command
81 __be16 tx_buf[9] __aligned(IIO_DMA_MINALIGN);
120 * Fill in the first x shorts of tx_buf with the number of channels
125 st->tx_buf[cmds++] = cpu_to_be16(ADC108S102_CMD(bit));
128 st->tx_buf[cmds++] = 0x00;
131 st->ring_xfer.tx_buf = &st->tx_buf[0];
133 st->ring_xfer.len = cmds * sizeof(st->tx_buf[0]);
167 st->tx_buf[0] = cpu_to_be16(ADC108S102_CMD(ch));
271 st->scan_single_xfer.tx_buf = st->tx_buf;
273 st->scan_single_xfer.len = 2 * sizeof(st->tx_buf[0]);