/Zephyr-Core-3.5.0/drivers/bluetooth/hci/ |
D | h4.c | 62 } rx = { variable 63 .fifo = Z_FIFO_INITIALIZER(rx.fifo), 79 if (uart_fifo_read(h4_dev, &rx.type, 1) != 1) { in h4_get_type() 81 rx.type = H4_NONE; in h4_get_type() 85 switch (rx.type) { in h4_get_type() 87 rx.remaining = sizeof(rx.evt); in h4_get_type() 88 rx.hdr_len = rx.remaining; in h4_get_type() 91 rx.remaining = sizeof(rx.acl); in h4_get_type() 92 rx.hdr_len = rx.remaining; in h4_get_type() 96 rx.remaining = sizeof(rx.iso); in h4_get_type() [all …]
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | Kconfig.nxp_s32_netc | 18 int "RX thread priority" 21 RX thread priority. RX thread is a cooperative thread. 24 int "RX thread stack size" 27 RX thread stack size. 30 int "RX thread budget" 35 do in the RX thread before yielding the processor, in case there is more 36 work to do. This is to prevent the RX thread to starve other threads. Each 55 int "RX ring length" 59 Length of the RX ring. The value must be a multiple of 8. 62 int "RX ring data buffer size" [all …]
|
D | Kconfig.nxp_s32_gmac | 33 int "RX ring length" 37 Length of the RX ring. ETH_NXP_S32_RX_RING_BUF_SIZE * ETH_NXP_S32_RX_RING_LEN 38 must be a multiple of RX FIFO block size. 41 int "RX ring data buffer size" 45 Size, in bytes, of the RX data buffer. The size must be big enough to 57 int "RX thread priority" 60 RX thread priority. RX thread is a cooperative thread. 63 int "RX thread stack size" 66 RX thread stack size. 69 int "RX thread budget" [all …]
|
D | eth_ivshmem_queue.c | 50 q->rx.shmem = (void *)(shmem + shmem_section_size); in eth_ivshmem_queue_init() 52 q->rx.shmem = (void *)shmem; in eth_ivshmem_queue_init() 58 vring_init(&q->rx.vring, vring_desc_len, q->rx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 66 q->tx.vring.used = q->rx.vring.used; in eth_ivshmem_queue_init() 67 q->rx.vring.used = tmp_used; in eth_ivshmem_queue_init() 85 q->rx.avail_idx = 0; in eth_ivshmem_queue_reset() 86 q->rx.used_idx = 0; in eth_ivshmem_queue_reset() 174 struct vring_desc *desc = &q->rx.vring.desc[avail_desc_idx]; in eth_ivshmem_queue_rx() 187 *data = (uint8_t *)q->rx.shmem + q->vring_header_size + offset; in eth_ivshmem_queue_rx() 202 uint16_t used_idx = q->rx.used_idx % q->desc_max_len; in eth_ivshmem_queue_rx_complete() [all …]
|
D | Kconfig.gecko | 15 int "RX thread stack size" 18 RX thread stack size 21 int "RX thread priority" 24 RX thread priority 31 Set the RX idle timeout period in milliseconds after which the
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | pb_adv.c | 44 #define XACT_SEG_DATA(_seg) (&link.rx.buf->data[XACT_SEG_OFFSET(_seg)]) 45 #define XACT_SEG_RECV(_seg) (link.rx.seg &= ~(1 << (_seg))) 89 } rx; member 127 static struct pb_adv link = { .rx = { .buf = &rx_buf } }; 130 static void link_open(struct prov_rx *rx, struct net_buf_simple *buf); 131 static void link_ack(struct prov_rx *rx, struct net_buf_simple *buf); 132 static void link_close(struct prov_rx *rx, struct net_buf_simple *buf); 221 link.rx.id = XACT_ID_NVAL; in reset_adv_link() 232 link.rx.id = XACT_ID_MAX; in reset_adv_link() 237 link.rx.buf = &rx_buf; in reset_adv_link() [all …]
|
D | transport.c | 719 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble() argument 726 for (i = 0; i <= rx->seg_n; i++) { in seg_rx_assemble() 727 net_buf_simple_add_mem(buf, rx->seg[i], in seg_rx_assemble() 728 MIN(seg_len(rx->ctl), in seg_rx_assemble() 729 rx->len - (i * seg_len(rx->ctl)))); in seg_rx_assemble() 733 if (!rx->ctl) { in seg_rx_assemble() 745 static int sdu_try_decrypt(struct bt_mesh_net_rx *rx, const struct bt_mesh_key *key, in sdu_try_decrypt() argument 758 if (BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() 759 ctx->crypto.ad = bt_mesh_va_uuid_get(rx->ctx.recv_dst, ctx->crypto.ad, in sdu_try_decrypt() 772 if (!err && BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() [all …]
|
D | transport_legacy.c | 682 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble() argument 689 for (i = 0; i <= rx->seg_n; i++) { in seg_rx_assemble() 690 net_buf_simple_add_mem(buf, rx->seg[i], in seg_rx_assemble() 691 MIN(seg_len(rx->ctl), in seg_rx_assemble() 692 rx->len - (i * seg_len(rx->ctl)))); in seg_rx_assemble() 696 if (!rx->ctl) { in seg_rx_assemble() 708 static int sdu_try_decrypt(struct bt_mesh_net_rx *rx, const struct bt_mesh_key *key, in sdu_try_decrypt() argument 721 if (BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() 722 ctx->crypto.ad = bt_mesh_va_uuid_get(rx->ctx.recv_dst, ctx->crypto.ad, in sdu_try_decrypt() 735 if (!err && BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() [all …]
|
D | sar_cfg.c | 30 const struct bt_mesh_sar_rx *rx) in bt_mesh_sar_rx_encode() argument 32 net_buf_simple_add_u8(buf, (rx->seg_thresh & 0x1f) | in bt_mesh_sar_rx_encode() 33 (rx->ack_delay_inc << 5)); in bt_mesh_sar_rx_encode() 34 net_buf_simple_add_u8(buf, (rx->discard_timeout & 0xf) | in bt_mesh_sar_rx_encode() 35 ((rx->rx_seg_int_step & 0xf) << 4)); in bt_mesh_sar_rx_encode() 36 net_buf_simple_add_u8(buf, (rx->ack_retrans_count & 0x3)); in bt_mesh_sar_rx_encode() 58 struct bt_mesh_sar_rx *rx) in bt_mesh_sar_rx_decode() argument 63 rx->seg_thresh = (val & 0x1f); in bt_mesh_sar_rx_decode() 64 rx->ack_delay_inc = (val >> 5); in bt_mesh_sar_rx_decode() 66 rx->discard_timeout = (val & 0xf); in bt_mesh_sar_rx_decode() [all …]
|
D | friend.h | 21 void bt_mesh_friend_enqueue_rx(struct bt_mesh_net_rx *rx, 37 int bt_mesh_friend_poll(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf); 38 int bt_mesh_friend_req(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf); 39 int bt_mesh_friend_clear(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf); 40 int bt_mesh_friend_clear_cfm(struct bt_mesh_net_rx *rx, 42 int bt_mesh_friend_sub_add(struct bt_mesh_net_rx *rx, 44 int bt_mesh_friend_sub_rem(struct bt_mesh_net_rx *rx,
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_prof.c | 24 static int send(struct node_rx_pdu *rx); 119 struct node_rx_pdu *rx; in lll_prof_send() local 121 /* Generate only if spare node rx is available */ in lll_prof_send() 122 rx = ull_pdu_rx_alloc_peek(3); in lll_prof_send() 123 if (rx) { in lll_prof_send() 130 struct node_rx_pdu *rx; in lll_prof_reserve() local 132 rx = ull_pdu_rx_alloc_peek(3); in lll_prof_reserve() 133 if (!rx) { in lll_prof_reserve() 139 return rx; in lll_prof_reserve() 142 void lll_prof_reserve_send(struct node_rx_pdu *rx) in lll_prof_reserve_send() argument [all …]
|
D | lll_peripheral_iso.c | 224 phy = cis_lll->rx.phy; in prepare_cb() 241 payload_cnt = cis_lll->rx.payload_count + in prepare_cb() 242 cis_lll->rx.bn_curr - 1U; in prepare_cb() 244 cis_lll->rx.ccm.counter = payload_cnt; in prepare_cb() 250 (cis_lll->rx.max_pdu + PDU_MIC_SIZE), in prepare_cb() 252 radio_pkt_rx_set(radio_ccm_iso_rx_pkt_set(&cis_lll->rx.ccm, phy, in prepare_cb() 264 cis_lll->rx.max_pdu, pkt_flags); in prepare_cb() 273 radio_switch_complete_and_tx(cis_lll->rx.phy, 0U, cis_lll->tx.phy, in prepare_cb() 308 hcto += radio_rx_ready_delay_get(cis_lll->rx.phy, PHY_FLAGS_S8); in prepare_cb() 309 hcto += addr_us_get(cis_lll->rx.phy); in prepare_cb() [all …]
|
D | lll_central_iso.c | 213 pdu_tx->cie = (cis_lll->rx.bn_curr > cis_lll->rx.bn); in prepare_cb() 257 (cis_lll->rx.bn_curr > cis_lll->rx.bn); in prepare_cb() 312 radio_switch_complete_and_rx(cis_lll->rx.phy); in prepare_cb() 446 /* Close subevent, one tx-rx chain */ in isr_tx() 452 /* Acquire rx node for reception */ in isr_tx() 462 radio_phy_set(cis_lll->rx.phy, PHY_FLAGS_S8); in isr_tx() 472 payload_count = cis_lll->rx.payload_count + in isr_tx() 473 cis_lll->rx.bn_curr - 1U; in isr_tx() 475 cis_lll->rx.ccm.counter = payload_count; in isr_tx() 478 cis_lll->rx.phy, in isr_tx() [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull.c | 125 struct node_rx_hdr *rx; in ll_rx_mem_release() local 127 rx = *node_rx; in ll_rx_mem_release() 128 while (rx) { in ll_rx_mem_release() 131 rx_free = rx; in ll_rx_mem_release() 132 rx = rx->next; in ll_rx_mem_release() 146 __ASSERT(0, "Tried to release unknown rx node type"); in ll_rx_mem_release() 151 *node_rx = rx; in ll_rx_mem_release() 181 void ll_rx_put(memq_link_t *link, void *rx) in ll_rx_put() argument 183 if (((struct node_rx_hdr *)rx)->type != NODE_RX_TYPE_RELEASE) { in ll_rx_put() 185 sys_slist_append(&ut_rx_q, (sys_snode_t *)rx); in ll_rx_put() [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/uart/uart_basic_api/src/ |
D | test_uart_pending.c | 15 * more RX and TX pending interrupts. 19 * RX IRQ is enabled to let received data cause a RX IRQ and so set the 20 * RX IRQ pending flag. 23 * receive serial data, which will trigger a RX IRQ. 25 * Once a RX IRQ happens RX data is read by uart_fifo_read() until there 26 * is no more RX data to be popped from FIFO and all IRQs are handled. 33 * even tho there aren't any further RX and TX IRQs to be processed it 58 * received data until there is no more RX data, thus in uart_pending_callback() 60 * that there are no more RX interrupts to be processed. in uart_pending_callback() 62 * there is no more RX data in the RX buffer to be processed, in uart_pending_callback() [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_loopback.c | 16 * - RX stream START trigger starts reception. 19 * - RX stream STOP trigger stops reception. 24 TC_PRINT("RX/TX transfer requires use of I2S_DIR_BOTH.\n"); in ZTEST_USER() 42 zassert_equal(ret, 0, "RX START trigger failed"); in ZTEST_USER() 66 zassert_equal(ret, 0, "RX STOP trigger failed"); in ZTEST_USER() 82 * - RX stream START trigger starts reception. 85 * - RX stream STOP trigger stops reception. 90 TC_PRINT("RX/TX transfer requires use of I2S_DIR_BOTH.\n"); in ZTEST_USER() 103 zassert_equal(ret, 0, "RX START trigger failed"); in ZTEST_USER() 123 zassert_equal(ret, 0, "RX STOP trigger failed"); in ZTEST_USER() [all …]
|
D | test_i2s_dir_both_loopback.c | 14 * on devices that cannot independently start and stop the RX and TX streams 15 * and require the use of the I2S_DIR_BOTH value for RX/TX transfers. 44 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 56 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() 94 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 108 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() 144 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 147 zassert_equal(ret, 0, "RX/TX STOP trigger failed"); in ZTEST_USER() 166 zassert_equal(ret, 0, "RX/TX START trigger failed\n"); in ZTEST_USER() 169 zassert_equal(ret, 0, "RX/TX DRAIN trigger failed"); in ZTEST_USER() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_aux.c | 60 static void rx_release_put(struct node_rx_hdr *rx); 99 void ull_scan_aux_setup(memq_link_t *link, struct node_rx_hdr *rx) in ull_scan_aux_setup() argument 133 ftr = &rx->rx_ftr; in ull_scan_aux_setup() 135 switch (rx->type) { in ull_scan_aux_setup() 248 rx->type = NODE_RX_TYPE_EXT_1M_REPORT; in ull_scan_aux_setup() 251 rx->type = NODE_RX_TYPE_EXT_2M_REPORT; in ull_scan_aux_setup() 255 rx->type = NODE_RX_TYPE_EXT_CODED_REPORT; in ull_scan_aux_setup() 272 rx->type = NODE_RX_TYPE_SYNC_REPORT; in ull_scan_aux_setup() 273 rx->handle = ull_sync_handle_get(sync); in ull_scan_aux_setup() 291 * passed in the node rx footer field. in ull_scan_aux_setup() [all …]
|
/Zephyr-Core-3.5.0/drivers/wifi/esp_at/ |
D | Kconfig.esp_at | 37 int "Stack size for the Espressif esp wifi driver RX thread" 40 This stack is used by the Espressif ESP RX thread. 43 int "Priority of RX thread" 46 Priority of thread used for processing RX data. 53 to the rest of the network stack, letting the rx thread continue 69 int "Modem RX buffer count" 72 Number of preallocated RX buffers used by modem command handler. 75 int "Modem RX buffer size" 78 Size of preallocated RX buffers used by modem command handler. 96 int "Network interface RX packet allocation timeout" [all …]
|
/Zephyr-Core-3.5.0/drivers/wifi/esp32/ |
D | Kconfig.esp32 | 55 int "Max number of WiFi static RX buffers" 59 Set the number of WiFi static RX buffers. Each buffer takes approximately 60 1.6KB of RAM. The static rx buffers are allocated when esp_wifi_init is 70 int "Max number of WiFi dynamic RX buffers" 74 Set the number of WiFi dynamic RX buffers, 0 means unlimited RX buffers 76 RX buffer depends on the size of the received data frame. 78 For each received data frame, the WiFi driver makes a copy to an RX buffer 79 and then delivers it to the high layer TCP/IP stack. The dynamic RX buffer 84 RX buffer number is unlimited (0). If a dynamic RX buffer limit is set, 85 it should be at least the number of static RX buffers. [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/ |
D | beacon_interval.sh | 8 # setup two device, tx node provisioned node, rx node is not provisioned and only has 14 # 1- rx node waits for the tx node to send the first SNB, 15 # rx node sends two SNBs with 20ms period, verifies that tx node only sends SNB 10s later, 16 # after rx node sends out beacon. rx node skips the 3rd SNB and verifies that tx nodes keeps 18 # 2- rx node sends SNBs with 4s period for 600s and verifies that tx node doesn't send any
|
/Zephyr-Core-3.5.0/dts/bindings/can/ |
D | bosch,m_can-base.yaml | 12 <offset std-filter-elements ext-filter-elements rx-fifo0-elements rx-fifo1-elements 13 rx-buffer-elements tx-event-fifo-elements tx-buffer-elements> 22 Rx FIFO 0 0-64 elements / 0-1152 words 23 Rx FIFO 1 0-64 elements / 0-1152 words 24 Rx Buffers 0-64 elements / 0-1152 words
|
/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | Kconfig.stack | 19 int "RX thread stack size" 22 Set the RX thread stack size in bytes. The RX thread is waiting 23 data from network. There is one RX thread in the system. 24 This value is a baseline and the actual RX stack size might
|
/Zephyr-Core-3.5.0/dts/arm/xilinx/ |
D | zynqmp.dtsi | 115 hw-rx-buffer-size = <XLNX_GEM_HW_RX_BUFFER_SIZE_8KB>; 116 hw-rx-buffer-offset = <0>; 118 rx-buffer-descriptors = <32>; 120 rx-buffer-size = <512>; 122 discard-rx-fcs; 142 hw-rx-buffer-size = <XLNX_GEM_HW_RX_BUFFER_SIZE_8KB>; 143 hw-rx-buffer-offset = <0>; 145 rx-buffer-descriptors = <32>; 147 rx-buffer-size = <512>; 149 discard-rx-fcs; [all …]
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | Kconfig.sifive | 25 int "Port 0 RX Interrupt Threshold Count" 29 Port 0 RX Threshold at which the RX FIFO interrupt triggers. 48 int "Port 0 RX Interrupt Threshold Count" 52 Port 1 RX Threshold at which the RX FIFO interrupt triggers.
|