Lines Matching refs:rx_bufs
293 static uint32_t spi_dw_compute_ndf(const struct spi_buf *rx_bufs, in spi_dw_compute_ndf() argument
298 for (; rx_count; rx_bufs++, rx_count--) { in spi_dw_compute_ndf()
299 if (len > (UINT16_MAX - rx_bufs->len)) { in spi_dw_compute_ndf()
303 len += rx_bufs->len; in spi_dw_compute_ndf()
336 const struct spi_buf_set *rx_bufs, in transceive() argument
362 if (!rx_bufs || !rx_bufs->buffers) { in transceive()
372 reg_data = spi_dw_compute_ndf(rx_bufs->buffers, in transceive()
373 rx_bufs->count, in transceive()
402 spi_context_buffers_setup(&spi->ctx, tx_bufs, rx_bufs, spi->dfs); in transceive()
427 reg_data = !rx_bufs ? in transceive()
463 const struct spi_buf_set *rx_bufs) in spi_dw_transceive() argument
465 LOG_DBG("%p, %p, %p", dev, tx_bufs, rx_bufs); in spi_dw_transceive()
467 return transceive(dev, config, tx_bufs, rx_bufs, false, NULL, NULL); in spi_dw_transceive()
474 const struct spi_buf_set *rx_bufs, in spi_dw_transceive_async() argument
478 LOG_DBG("%p, %p, %p, %p, %p", dev, tx_bufs, rx_bufs, cb, userdata); in spi_dw_transceive_async()
480 return transceive(dev, config, tx_bufs, rx_bufs, true, cb, userdata); in spi_dw_transceive_async()