Home
last modified time | relevance | path

Searched refs:txrx (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_rpi_pico_pio.c447 uint32_t txrx; in spi_pico_pio_txrx_4_wire() local
460 txrx = 0; in spi_pico_pio_txrx_4_wire()
465 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_4_wire()
467 spi_pico_pio_sm_put32(data->pio, data->pio_sm, txrx); in spi_pico_pio_txrx_4_wire()
472 txrx = sys_get_be16(txbuf + (data->tx_count * 2)); in spi_pico_pio_txrx_4_wire()
474 spi_pico_pio_sm_put16(data->pio, data->pio_sm, txrx); in spi_pico_pio_txrx_4_wire()
479 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_4_wire()
481 spi_pico_pio_sm_put8(data->pio, data->pio_sm, txrx); in spi_pico_pio_txrx_4_wire()
496 txrx = spi_pico_pio_sm_get32(data->pio, data->pio_sm); in spi_pico_pio_txrx_4_wire()
500 sys_put_be32(txrx, rxbuf + (data->rx_count * 4)); in spi_pico_pio_txrx_4_wire()
[all …]
Dspi_pl022.c642 uint32_t txrx; in spi_pl022_async_xfer() local
646 txrx = SSP_READ_REG(SSP_DR(cfg->reg)); in spi_pl022_async_xfer()
650 *(((uint8_t *)ctx->rx_buf) + data->rx_count) = (uint8_t)txrx; in spi_pl022_async_xfer()
679 txrx = 0; in spi_pl022_async_xfer()
682 txrx = *(((uint8_t *)ctx->tx_buf) + data->tx_count); in spi_pl022_async_xfer()
684 SSP_WRITE_REG(SSP_DR(cfg->reg), txrx); in spi_pl022_async_xfer()
740 uint32_t txrx; in spi_pl022_xfer() local
760 txrx = 0; in spi_pl022_xfer()
763 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pl022_xfer()
765 SSP_WRITE_REG(SSP_DR(cfg->reg), txrx); in spi_pl022_xfer()
[all …]
Dspi_rtio.c112 rx_bufs[i].buf = sqe->txrx.rx_buf; in spi_rtio_iodev_default_submit_sync()
113 rx_bufs[i].len = sqe->txrx.buf_len; in spi_rtio_iodev_default_submit_sync()
114 tx_bufs[i].buf = (uint8_t *)sqe->txrx.tx_buf; in spi_rtio_iodev_default_submit_sync()
115 tx_bufs[i].len = sqe->txrx.buf_len; in spi_rtio_iodev_default_submit_sync()
Dspi_sam.c674 ret = spi_sam_txrx(dev, cfg->regs, sqe->txrx.tx_buf, sqe->txrx.rx_buf, in spi_sam_iodev_start()
675 sqe->txrx.buf_len); in spi_sam_iodev_start()
Dspi_max32.c284 len = sqe->txrx.buf_len; in spi_max32_transceive()
285 data->req.txData = (uint8_t *)sqe->txrx.tx_buf; in spi_max32_transceive()
286 data->req.rxData = sqe->txrx.rx_buf; in spi_max32_transceive()
/Zephyr-latest/subsys/rtio/
Drtio_handlers.c42 valid_sqe &= K_SYSCALL_MEMORY(sqe->txrx.tx_buf, sqe->txrx.buf_len, true); in rtio_vrfy_sqe()
43 valid_sqe &= K_SYSCALL_MEMORY(sqe->txrx.rx_buf, sqe->txrx.buf_len, true); in rtio_vrfy_sqe()
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Diso.rst12 cig_create :[dir=tx,rx,txrx] [interval] [packing] [framing] [latency] [sdu]
16 listen :<dir=tx,rx,txrx> [security level]
39 uart:~$ iso listen txrx
/Zephyr-latest/include/zephyr/rtio/
Drtio.h337 } txrx; member
714 sqe->txrx.buf_len = buf_len; in rtio_sqe_prep_transceive()
715 sqe->txrx.tx_buf = tx_buf; in rtio_sqe_prep_transceive()
716 sqe->txrx.rx_buf = rx_buf; in rtio_sqe_prep_transceive()