Lines Matching refs:tx_bufs
303 const struct spi_buf_set *tx_bufs, in spi_sam0_fast_transceive() argument
313 if (tx_bufs) { in spi_sam0_fast_transceive()
314 tx = tx_bufs->buffers; in spi_sam0_fast_transceive()
315 tx_count = tx_bufs->count; in spi_sam0_fast_transceive()
356 static bool spi_sam0_is_regular(const struct spi_buf_set *tx_bufs, in spi_sam0_is_regular() argument
364 if (tx_bufs) { in spi_sam0_is_regular()
365 tx = tx_bufs->buffers; in spi_sam0_is_regular()
366 tx_count = tx_bufs->count; in spi_sam0_is_regular()
390 const struct spi_buf_set *tx_bufs, in spi_sam0_transceive() argument
412 if (spi_sam0_is_regular(tx_bufs, rx_bufs)) { in spi_sam0_transceive()
413 spi_sam0_fast_transceive(dev, config, tx_bufs, rx_bufs); in spi_sam0_transceive()
415 spi_context_buffers_setup(&data->ctx, tx_bufs, rx_bufs, 1); in spi_sam0_transceive()
431 const struct spi_buf_set *tx_bufs, in spi_sam0_transceive_sync() argument
434 return spi_sam0_transceive(dev, config, tx_bufs, rx_bufs); in spi_sam0_transceive_sync()
619 const struct spi_buf_set *tx_bufs, in spi_sam0_transceive_async() argument
644 spi_context_buffers_setup(&data->ctx, tx_bufs, rx_bufs, 1); in spi_sam0_transceive_async()