Lines Matching refs:tx_count
44 uint32_t tx_count; member
429 data->tx_count = 0; in spi_pico_pio_txrx_4_wire()
434 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pico_pio_txrx_4_wire()
437 data->tx_count < chunk_len && fifo_cnt < PIO_FIFO_DEPTH) { in spi_pico_pio_txrx_4_wire()
444 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_4_wire()
451 txrx = sys_get_be16(txbuf + (data->tx_count * 2)); in spi_pico_pio_txrx_4_wire()
458 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_4_wire()
467 data->tx_count++; in spi_pico_pio_txrx_4_wire()
523 data->tx_count = 0; in spi_pico_pio_txrx_3_wire()
539 while (data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire()
542 data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire()
546 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_3_wire()
551 txrx = sys_get_be16(txbuf + (data->tx_count * 2)); in spi_pico_pio_txrx_3_wire()
556 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_3_wire()
564 data->tx_count++; in spi_pico_pio_txrx_3_wire()
653 spi_context_update_tx(spi_ctx, 1, data->tx_count); in spi_pico_pio_transceive_impl()