/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_da1469x.c | 62 } rx = { variable 63 .fifo = Z_FIFO_INITIALIZER(rx.fifo), 69 if (cmac_mbox_read(&rx.type, 1) != 1) { in h4_get_type() 71 rx.type = BT_HCI_H4_NONE; in h4_get_type() 75 switch (rx.type) { in h4_get_type() 77 rx.remaining = sizeof(rx.evt); in h4_get_type() 78 rx.hdr_len = rx.remaining; in h4_get_type() 81 rx.remaining = sizeof(rx.acl); in h4_get_type() 82 rx.hdr_len = rx.remaining; in h4_get_type() 86 rx.remaining = sizeof(rx.iso); in h4_get_type() [all …]
|
D | h4.c | 55 } rx; member 79 if (uart_fifo_read(cfg->uart, &h4->rx.type, 1) != 1) { in h4_get_type() 81 h4->rx.type = BT_HCI_H4_NONE; in h4_get_type() 85 switch (h4->rx.type) { in h4_get_type() 87 h4->rx.remaining = sizeof(h4->rx.evt); in h4_get_type() 88 h4->rx.hdr_len = h4->rx.remaining; in h4_get_type() 91 h4->rx.remaining = sizeof(h4->rx.acl); in h4_get_type() 92 h4->rx.hdr_len = h4->rx.remaining; in h4_get_type() 96 h4->rx.remaining = sizeof(h4->rx.iso); in h4_get_type() 97 h4->rx.hdr_len = h4->rx.remaining; in h4_get_type() [all …]
|
/Zephyr-latest/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_imx_netc | 22 int "RX thread priority" 25 RX thread priority. RX thread is a cooperative thread. 28 int "RX thread stack size" 31 RX thread stack size. 34 int "RX thread budget" 39 do in the RX thread before yielding the processor, in case there is more 40 work to do. This is to prevent the RX thread to starve other threads. Each 66 int "RX ring number" 70 RX ring number used. The actual maximum value may varies from platforms. 73 int "RX ring length" [all …]
|
D | Kconfig.nxp_s32_gmac | 34 int "RX ring length" 38 Length of the RX ring. ETH_NXP_S32_RX_RING_BUF_SIZE * ETH_NXP_S32_RX_RING_LEN 39 must be a multiple of RX FIFO block size. 42 int "RX ring data buffer size" 46 Size, in bytes, of the RX data buffer. The size must be big enough to 58 int "RX thread priority" 61 RX thread priority. RX thread is a cooperative thread. 64 int "RX thread stack size" 67 RX thread stack size. 70 int "RX thread budget" [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
|
D | eth_ivshmem_queue.c | 48 q->rx.shmem = (void *)rx_shmem; in eth_ivshmem_queue_init() 52 vring_init(&q->rx.vring, vring_desc_len, q->rx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 60 q->tx.vring.used = q->rx.vring.used; in eth_ivshmem_queue_init() 61 q->rx.vring.used = tmp_used; in eth_ivshmem_queue_init() 79 q->rx.avail_idx = 0; in eth_ivshmem_queue_reset() 80 q->rx.used_idx = 0; in eth_ivshmem_queue_reset() 169 struct vring_desc *desc = &q->rx.vring.desc[avail_desc_idx]; in eth_ivshmem_queue_rx() 182 *data = (uint8_t *)q->rx.shmem + q->vring_header_size + offset; in eth_ivshmem_queue_rx() 197 uint16_t used_idx = q->rx.used_idx % q->desc_max_len; in eth_ivshmem_queue_rx_complete() 199 q->rx.used_idx++; in eth_ivshmem_queue_rx_complete() [all …]
|
/Zephyr-latest/samples/drivers/lora/receive/ |
D | README.rst | 40 [00:00:00.956,000] <inf> lora_receive: LoRa RX RSSI: -60dBm, SNR: 7dB 41 [00:00:00.956,000] <inf> lora_receive: LoRa RX payload 43 [00:00:02.249,000] <inf> lora_receive: LoRa RX RSSI: -57dBm, SNR: 9dB 44 [00:00:02.249,000] <inf> lora_receive: LoRa RX payload 46 [00:00:03.541,000] <inf> lora_receive: LoRa RX RSSI: -57dBm, SNR: 9dB 47 [00:00:03.541,000] <inf> lora_receive: LoRa RX payload 49 [00:00:04.834,000] <inf> lora_receive: LoRa RX RSSI: -55dBm, SNR: 9dB 50 [00:00:04.834,000] <inf> lora_receive: LoRa RX payload 53 [00:00:06.127,000] <inf> lora_receive: LoRa RX RSSI: -55dBm, SNR: 9dB 54 [00:00:06.127,000] <inf> lora_receive: LoRa RX payload [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_peripheral_iso.c | 218 phy = cis_lll->rx.phy; in prepare_cb() 235 payload_cnt = cis_lll->rx.payload_count + in prepare_cb() 236 cis_lll->rx.bn_curr - 1U; in prepare_cb() 238 cis_lll->rx.ccm.counter = payload_cnt; in prepare_cb() 244 (cis_lll->rx.max_pdu + PDU_MIC_SIZE), in prepare_cb() 246 radio_pkt_rx_set(radio_ccm_iso_rx_pkt_set(&cis_lll->rx.ccm, phy, in prepare_cb() 258 cis_lll->rx.max_pdu, pkt_flags); in prepare_cb() 267 radio_switch_complete_and_tx(cis_lll->rx.phy, 0U, cis_lll->tx.phy, in prepare_cb() 302 hcto += radio_rx_ready_delay_get(cis_lll->rx.phy, PHY_FLAGS_S8); in prepare_cb() 303 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 …]
|
D | lll_prof.c | 26 static int send(struct node_rx_pdu *rx); 164 struct node_rx_pdu *rx; in lll_prof_send() local 166 /* Generate only if spare node rx is available */ in lll_prof_send() 167 rx = ull_pdu_rx_alloc_peek(3); in lll_prof_send() 168 if (rx) { in lll_prof_send() 175 struct node_rx_pdu *rx; in lll_prof_reserve() local 177 rx = ull_pdu_rx_alloc_peek(3); in lll_prof_reserve() 178 if (!rx) { in lll_prof_reserve() 184 return rx; in lll_prof_reserve() 187 void lll_prof_reserve_send(struct node_rx_pdu *rx) in lll_prof_reserve_send() argument [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | transport.c | 717 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble() argument 724 for (i = 0; i <= rx->seg_n; i++) { in seg_rx_assemble() 725 net_buf_simple_add_mem(buf, rx->seg[i], in seg_rx_assemble() 726 MIN(seg_len(rx->ctl), in seg_rx_assemble() 727 rx->len - (i * seg_len(rx->ctl)))); in seg_rx_assemble() 731 if (!rx->ctl) { in seg_rx_assemble() 743 static int sdu_try_decrypt(struct bt_mesh_net_rx *rx, const struct bt_mesh_key *key, in sdu_try_decrypt() argument 756 if (BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() 757 ctx->crypto.ad = bt_mesh_va_uuid_get(rx->ctx.recv_dst, ctx->crypto.ad, in sdu_try_decrypt() 770 if (!err && BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt() [all …]
|
D | pb_adv.c | 43 #define XACT_SEG_DATA(_seg) (&link.rx.buf->data[XACT_SEG_OFFSET(_seg)]) 44 #define XACT_SEG_RECV(_seg) (link.rx.seg &= ~(1 << (_seg))) 90 } rx; member 143 static struct pb_adv link = { .rx = { .buf = &rx_buf } }; 146 static void link_open(struct prov_rx *rx, struct net_buf_simple *buf); 147 static void link_ack(struct prov_rx *rx, struct net_buf_simple *buf); 148 static void link_close(struct prov_rx *rx, struct net_buf_simple *buf); 351 link.rx.id = XACT_ID_NVAL; in reset_adv_link() 362 link.rx.id = XACT_ID_MAX; in reset_adv_link() 367 link.rx.buf = &rx_buf; in reset_adv_link() [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-latest/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-latest/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-latest/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-latest/drivers/can/ |
D | Kconfig.nxp_s32 | 15 bool "NXP S32 CANXL uses RX FIFO" 18 If this is enabled, NXP S32 CANXL uses RX FIFO. 19 Otherwise NXP S32 CANXL uses RX Message Descriptor. 22 int "Maximum number of RX descriptors" 27 Maximum number of RX descriptors.
|
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/ |
D | Kconfig | 34 int "Number of rx buffer descriptors" 38 Number of RX buffer descriptors. 49 int "Size of ENET QOS RX thread stack" 52 Size in bytes of the ENET QOS RX thread stack. 55 int "Cooperative priority of the ENET QOS RX thread" 58 Cooperative priority of the ENET QOS RX thread
|
/Zephyr-latest/drivers/wifi/esp_at/ |
D | Kconfig.esp_at | 38 int "Stack size for the Espressif esp wifi driver RX thread" 41 This stack is used by the Espressif ESP RX thread. 44 int "Priority of RX thread" 47 Priority of thread used for processing RX data. 54 to the rest of the network stack, letting the rx thread continue 70 int "Modem RX buffer count" 73 Number of preallocated RX buffers used by modem command handler. 76 int "Modem RX buffer size" 79 Size of preallocated RX buffers used by modem command handler. 97 int "Network interface RX packet allocation timeout" [all …]
|
/Zephyr-latest/tests/drivers/can/host/pytest/ |
D | test_can.py | 15 # RX/TX timeout in seconds 55 Class for testing CAN RX/TX between Zephyr DUT and host. 59 def check_rx(tx: can.Message, rx: can.Message) -> None: 64 if rx is None: 67 if not tx.equals(rx, timestamp_delta=None, check_channel=False, 69 pytest.fail(f'rx message "{rx}" not equal to tx message "{tx}"') 85 rx = can_host.recv(timeout=TIMEOUT) 86 self.check_rx(msg, rx) 93 rx = can_dut.recv(timeout=TIMEOUT) 94 self.check_rx(msg, rx)
|
/Zephyr-latest/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-latest/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
|