Searched refs:tx_length (Results 1 – 5 of 5) sorted by relevance
| /external/platform/pico/rp2_common/pico_cyw43_driver/ |
| A D | cyw43_bus_pio_spi.c | 223 int cyw43_spi_transfer(cyw43_int_t *self, const uint8_t *tx, size_t tx_length, uint8_t *rx, in cyw43_spi_transfer() argument 235 assert(tx_length && tx_length < rx_length); in cyw43_spi_transfer() 239 dump_bytes(tx, tx_length); in cyw43_spi_transfer() 241 assert(!(tx_length & 3)); in cyw43_spi_transfer() 252 pio_sm_put(bus_data->pio, bus_data->pio_sm, tx_length * 8 - 1); in cyw43_spi_transfer() 254 pio_sm_put(bus_data->pio, bus_data->pio_sm, (rx_length - tx_length) * 8 - 1); in cyw43_spi_transfer() 271 …ure(bus_data->dma_in, &in_config, rx + tx_length, &bus_data->pio->rxf[bus_data->pio_sm], rx_length… in cyw43_spi_transfer() 283 printf("[%lu] bus TX only %u bytes:", counter++, tx_length); in cyw43_spi_transfer() 284 dump_bytes(tx, tx_length); in cyw43_spi_transfer() 287 assert(!(tx_length & 3)); in cyw43_spi_transfer() [all …]
|
| /external/platform/nrfx/drivers/include/ |
| A D | nrfx_spi.h | 144 size_t tx_length; ///< TX buffer length. member 157 .tx_length = (tx_len), \ 163 #define NRFX_SPI_XFER_TRX(p_tx_buf, tx_length, p_rx_buf, rx_length) \ argument 164 NRFX_SPI_SINGLE_XFER(p_tx_buf, tx_length, p_rx_buf, rx_length)
|
| A D | nrfx_spim.h | 196 size_t tx_length; ///< TX buffer length. member 209 .tx_length = (tx_len), \ 215 #define NRFX_SPIM_XFER_TRX(p_tx_buf, tx_length, p_rx_buf, rx_length) \ argument 216 NRFX_SPIM_SINGLE_XFER(p_tx_buf, tx_length, p_rx_buf, rx_length)
|
| /external/platform/nrfx/drivers/src/ |
| A D | nrfx_spi.c | 270 if (bytes_used < p_cb->evt.xfer_desc.tx_length) in transfer_byte() 272 p_cb->evt.xfer_desc.tx_length = bytes_used; in transfer_byte() 280 if (bytes_used < p_cb->evt.xfer_desc.tx_length) in transfer_byte() 291 return (p_cb->bytes_transferred < p_cb->evt.xfer_desc.tx_length || in transfer_byte() 308 (p_xfer_desc->tx_length > 0 ? p_xfer_desc->p_tx_buffer[0] : p_cb->orc)); in spi_xfer() 314 if (p_xfer_desc->tx_length > 1) in spi_xfer() 352 NRFX_ASSERT(p_xfer_desc->p_tx_buffer != NULL || p_xfer_desc->tx_length == 0); in nrfx_spi_xfer()
|
| A D | nrfx_spim.c | 191 size_t tx_length; member 583 p_cb->tx_length = 0; in spim_xfer() 587 nrf_spim_tx_buffer_set(p_spim, p_xfer_desc->p_tx_buffer, p_xfer_desc->tx_length); in spim_xfer() 593 anomaly_198_enable(p_xfer_desc->p_tx_buffer, p_xfer_desc->tx_length); in spim_xfer() 609 p_cb->tx_length = p_xfer_desc->tx_length; in spim_xfer() 663 NRFX_ASSERT(p_xfer_desc->p_tx_buffer != NULL || p_xfer_desc->tx_length == 0); in nrfx_spim_xfer() 667 p_xfer_desc->tx_length)); in nrfx_spim_xfer() 744 p_spim->TXD.MAXCNT = p_cb->tx_length; in irq_handler()
|
Completed in 11 milliseconds