Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_emul.c74 size_t tx_buf_len; member
588 size_t tx_buf_len = 0; in uart_emul_async_tx_handler() local
594 tx_buf_len = data->tx_buf_len; in uart_emul_async_tx_handler()
602 tx_buf_len - tx_buf_offset); in uart_emul_async_tx_handler()
603 tx_done = written == (tx_buf_len - tx_buf_offset); in uart_emul_async_tx_handler()
609 data->tx_buf_len = 0; in uart_emul_async_tx_handler()
661 .len = tx_buf_len, in uart_emul_async_tx_handler()
751 data->tx_buf_len = len; in uart_emul_tx()
771 data->tx_buf_len = 0; in uart_emul_tx_abort()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spis.c115 const uint8_t *tx_buf, size_t tx_buf_len, in prepare_for_transfer() argument
121 if (tx_buf_len > dev_config->max_buf_len || in prepare_for_transfer()
124 tx_buf_len, rx_buf_len); in prepare_for_transfer()
129 tx_buf, tx_buf_len, in prepare_for_transfer()
Dspi_sam.c175 static void spi_sam_fast_tx(Spi *regs, const uint8_t *tx_buf, const uint32_t tx_buf_len) in spi_sam_fast_tx() argument
178 const uint8_t *pend = (uint8_t *)tx_buf + tx_buf_len; in spi_sam_fast_tx()
469 uint32_t tx_buf_len) in spi_sam_tx() argument
476 if ((tx_buf_len < SAM_SPI_DMA_THRESHOLD || cfg->dma_dev == NULL) && in spi_sam_tx()
479 spi_sam_fast_tx(regs, tx_buf, tx_buf_len); in spi_sam_tx()
482 return spi_sam_dma_txrx(dev, regs, tx_buf, NULL, tx_buf_len); in spi_sam_tx()
486 spi_sam_fast_tx(regs, tx_buf, tx_buf_len); in spi_sam_tx()