Lines Matching refs:tx_count
299 uint32_t tx_count; member
660 if (MIN(data->tx_count, data->rx_count) >= chunk_len && chunk_len > 0) { in spi_pl022_async_xfer()
665 data->tx_count = 0; in spi_pl022_async_xfer()
677 if ((data->tx_count < chunk_len) && SSP_TX_FIFO_NOT_FULL(cfg->reg)) { in spi_pl022_async_xfer()
682 txrx = *(((uint8_t *)ctx->tx_buf) + data->tx_count); in spi_pl022_async_xfer()
685 data->tx_count++; in spi_pl022_async_xfer()
706 data->tx_count = 0; in spi_pl022_start_async_xfer()
743 data->tx_count = 0; in spi_pl022_xfer()
755 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pl022_xfer()
757 while (SSP_TX_FIFO_NOT_FULL(cfg->reg) && data->tx_count < chunk_len && in spi_pl022_xfer()
763 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pl022_xfer()
766 data->tx_count++; in spi_pl022_xfer()
843 spi_context_update_tx(ctx, 1, data->tx_count); in spi_pl022_transceive_impl()