Home
last modified time | relevance | path

Searched full:rx (Results 1 – 25 of 1801) sorted by relevance

12345678910>>...73

/Zephyr-Core-3.7.0/drivers/bluetooth/hci/
Dhci_da1469x.c62 } 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 …]
Dh4.c55 } 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-Core-3.7.0/drivers/ethernet/
DKconfig.nxp_s32_netc17 int "RX thread priority"
20 RX thread priority. RX thread is a cooperative thread.
23 int "RX thread stack size"
26 RX thread stack size.
29 int "RX thread budget"
34 do in the RX thread before yielding the processor, in case there is more
35 work to do. This is to prevent the RX thread to starve other threads. Each
54 int "RX ring length"
58 Length of the RX ring. The value must be a multiple of 8.
61 int "RX ring data buffer size"
[all …]
DKconfig.nxp_s32_gmac34 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 …]
DKconfig.gecko15 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
Deth_ivshmem_queue.c48 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()
168 struct vring_desc *desc = &q->rx.vring.desc[avail_desc_idx]; in eth_ivshmem_queue_rx()
181 *data = (uint8_t *)q->rx.shmem + q->vring_header_size + offset; in eth_ivshmem_queue_rx()
196 uint16_t used_idx = q->rx.used_idx % q->desc_max_len; in eth_ivshmem_queue_rx_complete()
198 q->rx.used_idx++; in eth_ivshmem_queue_rx_complete()
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dtransport.c718 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble() argument
725 for (i = 0; i <= rx->seg_n; i++) { in seg_rx_assemble()
726 net_buf_simple_add_mem(buf, rx->seg[i], in seg_rx_assemble()
727 MIN(seg_len(rx->ctl), in seg_rx_assemble()
728 rx->len - (i * seg_len(rx->ctl)))); in seg_rx_assemble()
732 if (!rx->ctl) { in seg_rx_assemble()
744 static int sdu_try_decrypt(struct bt_mesh_net_rx *rx, const struct bt_mesh_key *key, in sdu_try_decrypt() argument
757 if (BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt()
758 ctx->crypto.ad = bt_mesh_va_uuid_get(rx->ctx.recv_dst, ctx->crypto.ad, in sdu_try_decrypt()
771 if (!err && BT_MESH_ADDR_IS_VIRTUAL(rx->ctx.recv_dst)) { in sdu_try_decrypt()
[all …]
Dpb_adv.c43 #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 …]
Dsar_cfg.c30 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 …]
Dfriend.h21 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.7.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_prof.c24 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 …]
Dlll_peripheral_iso.c224 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 …]
Dlll_central_iso.c213 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.7.0/tests/bluetooth/controller/mock_ctrl/src/
Dull.c125 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.7.0/tests/drivers/uart/uart_basic_api/src/
Dtest_uart_pending.c15 * 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.7.0/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_loopback.c16 * - 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 …]
Dtest_i2s_dir_both_loopback.c14 * 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.7.0/drivers/wifi/esp_at/
DKconfig.esp_at38 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-Core-3.7.0/tests/drivers/can/host/pytest/
Dtest_can.py15 # 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-Core-3.7.0/drivers/ethernet/eth_nxp_enet_qos/
DKconfig33 int "Number of rx buffer descriptors"
37 Number of RX buffer descriptors.
48 int "Size of ENET QOS RX thread stack"
51 Size in bytes of the ENET QOS RX thread stack.
54 int "Cooperative priority of the ENET QOS RX thread"
57 Cooperative priority of the ENET QOS RX thread
/Zephyr-Core-3.7.0/drivers/can/
DKconfig.nxp_s3214 bool "NXP S32 CANXL uses RX FIFO"
17 If this is enabled, NXP S32 CANXL uses RX FIFO.
18 Otherwise NXP S32 CANXL uses RX Message Descriptor.
21 int "Maximum number of RX descriptors"
26 Maximum number of RX descriptors.
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/
Dull_scan_aux.c60 static void rx_release_put(struct node_rx_pdu *rx);
99 void ull_scan_aux_setup(memq_link_t *link, struct node_rx_pdu *rx) in ull_scan_aux_setup() argument
133 ftr = &rx->rx_ftr; in ull_scan_aux_setup()
135 switch (rx->hdr.type) { in ull_scan_aux_setup()
248 rx->hdr.type = NODE_RX_TYPE_EXT_1M_REPORT; in ull_scan_aux_setup()
251 rx->hdr.type = NODE_RX_TYPE_EXT_2M_REPORT; in ull_scan_aux_setup()
255 rx->hdr.type = NODE_RX_TYPE_EXT_CODED_REPORT; in ull_scan_aux_setup()
272 rx->hdr.type = NODE_RX_TYPE_SYNC_REPORT; in ull_scan_aux_setup()
273 rx->hdr.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.7.0/subsys/net/ip/
DKconfig.stack19 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.7.0/dts/bindings/can/
Dbosch,m_can-base.yaml12 <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.7.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/
Dbeacon_interval.sh8 # 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

12345678910>>...73