Home
last modified time | relevance | path

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

12345678910>>...55

/Zephyr-Core-3.4.0/drivers/bluetooth/hci/
Dh4.c62 } 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.4.0/drivers/ethernet/
DKconfig.nxp_s3218 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 …]
Deth_ivshmem_queue.c50 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 …]
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
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dpb_adv.c44 #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 …]
Dtransport.c733 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble() argument
740 for (i = 0; i <= rx->seg_n; i++) { in seg_rx_assemble()
741 net_buf_simple_add_mem(buf, rx->seg[i], in seg_rx_assemble()
742 MIN(seg_len(rx->ctl), in seg_rx_assemble()
743 rx->len - (i * seg_len(rx->ctl)))); in seg_rx_assemble()
747 if (!rx->ctl) { in seg_rx_assemble()
759 static int sdu_try_decrypt(struct bt_mesh_net_rx *rx, const uint8_t key[16], in sdu_try_decrypt() argument
773 static int sdu_recv(struct bt_mesh_net_rx *rx, uint8_t hdr, uint8_t aszmic, in sdu_recv() argument
781 .src = rx->ctx.addr, in sdu_recv()
782 .dst = rx->ctx.recv_dst, in sdu_recv()
[all …]
Dtransport_legacy.c694 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble() argument
701 for (i = 0; i <= rx->seg_n; i++) { in seg_rx_assemble()
702 net_buf_simple_add_mem(buf, rx->seg[i], in seg_rx_assemble()
703 MIN(seg_len(rx->ctl), in seg_rx_assemble()
704 rx->len - (i * seg_len(rx->ctl)))); in seg_rx_assemble()
708 if (!rx->ctl) { in seg_rx_assemble()
720 static int sdu_try_decrypt(struct bt_mesh_net_rx *rx, const uint8_t key[16], in sdu_try_decrypt() argument
734 static int sdu_recv(struct bt_mesh_net_rx *rx, uint8_t hdr, uint8_t aszmic, in sdu_recv() argument
742 .src = rx->ctx.addr, in sdu_recv()
743 .dst = rx->ctx.recv_dst, in sdu_recv()
[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.4.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.c150 uint8_t nesn_update = cis_lll->rx.bn + 1U - cis_lll->rx.bn_curr; in lll_flush_rx()
230 cis_lll->nesn += cis_lll->rx.bn * lazy; in prepare_cb()
233 cis_lll->rx.bn_curr = 1U; in prepare_cb()
245 phy = cis_lll->rx.phy; in prepare_cb()
246 radio_phy_set(phy, cis_lll->rx.phy_flags); in prepare_cb()
262 payload_count = (cis_lll->event_count * cis_lll->rx.bn) + in prepare_cb()
263 (cis_lll->rx.bn_curr - 1U); in prepare_cb()
264 cis_lll->rx.ccm.counter = payload_count; in prepare_cb()
270 (cis_lll->rx.max_pdu + PDU_MIC_SIZE), in prepare_cb()
272 radio_pkt_rx_set(radio_ccm_rx_pkt_set(&cis_lll->rx.ccm, phy, in prepare_cb()
[all …]
/Zephyr-Core-3.4.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.4.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.4.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.4.0/subsys/bluetooth/controller/ll_sw/
Dull_scan_aux.c58 static void rx_release_put(struct node_rx_hdr *rx);
97 void ull_scan_aux_setup(memq_link_t *link, struct node_rx_hdr *rx) in ull_scan_aux_setup() argument
131 ftr = &rx->rx_ftr; in ull_scan_aux_setup()
133 switch (rx->type) { in ull_scan_aux_setup()
244 rx->type = NODE_RX_TYPE_EXT_1M_REPORT; in ull_scan_aux_setup()
247 rx->type = NODE_RX_TYPE_EXT_2M_REPORT; in ull_scan_aux_setup()
250 rx->type = NODE_RX_TYPE_EXT_CODED_REPORT; in ull_scan_aux_setup()
266 rx->type = NODE_RX_TYPE_SYNC_REPORT; in ull_scan_aux_setup()
267 rx->handle = ull_sync_handle_get(sync); in ull_scan_aux_setup()
285 * passed in the node rx footer field. in ull_scan_aux_setup()
[all …]
/Zephyr-Core-3.4.0/drivers/wifi/esp_at/
DKconfig.esp_at37 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.4.0/drivers/wifi/esp32/
DKconfig.esp3246 int "Max number of WiFi static RX buffers"
50 Set the number of WiFi static RX buffers. Each buffer takes approximately
51 1.6KB of RAM. The static rx buffers are allocated when esp_wifi_init is
61 int "Max number of WiFi dynamic RX buffers"
65 Set the number of WiFi dynamic RX buffers, 0 means unlimited RX buffers
67 RX buffer depends on the size of the received data frame.
69 For each received data frame, the WiFi driver makes a copy to an RX buffer
70 and then delivers it to the high layer TCP/IP stack. The dynamic RX buffer
75 RX buffer number is unlimited (0). If a dynamic RX buffer limit is set,
76 it should be at least the number of static RX buffers.
[all …]
/Zephyr-Core-3.4.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.4.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
/Zephyr-Core-3.4.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.4.0/dts/arm/xilinx/
Dzynqmp.dtsi115 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.4.0/drivers/serial/
DKconfig.sifive25 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.
/Zephyr-Core-3.4.0/drivers/sensor/ms5607/
Dms5607_spi.c64 uint8_t rx[3]; in ms5607_spi_read_prom() member
65 } rx; in ms5607_spi_read_prom() local
69 .buf = &rx, in ms5607_spi_read_prom()
88 *val = sys_be16_to_cpu(rx.prom_value); in ms5607_spi_read_prom()
113 uint8_t rx[4]; in ms5607_spi_read_adc() member
114 } rx; in ms5607_spi_read_adc() local
117 .buf = &rx, in ms5607_spi_read_adc()
136 rx.rx[0] = 0; in ms5607_spi_read_adc()
137 *val = sys_be32_to_cpu(rx.adc_value); in ms5607_spi_read_adc()
/Zephyr-Core-3.4.0/subsys/mgmt/mcumgr/transport/
DKconfig.uart35 int "Number of async RX UART buffers"
39 The asynchronous UART API requires registering RX buffers for received data; when the RX
42 area required for smooth RX operation.
45 int "Size of single async RX UART buffer"
48 The size of single buffer for asynchronous RX.

12345678910>>...55