Home
last modified time | relevance | path

Searched refs:tx_buf (Results 151 – 175 of 229) sorted by relevance

12345678910

/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_pt6314.c75 struct spi_buf tx_buf[] = {{.buf = buf, .len = sizeof(buf)}}; in auxdisplay_pt6314_spi_write() local
76 const struct spi_buf_set tx = {.buffers = tx_buf, .count = 1}; in auxdisplay_pt6314_spi_write()
/Zephyr-latest/drivers/gpio/
Dgpio_sx1509b.c165 uint8_t tx_buf[3] = { reg_addr, value >> 8, value & 0xff }; in i2c_reg_write_word_be() local
167 return i2c_write_dt(bus, tx_buf, 3); in i2c_reg_write_word_be()
183 uint8_t tx_buf[3] = { reg_addr, value }; in i2c_reg_write_byte_be() local
185 return i2c_write_dt(bus, tx_buf, 2); in i2c_reg_write_byte_be()
/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c53 const struct spi_buf tx_buf = { in dsa_ksz8xxx_write_reg() local
58 .buffers = &tx_buf, in dsa_ksz8xxx_write_reg()
76 const struct spi_buf tx_buf = { in dsa_ksz8xxx_read_reg() local
81 .buffers = &tx_buf, in dsa_ksz8xxx_read_reg()
Deth_adin2111.c147 struct spi_buf tx_buf[1]; in eth_adin2111_oa_spi_xfer() local
153 tx_buf[0].buf = buf_tx; in eth_adin2111_oa_spi_xfer()
154 tx_buf[0].len = len; in eth_adin2111_oa_spi_xfer()
160 tx.buffers = tx_buf; in eth_adin2111_oa_spi_xfer()
439 const struct spi_buf tx_buf = { .buf = buf, .len = header_len + read_len }; in eth_adin2111_reg_read_generic() local
441 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1U }; in eth_adin2111_reg_read_generic()
574 const struct spi_buf tx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adin2111_read_fifo() local
580 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1U }; in adin2111_read_fifo()
Deth_esp32.c35 uint8_t tx_buf[CONFIG_ETH_DMA_TX_BUFFER_NUM][CONFIG_ETH_DMA_BUFFER_SIZE]; member
257 dev_data->dma_tx_buf[i] = dev_data->dma->tx_buf[i]; in eth_esp32_initialize()
/Zephyr-latest/drivers/spi/
Dspi_smartbond.c131 cfg->regs->SPI_RX_TX_REG = *(uint8_t *)data->ctx.tx_buf; in spi_smartbond_write_word()
134 cfg->regs->SPI_RX_TX_REG = sys_get_le16(data->ctx.tx_buf); in spi_smartbond_write_word()
137 cfg->regs->SPI_RX_TX_REG = sys_get_le32(data->ctx.tx_buf); in spi_smartbond_write_word()
520 if (ctx->tx_buf) { in spi_smartbond_transfer()
970 tx_block->source_address = (uint32_t)ctx->tx_buf; in spi_smartbond_dma_trigger()
994 if (ctx->tx_buf) { in spi_smartbond_dma_trigger()
995 tx_block->source_address = (uint32_t)ctx->tx_buf; in spi_smartbond_dma_trigger()
Dspi_mcux_flexcomm.c101 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
106 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
114 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
122 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
570 ret = spi_mcux_dma_tx_load(dev, data->ctx.tx_buf, spi_cfg, in spi_mcux_dma_move_buffers()
Dspi_numaker.c174 tx_frame = ((ctx->tx_buf == NULL) ? SPI_NUMAKER_TX_NOP in spi_numaker_txrx()
175 : UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf))); in spi_numaker_txrx()
Dspi_xlnx_axi_quadspi.c276 dtr = UNALIGNED_GET((uint8_t *)(ctx->tx_buf)); in xlnx_quadspi_start_tx()
279 dtr = UNALIGNED_GET((uint16_t *)(ctx->tx_buf)); in xlnx_quadspi_start_tx()
282 dtr = UNALIGNED_GET((uint32_t *)(ctx->tx_buf)); in xlnx_quadspi_start_tx()
Dspi_ambiq_spid.c202 if (ctx->tx_buf) { in spi_ambiq_xfer()
205 (uint8_t *)ctx->tx_buf, chunk, in spi_ambiq_xfer()
Dspi_npcx_spip.c150 *tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_npcx_spip_process_tx_buf()
152 *tx_frame = UNALIGNED_GET((uint16_t *)(data->ctx.tx_buf)); in spi_npcx_spip_process_tx_buf()
Dspi_oc_simple.c128 sys_write8(*ctx->tx_buf, in spi_oc_simple_transceive()
Dspi_dw.c110 (spi->ctx.tx_buf)); in push_data()
114 (spi->ctx.tx_buf)); in push_data()
118 (spi->ctx.tx_buf)); in push_data()
Dspi_xmc4xxx.c119 tx_data = ctx->tx_buf[0]; in spi_xmc4xxx_shift_frames()
429 if (ctx->tx_buf) { in spi_xmc4xxx_transceive_dma()
430 dma_tx->blk_cfg.source_address = (uint32_t)ctx->tx_buf; in spi_xmc4xxx_transceive_dma()
Dspi_ambiq_bleif.c109 trans.pui32Data = (uint32_t *)ctx->tx_buf; in spi_ambiq_xfer()
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_mcux_2l.c109 data->smartdma_params.p_buffer = msg->tx_buf; in dsi_mcux_tx_color()
164 .txData = msg->tx_buf, in dsi_mcux_tx_color()
389 dsi_xfer.txData = msg->tx_buf; in dsi_mcux_transfer()
/Zephyr-latest/doc/connectivity/networking/api/
Dmqtt_sn.rst80 uint8_t tx_buf[256];
85 …mqtt_sn_client_init(&client, &client_id, &tp.tp, evt_cb, tx_buf, sizeof(tx_buf), rx_buf, sizeof(rx…
/Zephyr-latest/drivers/mfd/
Dmfd_tle9104.c166 const struct spi_buf tx_buf[] = {{ in tle9104_transceive_frame() local
175 .buffers = tx_buf, in tle9104_transceive_frame()
176 .count = ARRAY_SIZE(tx_buf), in tle9104_transceive_frame()
/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c69 struct spi_buf tx_buf = {.buf = &spi_data->header[1], .len = MCP251XFD_SPI_CMD_LEN + len}; in mcp251xfd_read_reg() local
72 const struct spi_buf_set tx = {.buffers = &tx_buf, .count = 1}; in mcp251xfd_read_reg()
94 struct spi_buf tx_buf = {.buf = &spi_data->header[0], in mcp251xfd_read_crc() local
104 const struct spi_buf_set tx = {.buffers = &tx_buf, .count = 1}; in mcp251xfd_read_crc()
150 struct spi_buf tx_buf = {.buf = &spi_data->header[1], .len = MCP251XFD_SPI_CMD_LEN + len}; in mcp251xfd_write() local
151 const struct spi_buf_set tx = {.buffers = &tx_buf, .count = 1}; in mcp251xfd_write()
1490 const struct spi_buf tx_buf = {.buf = &cmd, .len = sizeof(cmd),}; in mcp251xfd_reset() local
1491 const struct spi_buf_set tx = {.buffers = &tx_buf, .count = 1}; in mcp251xfd_reset()
/Zephyr-latest/drivers/serial/
Duart_sam0.c75 const uint8_t *tx_buf; member
157 .buf = dev_data->tx_buf, in uart_sam0_tx_halt()
162 dev_data->tx_buf = NULL; in uart_sam0_tx_halt()
735 .buf = dev_data->tx_buf, in uart_sam0_isr()
740 dev_data->tx_buf = NULL; in uart_sam0_isr()
990 dev_data->tx_buf = buf; in uart_sam0_tx()
Duart_esp32.c97 const uint8_t *tx_buf; member
640 evt.data.tx.buf = data->async.tx_buf; in uart_esp32_dma_tx_done()
647 data->async.tx_buf = NULL; in uart_esp32_dma_tx_done()
669 evt.data.tx.buf = data->async.tx_buf; in uart_esp32_async_tx_abort()
763 data->async.tx_buf = buf; in uart_esp32_async_tx()
/Zephyr-latest/tests/subsys/modem/mock/
Dmodem_backend_mock.c112 ring_buf_init(&mock->tx_rb, config->tx_buf_size, config->tx_buf); in modem_backend_mock_init()
/Zephyr-latest/drivers/led/
Dlp5562.c927 uint8_t tx_buf[4] = { in lp5562_led_update_current() local
933 ret = i2c_write_dt(&config->bus, tx_buf, sizeof(tx_buf)); in lp5562_led_update_current()
/Zephyr-latest/include/zephyr/rtio/
Drtio.h335 const uint8_t *tx_buf; /**< Buffer to write from */ member
705 const uint8_t *tx_buf, in rtio_sqe_prep_transceive() argument
715 sqe->txrx.tx_buf = tx_buf; in rtio_sqe_prep_transceive()
/Zephyr-latest/include/zephyr/net/
Dmqtt.h539 uint8_t *tx_buf; member

12345678910