Home
last modified time | relevance | path

Searched refs:txbuf (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c68 char txbuf[] = "test"; in async_verify() local
95 err = uart_tx(dev, txbuf, sizeof(txbuf), 10 * USEC_PER_MSEC); in async_verify()
106 err = memcmp(txbuf, rxbuf, sizeof(txbuf)); in async_verify()
/Zephyr-latest/drivers/spi/
Dspi_rpi_pico_pio.c424 const uint8_t *txbuf = data->spi_ctx.tx_buf; in spi_pico_pio_txrx_4_wire() local
443 if (txbuf) { in spi_pico_pio_txrx_4_wire()
444 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_4_wire()
450 if (txbuf) { in spi_pico_pio_txrx_4_wire()
451 txrx = sys_get_be16(txbuf + (data->tx_count * 2)); in spi_pico_pio_txrx_4_wire()
457 if (txbuf) { in spi_pico_pio_txrx_4_wire()
458 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_4_wire()
516 const uint8_t *txbuf = data->spi_ctx.tx_buf; in spi_pico_pio_txrx_3_wire() local
526 if (txbuf) { in spi_pico_pio_txrx_3_wire()
546 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_3_wire()
[all …]
Dspi_pl022.c738 const void *txbuf = data->ctx.tx_buf; in spi_pl022_xfer() local
762 if (txbuf) { in spi_pl022_xfer()
763 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pl022_xfer()
/Zephyr-latest/tests/drivers/uart/uart_mix_fifo_poll/src/
Dmain.c46 static uint8_t txbuf[3][BUF_SIZE]; variable
326 init_buf(txbuf[i], sizeof(txbuf[i]), i); in ZTEST()
327 init_test_data(&test_data[i], txbuf[i], repeat); in ZTEST()