/Zephyr-Core-2.7.6/boards/xtensa/intel_s1000_crb/support/ |
D | messenger.py | 28 tx_data = None variable in Message 39 self.tx_data = bytearray(64) 46 for index in range(len(self.tx_data)): 47 self.tx_data[index] = 0 67 word = bitstruct.unpack_from('u32', self.tx_data, offset) 109 for index in range(len(self.tx_data)): 110 self.tx_data[index] = 0 111 self.tx_index = len(self.tx_data) 112 return self.tx_data 126 self.tx_data, 0, {'cmd': 1, 'rsvd1': 0, 'rsp': 0, [all …]
|
/Zephyr-Core-2.7.6/tests/drivers/dma/chan_link_transfer/src/ |
D | test_dma.c | 30 static __aligned(32) char tx_data[RX_BUFF_SIZE] __used 38 static const char tx_data[] = "It is harder to be kind than to be wise........"; variable 65 memcpy(tx_data, TX_DATA, sizeof(TX_DATA)); in test_task() 89 dma_block_cfg.block_size = sizeof(tx_data); in test_task() 91 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task() 94 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task() 111 dma_block_cfg.block_size = sizeof(tx_data); in test_task() 113 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task() 116 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task() 134 if (strncmp(tx_data, rx_data2, in test_task() [all …]
|
/Zephyr-Core-2.7.6/tests/drivers/dma/loop_transfer/src/ |
D | test_dma_loop.c | 38 static __aligned(16) char tx_data[64] __used 44 static char tx_data[] = variable 59 dma_block_cfg.block_size = strlen(tx_data); in test_transfer() 61 dma_block_cfg.source_address = (uint64_t)tx_data; in test_transfer() 64 dma_block_cfg.source_address = (uint32_t)tx_data; in test_transfer() 103 memset(tx_data, 0, sizeof(tx_data)); in test_loop() 104 memcpy(tx_data, TX_DATA, sizeof(TX_DATA)); in test_loop() 140 dma_block_cfg.block_size = strlen(tx_data); in test_loop() 141 dma_block_cfg.source_address = (uint32_t)tx_data; 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/ |
D | test_dma.c | 28 static __aligned(32) char tx_data[RX_BUFF_SIZE] __used 34 static const char tx_data[] = "It is harder to be kind than to be wise........"; variable 59 memcpy(tx_data, TX_DATA, sizeof(TX_DATA)); in test_task() 81 dma_block_cfg.block_size = sizeof(tx_data); in test_task() 83 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task() 86 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task() 101 if (strcmp(tx_data, rx_data) != 0) in test_task()
|
/Zephyr-Core-2.7.6/drivers/dac/ |
D | dac_mcp4725.c | 86 uint8_t tx_data[2]; in mcp4725_write_value() local 103 tx_data[0] = ((value >> MCP4725_FAST_MODE_DAC_UPPER_VAL_POS) & in mcp4725_write_value() 105 tx_data[1] = (value & MCP4725_FAST_MODE_DAC_LOWER_VAL_MASK); in mcp4725_write_value() 106 ret = i2c_write(config->i2c_dev, tx_data, sizeof(tx_data), in mcp4725_write_value()
|
/Zephyr-Core-2.7.6/tests/kernel/mbox/mbox_api/src/ |
D | test_mbox_api.c | 117 mmsg.tx_data = NULL; in tmbox_put() 127 mmsg.tx_data = data[info_type]; in tmbox_put() 139 mmsg.tx_data = data[info_type]; in tmbox_put() 157 mmsg.tx_data = NULL; in tmbox_put() 166 mmsg.tx_data = data[1]; in tmbox_put() 175 mmsg.tx_data = data[0]; in tmbox_put() 182 mmsg.tx_data = data[0]; in tmbox_put() 188 mmsg.tx_data = data[0]; in tmbox_put() 192 mmsg.tx_data = data[1]; in tmbox_put() 196 mmsg.tx_data = data[1]; in tmbox_put() [all …]
|
/Zephyr-Core-2.7.6/tests/boards/altera_max10/msgdma/src/ |
D | dma.c | 23 static char tx_data[DMA_BUFF_SIZE]; variable 52 tx_data[i] = i; in test_msgdma() 73 dma_block_cfg.source_address = (uint32_t)tx_data; in test_msgdma() 96 zassert_true(!memcmp(&tx_data, &rx_data, DMA_BUFF_SIZE), in test_msgdma()
|
/Zephyr-Core-2.7.6/drivers/display/ |
D | display_ili9xxx.c | 24 int ili9xxx_transmit(const struct device *dev, uint8_t cmd, const void *tx_data, in ili9xxx_transmit() argument 44 if (tx_data != NULL) { in ili9xxx_transmit() 45 tx_buf.buf = (void *)tx_data; in ili9xxx_transmit() 219 uint8_t tx_data; in ili9xxx_set_pixel_format() local 224 tx_data = ILI9XXX_PIXSET_MCU_16_BIT | ILI9XXX_PIXSET_RGB_16_BIT; in ili9xxx_set_pixel_format() 227 tx_data = ILI9XXX_PIXSET_MCU_18_BIT | ILI9XXX_PIXSET_RGB_18_BIT; in ili9xxx_set_pixel_format() 233 r = ili9xxx_transmit(dev, ILI9XXX_PIXSET, &tx_data, 1U); in ili9xxx_set_pixel_format() 250 uint8_t tx_data = ILI9XXX_MADCTL_BGR; in ili9xxx_set_orientation() local 253 tx_data |= ILI9XXX_MADCTL_MX; in ili9xxx_set_orientation() 255 tx_data |= ILI9XXX_MADCTL_MV; in ili9xxx_set_orientation() [all …]
|
D | display_ili9xxx.h | 71 const void *tx_data, size_t tx_len);
|
/Zephyr-Core-2.7.6/tests/boards/intel_s1000_crb/main/src/ |
D | dma_test.c | 68 static const char tx_data[] = "It is harder to be kind than to be wise"; variable 79 .source = tx_data, 81 .size = sizeof(tx_data), 130 .block_size = sizeof(tx_data), in test_task() 131 .source_address = (uint32_t)tx_data, in test_task() 219 if (strcmp(tx_data, rx_data) != 0) { in test_task()
|
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_l2cap_stress/src/ |
D | main.c | 44 static uint8_t tx_data[SDU_LEN]; variable 114 l2cap_chan_send(chan, tx_data, sizeof(tx_data)); in sent_cb() 126 ASSERT(memcmp(buf->data, tx_data, buf->len) == 0, "RX data doesn't match TX"); in recv_cb() 275 for (size_t i = 0; i < sizeof(tx_data); i++) { in test_peripheral_main() 276 tx_data[i] = (uint8_t)i; in test_peripheral_main() 385 for (size_t i = 0; i < sizeof(tx_data); i++) { in test_central_main() 386 tx_data[i] = (uint8_t)i; in test_central_main() 405 l2cap_chan_send(l2cap_chans[i], tx_data, sizeof(tx_data)); in test_central_main()
|
/Zephyr-Core-2.7.6/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 140 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/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_fail.c | 214 unsigned char tx_data = 0xa; in test_pipe_put_null() local 218 k_pipe_put(NULL, &tx_data, to_wt, in test_pipe_put_null() 259 unsigned char tx_data = 0xa; in test_pipe_put_unreach_size() local 266 k_pipe_put(p, &tx_data, to_wt, in test_pipe_put_unreach_size()
|
/Zephyr-Core-2.7.6/tests/kernel/stack/stack/src/ |
D | main.c | 310 stack_data_t tx_data[STACK_LEN] = { 0xaa, 0xbb, 0xcc, 0xdd }; in test_stack_pop_can_wait() local 316 NULL, tx_data, K_PRIO_PREEMPT(0), 0, in test_stack_pop_can_wait() 320 k_stack_push(&stack3, tx_data[i]); 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() 329 zassert_true(rx_data[3] == tx_data[3], "Wait maxmum time pop failed\n"); in test_stack_pop_can_wait()
|
D | test_stack_fail.c | 81 stack_data_t tx_data[STACK_LEN] = {0}; in test_stack_push_full() local 86 zassert_true(k_stack_push(&stack, tx_data[i]) == 0, "push data into stack failed"); in test_stack_push_full()
|
/Zephyr-Core-2.7.6/kernel/ |
D | mailbox.c | 135 rx_msg->tx_data = tx_msg->tx_data; in mbox_message_match() 137 if (rx_msg->tx_data != NULL) { in mbox_message_match() 140 rx_msg->tx_data = rx_msg->tx_block.data; in mbox_message_match() 358 if ((rx_msg->tx_data != NULL) && (rx_msg->size > 0U)) { in k_mbox_data_get() 359 (void)memcpy(buffer, rx_msg->tx_data, rx_msg->size); in k_mbox_data_get()
|
/Zephyr-Core-2.7.6/samples/basic/threads/src/ |
D | main.c | 75 struct printk_data_t tx_data = { .led = id, .cnt = cnt }; in blink() local 81 memcpy(mem_ptr, &tx_data, size); in blink()
|
/Zephyr-Core-2.7.6/tests/kernel/mbox/mbox_usage/src/ |
D | main.c | 43 mmsg.tx_data = NULL; in msg_sender() 183 mmsg.tx_data = msg_data[0]; in test_multi_thread_send_get() 188 mmsg.tx_data = msg_data[1]; in test_multi_thread_send_get()
|
/Zephyr-Core-2.7.6/samples/boards/nrf/nrfx_prs/src/ |
D | main.c | 153 static bool spim_transfer(const uint8_t *tx_data, size_t tx_data_len, in spim_transfer() argument 158 .p_tx_buffer = tx_data, in spim_transfer() 222 static bool uarte_transfer(const uint8_t *tx_data, size_t tx_data_len, in uarte_transfer() argument 233 err = nrfx_uarte_tx(&uarte, tx_data, tx_data_len); in uarte_transfer()
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_mailq.c | 114 mmsg.tx_data = mail; in osMailPut() 152 evt.value.p = mmsg.tx_data; in osMailGet()
|
/Zephyr-Core-2.7.6/drivers/ieee802154/ |
D | ieee802154_cc13xx_cc26xx_subg.h | 85 uint8_t tx_data[CC13XX_CC26XX_TX_BUF_SIZE]; member
|
D | ieee802154_cc13xx_cc26xx_subg.c | 352 drv_data->tx_data[0] = frag->len + IEEE802154_SUN_PHY_FSK_PHR_LEN; in ieee802154_cc13xx_cc26xx_subg_tx() 354 drv_data->tx_data[1] = 0; in ieee802154_cc13xx_cc26xx_subg_tx() 355 drv_data->tx_data[1] |= BIT(3); /* FCS Type: 2-octet FCS */ in ieee802154_cc13xx_cc26xx_subg_tx() 356 drv_data->tx_data[1] |= BIT(4); /* DW: Enable Data Whitening */ in ieee802154_cc13xx_cc26xx_subg_tx() 357 memcpy(&drv_data->tx_data[IEEE802154_SUN_PHY_FSK_PHR_LEN], in ieee802154_cc13xx_cc26xx_subg_tx() 368 drv_data->cmd_prop_tx_adv.pPkt = drv_data->tx_data; in ieee802154_cc13xx_cc26xx_subg_tx()
|
/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_liteuart.c | 189 const uint8_t *tx_data, int size) in uart_liteuart_fifo_fill() argument 194 sys_write8(tx_data[i], UART_RXTX); in uart_liteuart_fifo_fill()
|
D | uart_apbuart.c | 311 static int apbuart_fifo_fill(const struct device *dev, const uint8_t *tx_data, in apbuart_fifo_fill() argument 324 regs->data = tx_data[i]; in apbuart_fifo_fill() 329 regs->data = tx_data[i]; in apbuart_fifo_fill()
|
/Zephyr-Core-2.7.6/samples/net/sockets/can/src/ |
D | main.c | 21 static struct k_thread tx_data; variable 205 tx_tid = k_thread_create(&tx_data, tx_stack, in setup_socket()
|