Lines Matching defs:xfer
90 struct spi_transfer xfer[18];
122 #define CS_CHANGE(xfer) ((xfer).cs_change = 0)
185 struct spi_transfer xfer[6];
193 struct spi_transfer xfer[2];
223 req->xfer[0].tx_buf = &req->ref_on;
224 req->xfer[0].len = 1;
225 spi_message_add_tail(&req->xfer[0], &req->msg);
227 req->xfer[1].rx_buf = &req->scratch;
228 req->xfer[1].len = 2;
231 req->xfer[1].delay_usecs = ts->vref_delay_usecs;
232 spi_message_add_tail(&req->xfer[1], &req->msg);
237 req->xfer[2].tx_buf = &req->command;
238 req->xfer[2].len = 1;
239 spi_message_add_tail(&req->xfer[2], &req->msg);
241 req->xfer[3].rx_buf = &req->sample;
242 req->xfer[3].len = 2;
243 spi_message_add_tail(&req->xfer[3], &req->msg);
249 req->xfer[4].tx_buf = &req->ref_off;
250 req->xfer[4].len = 1;
251 spi_message_add_tail(&req->xfer[4], &req->msg);
253 req->xfer[5].rx_buf = &req->scratch;
254 req->xfer[5].len = 2;
255 CS_CHANGE(req->xfer[5]);
256 spi_message_add_tail(&req->xfer[5], &req->msg);
288 req->xfer[0].tx_buf = req->command;
289 req->xfer[0].rx_buf = req->sample;
290 req->xfer[0].len = 3;
291 spi_message_add_tail(&req->xfer[0], &req->msg);
1040 x = ts->xfer;