Lines Matching refs:rx_count
45 uint32_t rx_count; member
430 data->rx_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()
472 data->rx_count < chunk_len && fifo_cnt > 0) { in spi_pico_pio_txrx_4_wire()
479 sys_put_be32(txrx, rxbuf + (data->rx_count * 4)); in spi_pico_pio_txrx_4_wire()
488 sys_put_be16(txrx, rxbuf + (data->rx_count * 2)); in spi_pico_pio_txrx_4_wire()
497 ((uint8_t *)rxbuf)[data->rx_count] = (uint8_t)txrx; in spi_pico_pio_txrx_4_wire()
505 data->rx_count++; in spi_pico_pio_txrx_4_wire()
524 data->rx_count = 0; in spi_pico_pio_txrx_3_wire()
586 while (data->rx_count < rx_size) { in spi_pico_pio_txrx_3_wire()
588 data->rx_count < rx_size) { in spi_pico_pio_txrx_3_wire()
593 sys_put_be32(txrx, rxbuf + (data->rx_count * 4)); in spi_pico_pio_txrx_3_wire()
598 sys_put_be16(txrx, rxbuf + (data->rx_count * 2)); in spi_pico_pio_txrx_3_wire()
603 rxbuf[data->rx_count] = (uint8_t)txrx; in spi_pico_pio_txrx_3_wire()
610 data->rx_count++; in spi_pico_pio_txrx_3_wire()
654 spi_context_update_rx(spi_ctx, 1, data->rx_count); in spi_pico_pio_transceive_impl()