Home
last modified time | relevance | path

Searched refs:rx_buf (Results 151 – 175 of 266) sorted by relevance

1234567891011

/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a.h214 struct r502a_buf rx_buf; member
Dgrow_r502a.c57 drv_data->rx_buf.data = rx_packet->buf; in transceive_packet()
58 drv_data->rx_buf.len = 0; in transceive_packet()
150 int offset = drv_data->rx_buf.len; in uart_cb_handler()
158 len = uart_fifo_read(dev, &drv_data->rx_buf.data[offset], in uart_cb_handler()
161 drv_data->rx_buf.len = offset; in uart_cb_handler()
170 &drv_data->rx_buf.data[R502A_PKG_LEN_IDX] in uart_cb_handler()
175 LOG_HEXDUMP_DBG(drv_data->rx_buf.data, offset, "RX"); in uart_cb_handler()
/Zephyr-latest/include/zephyr/shell/
Dshell_websocket.h45 uint8_t rx_buf[CONFIG_SHELL_CMD_BUFF_SIZE]; member
/Zephyr-latest/drivers/spi/
Dspi_bitbang.c213 *(uint16_t *)(ctx->rx_buf) = r; in spi_bitbang_transceive()
216 *(uint8_t *)(ctx->rx_buf) = r; in spi_bitbang_transceive()
Dspi_xmc4xxx.c155 *ctx->rx_buf = rx_data; in spi_xmc4xxx_shift_frames()
171 *ctx->rx_buf = rx_data; in spi_xmc4xxx_isr()
400 if (ctx->rx_buf) { in spi_xmc4xxx_transceive_dma()
404 dma_rx->blk_cfg.dest_address = (uint32_t)ctx->rx_buf; in spi_xmc4xxx_transceive_dma()
Dspi_numaker.c206 if (ctx->rx_buf != NULL) { in spi_numaker_txrx()
207 UNALIGNED_PUT(rx_frame, (uint8_t *)data->ctx.rx_buf); in spi_numaker_txrx()
/Zephyr-latest/include/zephyr/drivers/
Dmipi_dsi.h118 void *rx_buf; member
/Zephyr-latest/subsys/rtio/
Drtio_handlers.c43 valid_sqe &= K_SYSCALL_MEMORY(sqe->txrx.rx_buf, sqe->txrx.buf_len, true); in rtio_vrfy_sqe()
/Zephyr-latest/drivers/i2c/
Di2c_max32_rtio.c128 req->rx_buf = (unsigned char *)buf; in max32_msg_start()
136 req->rx_buf = NULL; in max32_msg_start()
239 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_isr_controller()
Di2c_max32.c240 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_transfer_sync()
454 req->rx_buf = (unsigned char *)msgs[i].buf; in i2c_max32_transfer()
462 req->rx_buf = NULL; in i2c_max32_transfer()
545 req->rx_buf = (unsigned char *)msgs[i].buf; in i2c_max32_transfer()
553 req->rx_buf = NULL; in i2c_max32_transfer()
754 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_isr_controller()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.c151 struct spi_buf rx_buf[] = { in mcp2515_cmd_read_reg() local
156 .buffers = rx_buf, .count = ARRAY_SIZE(rx_buf) in mcp2515_cmd_read_reg()
189 struct spi_buf rx_buf[] = { in mcp2515_cmd_read_rx_buffer() local
194 .buffers = rx_buf, .count = ARRAY_SIZE(rx_buf) in mcp2515_cmd_read_rx_buffer()
/Zephyr-latest/drivers/sensor/maxim/max31865/
Dmax31865.c30 struct spi_buf rx_buf[] = {{ in max31865_spi_read() local
35 const struct spi_buf_set rx = {.buffers = rx_buf, .count = 2}; in max31865_spi_read()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_uart_pipe.c128 upipe->rx_buf[upipe->rx_off++] = *buf; in upipe_rx()
138 if (net_pkt_write(pkt, upipe->rx_buf, upipe->rx_len)) { in upipe_rx()
/Zephyr-latest/drivers/input/
Dinput_pmw3610.c133 struct spi_buf rx_buf[] = { in pmw3610_read() local
144 .buffers = rx_buf, in pmw3610_read()
145 .count = ARRAY_SIZE(rx_buf), in pmw3610_read()
/Zephyr-latest/doc/connectivity/networking/api/
Dmqtt_sn.rst81 uint8_t rx_buf[256];
85 …n_client_init(&client, &client_id, &tp.tp, evt_cb, tx_buf, sizeof(tx_buf), rx_buf, sizeof(rx_buf));
/Zephyr-latest/drivers/adc/
Dadc_lmp90xxx.c178 struct spi_buf rx_buf[2]; in lmp90xxx_read_reg() local
213 rx_buf[0].buf = NULL; in lmp90xxx_read_reg()
214 rx_buf[0].len = dummy; in lmp90xxx_read_reg()
217 rx_buf[1].buf = dptr; in lmp90xxx_read_reg()
218 rx_buf[1].len = len; in lmp90xxx_read_reg()
222 rx.buffers = rx_buf; in lmp90xxx_read_reg()
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c148 struct spi_buf rx_buf[1]; in eth_adin2111_oa_spi_xfer() local
155 rx_buf[0].buf = buf_rx; in eth_adin2111_oa_spi_xfer()
156 rx_buf[0].len = len; in eth_adin2111_oa_spi_xfer()
158 rx.buffers = rx_buf; in eth_adin2111_oa_spi_xfer()
440 const struct spi_buf rx_buf = { .buf = buf, .len = header_len + read_len }; in eth_adin2111_reg_read_generic() local
442 const struct spi_buf_set rx = { .buffers = &rx_buf, .count = 1U }; in eth_adin2111_reg_read_generic()
575 const struct spi_buf rx_buf[3] = { in adin2111_read_fifo() local
582 .buffers = rx_buf, in adin2111_read_fifo()
Deth_esp32.c34 uint8_t rx_buf[CONFIG_ETH_DMA_RX_BUFFER_NUM][CONFIG_ETH_DMA_BUFFER_SIZE]; member
254 dev_data->dma_rx_buf[i] = dev_data->dma->rx_buf[i]; in eth_esp32_initialize()
Deth_enc424j600.c78 struct spi_buf rx_buf = { in enc424j600_read_sfru() local
83 .buffers = &rx_buf, in enc424j600_read_sfru()
198 struct spi_buf rx_buf[2] = { in enc424j600_read_mem() local
209 .buffers = rx_buf, in enc424j600_read_mem()
/Zephyr-latest/drivers/sensor/maxim/ds18b20/
Dds18b20.c99 static inline bool slave_responded(uint8_t *rx_buf, size_t len) in slave_responded() argument
104 cmp_byte &= rx_buf[i]; in slave_responded()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_async.c95 if (evt->data.rx_buf.buf == backend->async.receive_bufs[0]) { in modem_backend_uart_async_event_handler()
102 if (evt->data.rx_buf.buf == backend->async.receive_bufs[1]) { in modem_backend_uart_async_event_handler()
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_loopback.c304 char rx_buf[BLOCK_SIZE]; in ZTEST_USER() local
338 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER()
/Zephyr-latest/drivers/mfd/
Dmfd_tle9104.c170 const struct spi_buf rx_buf[] = {{ in tle9104_transceive_frame() local
179 .buffers = rx_buf, in tle9104_transceive_frame()
180 .count = ARRAY_SIZE(rx_buf), in tle9104_transceive_frame()
/Zephyr-latest/subsys/shell/backends/
Dshell_uart.c61 uart_async_rx_on_buf_rel(&sh_uart->async_rx, evt->data.rx_buf.buf); in async_callback()
216 sh_uart->rx_buf); in irq_init()
284 sh_uart->rx_buf); in polling_init()
/Zephyr-latest/drivers/misc/coresight/
Dnrf_etr.c143 static uint8_t rx_buf[RX_BUF_SIZE] DMM_MEMORY_SECTION(UART_NODE);
728 uart_async_rx_on_buf_rel(&async_rx, evt->data.rx_buf.buf); in uart_event_handler()
902 .buffer = rx_buf, in etr_shell_init()
903 .length = sizeof(rx_buf), in etr_shell_init()

1234567891011