Home
last modified time | relevance | path

Searched refs:rx_data (Results 26 – 50 of 130) sorted by relevance

123456

/Zephyr-latest/samples/net/sockets/dumb_http_server/src/
Dsocket_dumb_http.c156 struct net_buf_pool *rx_data, *tx_data; in main() local
158 net_pkt_get_info(&rx, &tx, &rx_data, &tx_data); in main()
160 atomic_get(&rx_data->avail_count), atomic_get(&tx_data->avail_count)); in main()
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/
Dtest_buffers.h12 extern char rx_data[TEST_BUF_SIZE];
Dtest_buffers.c12 __aligned(32) char rx_data[TEST_BUF_SIZE] = { 0 };
/Zephyr-latest/drivers/dac/
Ddac_ad569x.c53 uint8_t rx_data[2]; in ad569x_read() local
56 ret = i2c_read_dt(&config->bus, rx_data, sizeof(rx_data)); in ad569x_read()
61 *value = sys_get_be16(rx_data); in ad569x_read()
/Zephyr-latest/tests/kernel/stack/stack/src/
Dmain.c279 stack_data_t rx_data[STACK_LEN] = { 0 }; in ZTEST() local
292 k_stack_pop(&stack3, &rx_data[i], K_FOREVER); in ZTEST()
295 zassert_true(rx_data[2] == tx_data[2], "wait forever and pop failed\n"); in ZTEST()
296 k_stack_pop(&stack3, &rx_data[3], K_MSEC(50)); in ZTEST()
297 zassert_true(rx_data[3] == tx_data[3], "Wait maximum time pop failed\n"); in ZTEST()
Dtest_stack_contexts.c39 stack_data_t rx_data; in tstack_pop() local
43 zassert_false(k_stack_pop(pstack, &rx_data, K_NO_WAIT)); in tstack_pop()
44 zassert_equal(rx_data, data[i]); in tstack_pop()
/Zephyr-latest/drivers/input/
Dinput_paw32xx.c161 uint8_t rx_data[sizeof(tx_data)]; in paw32xx_read_xy() local
173 .buf = rx_data, in paw32xx_read_xy()
174 .len = sizeof(rx_data), in paw32xx_read_xy()
186 *x = ((rx_data[5] << 4) & 0xf00) | rx_data[1]; in paw32xx_read_xy()
187 *y = ((rx_data[5] << 8) & 0xf00) | rx_data[3]; in paw32xx_read_xy()
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c81 static __aligned(32) int32_t rx_data[XFERS][BUF_SIZE] = { { 0 } };
168 memset(rx_data, 0, sizeof(rx_data)); in config_input_dma()
172 dma_block_cfgs_rx[i].dest_address = (uint32_t)rx_data[i]; in config_input_dma()
197 buffer[i] = rx_data[0][i]; in check_transmission()
198 buffer[BUF_SIZE + i] = rx_data[1][i]; in check_transmission()
/Zephyr-latest/tests/drivers/uart/uart_emul/src/
Dbus.c332 uint8_t rx_data[5]; in ZTEST_F() local
334 memset(rx_data, 1, sizeof(rx_data)); in ZTEST_F()
340 uart_emul_put_rx_data(fixture->dev, rx_data, sizeof(rx_data)); in ZTEST_F()
348 uart_emul_put_rx_data(fixture->dev, rx_data, sizeof(rx_data)); in ZTEST_F()
/Zephyr-latest/drivers/sensor/sensirion/scd4x/
Dscd4x.c100 uint8_t rx_data[3]; in scd4x_data_ready() local
110 ret = scd4x_read_reg(dev, rx_data, sizeof(rx_data)); in scd4x_data_ready()
116 uint16_t word = sys_get_be16(rx_data); in scd4x_data_ready()
128 uint8_t rx_data[9]; in scd4x_read_sample() local
137 ret = scd4x_read_reg(dev, rx_data, sizeof(rx_data)); in scd4x_read_sample()
143 data->co2_sample = sys_get_be16(rx_data); in scd4x_read_sample()
144 data->temp_sample = sys_get_be16(&rx_data[3]); in scd4x_read_sample()
145 data->humi_sample = sys_get_be16(&rx_data[6]); in scd4x_read_sample()
/Zephyr-latest/drivers/spi/
Dspi_mcux_ecspi.c38 uint32_t rx_data; member
73 transfer.rxData = &data->rx_data; in spi_mcux_transfer_next_packet()
124 UNALIGNED_PUT(data->rx_data, (uint8_t *)data->ctx.rx_buf); in spi_mcux_master_transfer_callback()
127 UNALIGNED_PUT(data->rx_data, (uint16_t *)data->ctx.rx_buf); in spi_mcux_master_transfer_callback()
130 UNALIGNED_PUT(data->rx_data, (uint32_t *)data->ctx.rx_buf); in spi_mcux_master_transfer_callback()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc13xx_cc26xx.c410 len = drv_data->rx_data[i][0]; in ieee802154_cc13xx_cc26xx_rx_done()
411 sdu = drv_data->rx_data[i] + 1; in ieee802154_cc13xx_cc26xx_rx_done()
412 seq = drv_data->rx_data[i][3]; in ieee802154_cc13xx_cc26xx_rx_done()
413 corr = drv_data->rx_data[i][len--] & 0x3F; in ieee802154_cc13xx_cc26xx_rx_done()
414 rssi = drv_data->rx_data[i][len--]; in ieee802154_cc13xx_cc26xx_rx_done()
549 drv_data->rx_entry[0].length = sizeof(drv_data->rx_data[0]); in ieee802154_cc13xx_cc26xx_data_init()
550 drv_data->rx_entry[0].pData = drv_data->rx_data[0]; in ieee802154_cc13xx_cc26xx_data_init()
555 drv_data->rx_entry[1].length = sizeof(drv_data->rx_data[1]); in ieee802154_cc13xx_cc26xx_data_init()
556 drv_data->rx_entry[1].pData = drv_data->rx_data[1]; in ieee802154_cc13xx_cc26xx_data_init()
Dieee802154_cc13xx_cc26xx_subg.h48 uint8_t rx_data[CC13XX_CC26XX_NUM_RX_BUF][CC13XX_CC26XX_RX_BUF_SIZE]; member
Dieee802154_cc13xx_cc26xx.h74 uint8_t rx_data[CC13XX_CC26XX_NUM_RX_BUF] member
/Zephyr-latest/drivers/i2c/
Di2c_sc18im704.h80 uint8_t *rx_data, uint8_t rx_len);
Di2c_sc18im704.c49 uint8_t *rx_data, uint8_t rx_len) in sc18im704_transfer() argument
66 if (rx_data != NULL) { in sc18im704_transfer()
74 ret = uart_poll_in(cfg->bus, &rx_data[i]); in sc18im704_transfer()
/Zephyr-latest/include/zephyr/drivers/uart/
Duart_internal.h88 int (*fifo_read)(const struct device *dev, uint8_t *rx_data, const int size);
91 int (*fifo_read_u16)(const struct device *dev, uint16_t *rx_data, const int size);
270 static inline int uart_fifo_read(const struct device *dev, uint8_t *rx_data, const int size) in uart_fifo_read() argument
279 return api->fifo_read(dev, rx_data, size); in uart_fifo_read()
282 ARG_UNUSED(rx_data); in uart_fifo_read()
288 static inline int uart_fifo_read_u16(const struct device *dev, uint16_t *rx_data, const int size) in uart_fifo_read_u16() argument
297 return api->fifo_read_u16(dev, rx_data, size); in uart_fifo_read_u16()
300 ARG_UNUSED(rx_data); in uart_fifo_read_u16()
/Zephyr-latest/drivers/w1/
Dw1_zephyr_serial.c70 uint8_t *rx_data, size_t len, uint32_t timeout) in serial_tx_rx() argument
78 __ASSERT_NO_MSG(rx_data != NULL); in serial_tx_rx()
89 ret = uart_poll_in(cfg->uart_dev, &rx_data[i]); in serial_tx_rx()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c262 struct lsm6dsv16x_fifo_data *rx_data = (struct lsm6dsv16x_fifo_data *)buf; in lsm6dsv16x_read_fifo_cb() local
265 rx_data->header.is_fifo = 1; in lsm6dsv16x_read_fifo_cb()
266 rx_data->header.timestamp = lsm6dsv16x->fifo_timestamp; in lsm6dsv16x_read_fifo_cb()
267 rx_data->int_status = lsm6dsv16x->fifo_status[1]; in lsm6dsv16x_read_fifo_cb()
268 rx_data->fifo_count = 0; in lsm6dsv16x_read_fifo_cb()
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c320 struct adxl345_fifo_data *rx_data = (struct adxl345_fifo_data *)buf; in adxl345_process_status1_cb() local
323 rx_data->is_fifo = 1; in adxl345_process_status1_cb()
324 rx_data->timestamp = data->timestamp; in adxl345_process_status1_cb()
325 rx_data->int_status = status1; in adxl345_process_status1_cb()
326 rx_data->fifo_byte_count = 0; in adxl345_process_status1_cb()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c349 struct adxl362_fifo_data *rx_data = (struct adxl362_fifo_data *)buf; in adxl362_process_status_cb() local
352 rx_data->is_fifo = 1; in adxl362_process_status_cb()
353 rx_data->timestamp = data->timestamp; in adxl362_process_status_cb()
354 rx_data->int_status = status; in adxl362_process_status_cb()
355 rx_data->fifo_byte_count = 0; in adxl362_process_status_cb()
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_contexts.c52 uint32_t rx_data, read_data; in get_msgq() local
58 ret = k_msgq_get(pmsgq, &rx_data, K_FOREVER); in get_msgq()
60 zassert_equal(rx_data, data[i]); in get_msgq()
63 zassert_equal(read_data, rx_data); in get_msgq()
/Zephyr-latest/include/zephyr/shell/
Dshell_uart.h66 uint8_t rx_data[ASYNC_RX_BUF_SIZE]; member
/Zephyr-latest/drivers/serial/
Duart_altera_jtag.c241 static int uart_altera_jtag_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_altera_jtag_fifo_read() argument
250 __ASSERT(rx_data != NULL, "Rx buffer is null pointer!"); in uart_altera_jtag_fifo_read()
253 if (rx_data == NULL) { in uart_altera_jtag_fifo_read()
263 rx_data[i] = (input_data & UART_DATA_MASK) >> in uart_altera_jtag_fifo_read()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c389 struct adxl372_fifo_data *rx_data = (struct adxl372_fifo_data *)buf; in adxl372_process_status1_cb() local
392 rx_data->is_fifo = 1; in adxl372_process_status1_cb()
393 rx_data->timestamp = data->timestamp; in adxl372_process_status1_cb()
394 rx_data->int_status = status1; in adxl372_process_status1_cb()
395 rx_data->fifo_byte_count = 0; in adxl372_process_status1_cb()

123456