Home
last modified time | relevance | path

Searched refs:rxbuf (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c69 uint8_t rxbuf[32] = { 0 }; in async_verify() local
91 err = uart_rx_enable(dev, rxbuf, sizeof(rxbuf), 1 * USEC_PER_MSEC); in async_verify()
106 err = memcmp(txbuf, rxbuf, sizeof(txbuf)); in async_verify()
/Zephyr-latest/drivers/spi/
Dspi_rpi_pico_pio.c425 uint8_t *rxbuf = data->spi_ctx.rx_buf; in spi_pico_pio_txrx_4_wire() local
478 if (rxbuf) { in spi_pico_pio_txrx_4_wire()
479 sys_put_be32(txrx, rxbuf + (data->rx_count * 4)); in spi_pico_pio_txrx_4_wire()
487 if (rxbuf) { in spi_pico_pio_txrx_4_wire()
488 sys_put_be16(txrx, rxbuf + (data->rx_count * 2)); in spi_pico_pio_txrx_4_wire()
496 if (rxbuf) { in spi_pico_pio_txrx_4_wire()
497 ((uint8_t *)rxbuf)[data->rx_count] = (uint8_t)txrx; in spi_pico_pio_txrx_4_wire()
517 uint8_t *rxbuf = data->spi_ctx.rx_buf; in spi_pico_pio_txrx_3_wire() local
574 if (rxbuf) { in spi_pico_pio_txrx_3_wire()
593 sys_put_be32(txrx, rxbuf + (data->rx_count * 4)); in spi_pico_pio_txrx_3_wire()
[all …]
Dspi_pl022.c739 void *rxbuf = data->ctx.rx_buf; in spi_pl022_xfer() local
777 if (rxbuf) { in spi_pl022_xfer()
778 ((uint8_t *)rxbuf)[data->rx_count] = (uint8_t)txrx; in spi_pl022_xfer()