Home
last modified time | relevance | path

Searched refs:rx_data (Results 1 – 25 of 72) sorted by relevance

123

/Zephyr-Core-2.7.6/tests/kernel/fifo/fifo_usage/src/
Dmain.c72 void *rx_data; in tIsr_entry_get() local
77 rx_data = k_fifo_get((struct k_fifo *)p, K_NO_WAIT); in tIsr_entry_get()
78 zassert_equal(rx_data, (void *)&data_isr[i], NULL); in tIsr_entry_get()
85 void *rx_data; in thread_entry_fn_single() local
90 rx_data = k_fifo_get((struct k_fifo *)p1, K_NO_WAIT); in thread_entry_fn_single()
91 zassert_equal(rx_data, (void *)&data1[i], NULL); in thread_entry_fn_single()
105 void *rx_data; in thread_entry_fn_dual() local
110 rx_data = k_fifo_get((struct k_fifo *)p2, K_FOREVER); in thread_entry_fn_dual()
111 zassert_equal(rx_data, (void *)&data2[i], NULL); in thread_entry_fn_dual()
146 void *rx_data; in test_single_fifo_play() local
[all …]
/Zephyr-Core-2.7.6/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c40 static __aligned(16) char rx_data[TRANSFER_LOOPS][RX_BUFF_SIZE] __used
46 static __aligned(16) char rx_data[TRANSFER_LOOPS][RX_BUFF_SIZE] = { { 0 } };
62 dma_block_cfg.dest_address = (uint64_t)rx_data[transfer_count]; in test_transfer()
65 dma_block_cfg.dest_address = (uint32_t)rx_data[transfer_count]; in test_transfer()
107 memset(rx_data, 0, sizeof(rx_data)); in test_loop()
142 dma_block_cfg.dest_address = (uint32_t)rx_data[transfer_count]; in test_loop()
168 TC_PRINT("RX data Loop %d: %s\n", i, rx_data[i]); in test_loop()
169 if (strncmp(tx_data, rx_data[i], sizeof(rx_data[i])) != 0) { in test_loop()
/Zephyr-Core-2.7.6/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c31 static __aligned(32) char rx_data[RX_BUFF_SIZE] __used
35 static char rx_data[RX_BUFF_SIZE] = { 0 }; variable
80 (void)memset(rx_data, 0, sizeof(rx_data)); in test_task()
84 dma_block_cfg.dest_address = (uint64_t)rx_data; in test_task()
87 dma_block_cfg.dest_address = (uint32_t)rx_data; in test_task()
100 TC_PRINT("%s\n", rx_data); in test_task()
101 if (strcmp(tx_data, rx_data) != 0) in test_task()
/Zephyr-Core-2.7.6/tests/drivers/dma/chan_link_transfer/src/
Dtest_dma.c33 static __aligned(32) char rx_data[RX_BUFF_SIZE] __used
39 static char rx_data[RX_BUFF_SIZE] = { 0 }; variable
86 (void)memset(rx_data, 0, sizeof(rx_data)); in test_task()
114 dma_block_cfg.dest_address = (uint64_t)rx_data; in test_task()
117 dma_block_cfg.dest_address = (uint32_t)rx_data; in test_task()
130 TC_PRINT("%s\n", rx_data); in test_task()
/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_fail.c70 unsigned char rx_data[PIPE_LEN]; in get_fail() local
74 zassert_equal(k_pipe_get(p, rx_data, PIPE_LEN, &rd_byte, 1, in get_fail()
78 zassert_equal(k_pipe_get(p, rx_data, PIPE_LEN, &rd_byte, 1, in get_fail()
81 zassert_equal(k_pipe_get(p, rx_data, PIPE_LEN, &rd_byte, 1, in get_fail()
146 unsigned char rx_data[PIPE_LEN]; in test_pipe_get_null() local
150 k_pipe_get(NULL, rx_data, PIPE_LEN, in test_pipe_get_null()
191 unsigned char rx_data[PIPE_LEN]; in test_pipe_get_unreach_size() local
197 k_pipe_get(p, rx_data, PIPE_LEN, in test_pipe_get_unreach_size()
Dtest_pipe_contexts.c63 unsigned char rx_data[PIPE_LEN]; in tpipe_get() local
71 zassert_false(k_pipe_get(ppipe, &rx_data[i], to_rd, in tpipe_get()
76 zassert_equal(rx_data[i], data[i], NULL); in tpipe_get()
153 unsigned char rx_data[PIPE_LEN]; in tpipe_get_small_size() local
160 zassert_false(k_pipe_get(ppipe, &rx_data[i], to_rd, in tpipe_get_small_size()
168 unsigned char rx_data[PIPE_LEN]; in tpipe_get_large_size() local
176 zassert_false(k_pipe_get(ppipe, &rx_data[i], to_rd, in tpipe_get_large_size()
352 unsigned char rx_data[PIPE_LEN]; in test_half_pipe_put_get() local
357 ret = k_pipe_put(&kpipe, &rx_data[0], 1, &rd_byte, 24, K_NO_WAIT); in test_half_pipe_put_get()
359 ret = k_pipe_put(&kpipe, &rx_data[0], 24, NULL, 1, K_NO_WAIT); in test_half_pipe_put_get()
[all …]
/Zephyr-Core-2.7.6/tests/boards/intel_s1000_crb/main/src/
Ddma_test.c72 static char rx_data[RX_BUFF_SIZE] = { 0 }; variable
80 .destination = rx_data,
132 .dest_address = (uint32_t)rx_data, in test_task()
162 (void)memset(rx_data, 0, sizeof(rx_data)); in test_task()
193 z_xtensa_cache_inv(rx_data, RX_BUFF_SIZE); in test_task()
219 if (strcmp(tx_data, rx_data) != 0) { in test_task()
222 printk("%s\n", rx_data); in test_task()
/Zephyr-Core-2.7.6/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_contexts.c48 void *rx_data; in tfifo_get() local
53 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
54 zassert_equal(rx_data, (void *)&data[i], NULL); in tfifo_get()
58 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
59 zassert_equal(rx_data, (void *)&data_l[i], NULL); in tfifo_get()
63 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
64 zassert_equal(rx_data, (void *)&data_sl[i], NULL); in tfifo_get()
Dtest_fifo_loop.c29 void *rx_data; in tfifo_get() local
34 rx_data = k_fifo_get(pfifo, K_NO_WAIT); in tfifo_get()
35 zassert_equal(rx_data, (void *)&data[i], NULL); in tfifo_get()
/Zephyr-Core-2.7.6/tests/kernel/stack/stack/src/
Dtest_stack_fail.c22 stack_data_t rx_data; in stack_pop_fail() local
25 zassert_equal(k_stack_pop(stack, &rx_data, K_NO_WAIT), -EBUSY, NULL); in stack_pop_fail()
27 zassert_equal(k_stack_pop(stack, &rx_data, TIMEOUT), -EAGAIN, NULL); in stack_pop_fail()
59 stack_data_t rx_data[STACK_LEN - 1]; in test_stack_cleanup_error() local
65 rx_data, NULL, K_PRIO_PREEMPT(0), 0, in test_stack_cleanup_error()
Dmain.c311 stack_data_t rx_data[STACK_LEN] = { 0 }; in test_stack_pop_can_wait() local
324 k_stack_pop(&stack3, &rx_data[i], K_FOREVER); in test_stack_pop_can_wait()
327 zassert_true(rx_data[2] == tx_data[2], "wait foreve and pop failed\n"); in test_stack_pop_can_wait()
328 k_stack_pop(&stack3, &rx_data[3], K_MSEC(50)); in test_stack_pop_can_wait()
329 zassert_true(rx_data[3] == tx_data[3], "Wait maxmum time pop failed\n"); in test_stack_pop_can_wait()
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), NULL); in tstack_pop()
44 zassert_equal(rx_data, data[i], NULL); in tstack_pop()
/Zephyr-Core-2.7.6/tests/kernel/queue/src/
Dtest_queue_loop.c41 void *rx_data; in tqueue_get() local
46 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get()
47 zassert_equal(rx_data, (void *)&data_p[i], NULL); in tqueue_get()
53 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get()
54 zassert_equal(rx_data, (void *)&data[i], NULL); in tqueue_get()
Dtest_queue_contexts.c67 void *rx_data; in tqueue_get() local
72 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get()
73 zassert_equal(rx_data, (void *)&data_p[i], NULL); in tqueue_get()
78 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get()
79 zassert_equal(rx_data, (void *)&data[i], NULL); in tqueue_get()
83 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get()
84 zassert_equal(rx_data, (void *)&data_l[i], NULL); in tqueue_get()
88 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get()
89 zassert_equal(rx_data, (void *)&data_sl[i], NULL); in tqueue_get()
/Zephyr-Core-2.7.6/tests/boards/altera_max10/msgdma/src/
Ddma.c24 static char rx_data[DMA_BUFF_SIZE]; variable
74 dma_block_cfg.dest_address = (uint32_t)rx_data; in test_msgdma()
91 z_nios2_dcache_flush_no_writeback(rx_data, DMA_BUFF_SIZE); in test_msgdma()
96 zassert_true(!memcmp(&tx_data, &rx_data, DMA_BUFF_SIZE), in test_msgdma()
/Zephyr-Core-2.7.6/drivers/dac/
Ddac_mcp4725.c43 uint8_t rx_data[5]; in mcp4725_wait_until_ready() local
50 ret = i2c_read(dev, rx_data, sizeof(rx_data), i2c_addr); in mcp4725_wait_until_ready()
53 mcp4725_ready = rx_data[0] & MCP4725_READ_RDY_MASK; in mcp4725_wait_until_ready()
/Zephyr-Core-2.7.6/samples/basic/threads/src/
Dmain.c103 struct printk_data_t *rx_data = k_fifo_get(&printk_fifo, in uart_out() local
106 rx_data->led, rx_data->cnt); in uart_out()
107 k_free(rx_data); in uart_out()
/Zephyr-Core-2.7.6/tests/kernel/lifo/lifo_api/src/
Dtest_lifo_loop.c29 void *rx_data; in tlifo_get() local
34 rx_data = k_lifo_get(plifo, K_FOREVER); in tlifo_get()
35 zassert_equal(rx_data, (void *)&data[i], NULL); in tlifo_get()
Dtest_lifo_contexts.c31 void *rx_data; in tlifo_get() local
36 rx_data = k_lifo_get(plifo, K_FOREVER); in tlifo_get()
37 zassert_equal(rx_data, (void *)&data[i], NULL); in tlifo_get()
/Zephyr-Core-2.7.6/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_fail.c31 uint32_t rx_data; in get_fail() local
34 int ret = k_msgq_get(q, &rx_data, K_NO_WAIT); in get_fail()
38 ret = k_msgq_get(q, &rx_data, TIMEOUT); in get_fail()
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], NULL); in get_msgq()
63 zassert_equal(read_data, rx_data, NULL); in get_msgq()
/Zephyr-Core-2.7.6/samples/net/sockets/dumb_http_server/src/
Dsocket_dumb_http.c140 struct net_buf_pool *rx_data, *tx_data; in main() local
142 net_pkt_get_info(&rx, &tx, &rx_data, &tx_data); in main()
144 atomic_get(&rx_data->avail_count), atomic_get(&tx_data->avail_count)); in main()
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_cc13xx_cc26xx.c395 len = drv_data->rx_data[i][0]; in ieee802154_cc13xx_cc26xx_rx_done()
396 sdu = drv_data->rx_data[i] + 1; in ieee802154_cc13xx_cc26xx_rx_done()
397 seq = drv_data->rx_data[i][3]; in ieee802154_cc13xx_cc26xx_rx_done()
398 corr = drv_data->rx_data[i][len--] & 0x3F; in ieee802154_cc13xx_cc26xx_rx_done()
399 rssi = drv_data->rx_data[i][len--]; in ieee802154_cc13xx_cc26xx_rx_done()
502 drv_data->rx_entry[0].length = sizeof(drv_data->rx_data[0]); in ieee802154_cc13xx_cc26xx_data_init()
503 drv_data->rx_entry[0].pData = drv_data->rx_data[0]; in ieee802154_cc13xx_cc26xx_data_init()
508 drv_data->rx_entry[1].length = sizeof(drv_data->rx_data[1]); in ieee802154_cc13xx_cc26xx_data_init()
509 drv_data->rx_entry[1].pData = drv_data->rx_data[1]; in ieee802154_cc13xx_cc26xx_data_init()
Dieee802154_cc13xx_cc26xx_subg.h84 uint8_t rx_data[CC13XX_CC26XX_NUM_RX_BUF][CC13XX_CC26XX_RX_BUF_SIZE]; member
/Zephyr-Core-2.7.6/boards/xtensa/intel_s1000_crb/support/
Ddevice.py109 rx_data = self.spi.transfer(data)
112 return rx_data

123