Home
last modified time | relevance | path

Searched refs:node_rx (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-Core-3.5.0/subsys/bluetooth/controller/hci/
Dhci_driver.c231 static struct net_buf *process_prio_evt(struct node_rx_pdu *node_rx, in process_prio_evt() argument
235 if (node_rx->hdr.user_meta == HCI_CLASS_EVT_CONNECTION) { in process_prio_evt()
237 struct pdu_data *pdu_data = (void *)node_rx->pdu; in process_prio_evt()
239 handle = node_rx->hdr.handle; in process_prio_evt()
240 if (node_rx->hdr.type == NODE_RX_TYPE_TERMINATE) { in process_prio_evt()
268 struct node_rx_pdu *node_rx; in prio_recv_thread() local
277 node_rx = ll_iso_rx_get(); in prio_recv_thread()
278 if (node_rx) { in prio_recv_thread()
282 node_rx->hdr.user_meta = hci_get_class(node_rx); in prio_recv_thread()
288 k_fifo_put(&recv_fifo, node_rx); in prio_recv_thread()
[all …]
Dhci_user_ext.h11 int8_t hci_user_ext_get_class(struct node_rx_pdu *node_rx);
12 void hci_user_ext_encode_control(struct node_rx_pdu *node_rx, struct pdu_data *pdu_data, struct net…
Dhci_internal.h36 struct net_buf *hci_cmd_handle(struct net_buf *cmd, void **node_rx);
37 void hci_evt_encode(struct node_rx_pdu *node_rx, struct net_buf *buf);
38 uint8_t hci_get_class(struct node_rx_pdu *node_rx);
44 void hci_acl_encode(struct node_rx_pdu *node_rx, struct net_buf *buf);
Dhci.c1833 void **node_rx) in le_big_terminate_sync() argument
1841 status = ll_big_sync_terminate(big_handle, node_rx); in le_big_terminate_sync()
1948 void **node_rx) in le_create_conn_cancel() argument
1952 status = ll_connect_disable(node_rx); in le_create_conn_cancel()
2946 struct node_rx_pdu *node_rx, in le_df_connectionless_iq_report() argument
2960 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connectionless_iq_report()
3101 static void le_df_connection_iq_report(struct node_rx_pdu *node_rx, struct net_buf *buf) in le_df_connection_iq_report() argument
3110 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connection_iq_report()
3929 struct net_buf **evt, void **node_rx) argument
3938 status = ll_sync_create_cancel(node_rx);
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_aux.c63 struct node_rx_pdu *node_rx, struct pdu_adv *pdu,
125 struct node_rx_pdu *node_rx; in lll_scan_aux_setup() local
226 node_rx = ull_pdu_rx_alloc_peek(1); in lll_scan_aux_setup()
227 LL_ASSERT(node_rx); in lll_scan_aux_setup()
230 ftr = &(node_rx->hdr.rx_ftr); in lll_scan_aux_setup()
238 radio_isr_set(setup_cb, node_rx); in lll_scan_aux_setup()
247 struct node_rx_pdu *node_rx; in lll_scan_aux_isr_aux_setup() local
260 node_rx = param; in lll_scan_aux_isr_aux_setup()
261 ftr = &node_rx->hdr.rx_ftr; in lll_scan_aux_isr_aux_setup()
294 radio_pkt_rx_set(node_rx->pdu); in lll_scan_aux_isr_aux_setup()
[all …]
Dlll_sync.c146 struct node_rx_pdu *node_rx; in lll_sync_aux_prepare_cb() local
158 node_rx = ull_pdu_rx_alloc_peek(1); in lll_sync_aux_prepare_cb()
159 LL_ASSERT(node_rx); in lll_sync_aux_prepare_cb()
161 radio_pkt_rx_set(node_rx->pdu); in lll_sync_aux_prepare_cb()
431 struct node_rx_pdu *node_rx; in prepare_cb_common() local
468 node_rx = ull_pdu_rx_alloc_peek(1); in prepare_cb_common()
469 LL_ASSERT(node_rx); in prepare_cb_common()
471 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common()
649 struct node_rx_pdu *node_rx; in isr_aux_setup() local
662 node_rx = param; in isr_aux_setup()
[all …]
Dlll_sync_iso.c55 uint16_t handle, struct node_rx_pdu *node_rx);
58 struct node_rx_pdu *node_rx);
190 struct node_rx_pdu *node_rx; in prepare_cb_common() local
304 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb_common()
305 LL_ASSERT(node_rx); in prepare_cb_common()
325 node_rx->pdu)); in prepare_cb_common()
334 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common()
487 struct node_rx_pdu *node_rx; in isr_rx() local
583 node_rx = ull_iso_pdu_rx_alloc_peek(2U); in isr_rx()
584 if (!node_rx) { in isr_rx()
[all …]
Dlll_scan.c341 struct node_rx_pdu *node_rx; local
393 node_rx = ull_pdu_rx_alloc_peek(1);
394 LL_ASSERT(node_rx);
396 radio_pkt_rx_set(node_rx->pdu);
660 struct node_rx_pdu *node_rx; local
710 node_rx = ull_pdu_rx_alloc_peek(1);
711 LL_ASSERT(node_rx);
713 pdu = (void *)node_rx->pdu;
780 struct node_rx_pdu *node_rx; local
789 node_rx = ull_pdu_rx_alloc_peek(1);
[all …]
Dlll_df.c223 struct node_rx_iq_report *node_rx; in lll_df_conf_cte_rx_enable() local
242 node_rx = ull_df_iq_report_alloc_peek(1); in lll_df_conf_cte_rx_enable()
243 if (!node_rx) { in lll_df_conf_cte_rx_enable()
247 radio_df_iq_data_packet_set(node_rx->pdu, IQ_SAMPLE_TOTAL_CNT); in lll_df_conf_cte_rx_enable()
248 node_rx->chan_idx = chan_idx; in lll_df_conf_cte_rx_enable()
Dlll_adv.c716 struct node_rx_pdu *node_rx; in lll_adv_scan_req_report() local
718 node_rx = ull_pdu_rx_alloc_peek(3); in lll_adv_scan_req_report()
719 if (!node_rx) { in lll_adv_scan_req_report()
725 node_rx->hdr.type = NODE_RX_TYPE_SCAN_REQ; in lll_adv_scan_req_report()
726 node_rx->hdr.handle = ull_adv_lll_handle_get(lll); in lll_adv_scan_req_report()
728 node_rx->hdr.rx_ftr.rssi = (rssi_ready) ? radio_rssi_get() : in lll_adv_scan_req_report()
731 node_rx->hdr.rx_ftr.rl_idx = rl_idx; in lll_adv_scan_req_report()
734 ull_rx_put_sched(node_rx->hdr.link, node_rx); in lll_adv_scan_req_report()
1154 struct node_rx_pdu *node_rx; in isr_tx() local
1178 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx()
[all …]
Dlll_conn.c197 struct node_rx_pdu *node_rx; local
254 node_rx = ull_pdu_rx_alloc_peek(1);
255 LL_ASSERT(node_rx);
257 pdu_data_rx = (void *)node_rx->pdu;
440 node_rx->hdr.type = NODE_RX_TYPE_DC_PDU;
441 node_rx->hdr.handle = lll->handle;
443 ull_rx_put(node_rx->hdr.link, node_rx);
639 struct node_rx_pdu *node_rx; local
643 node_rx = ull_pdu_rx_alloc_peek(1);
644 LL_ASSERT(node_rx);
[all …]
Dlll_peripheral_iso.c143 struct node_rx_pdu *node_rx; in prepare_cb() local
230 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb()
231 LL_ASSERT(node_rx); in prepare_cb()
254 node_rx->pdu)); in prepare_cb()
265 radio_pkt_rx_set(node_rx->pdu); in prepare_cb()
532 struct node_rx_pdu *node_rx; in isr_rx() local
536 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx()
537 LL_ASSERT(node_rx); in isr_rx()
539 pdu_rx = (void *)node_rx->pdu; in isr_rx()
594 node_rx->hdr.type = NODE_RX_TYPE_ISO_PDU; in isr_rx()
[all …]
Dlll_test.c211 struct node_rx_iq_report *node_rx; in isr_rx() local
240 node_rx = ull_df_iq_report_alloc_peek(1); in isr_rx()
241 LL_ASSERT(node_rx); in isr_rx()
243 radio_df_iq_data_packet_set(node_rx->pdu, IQ_SAMPLE_TOTAL_CNT); in isr_rx()
435 struct node_rx_iq_report *node_rx; in cte_rx_init() local
437 node_rx = ull_df_iq_report_alloc_peek(1); in cte_rx_init()
438 LL_ASSERT(node_rx); in cte_rx_init()
440 radio_df_iq_data_packet_set(node_rx->pdu, IQ_SAMPLE_TOTAL_CNT); in cte_rx_init()
Dlll_adv_aux.c440 struct node_rx_pdu *node_rx; in isr_tx_rx() local
461 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx_rx()
462 LL_ASSERT(node_rx); in isr_tx_rx()
463 radio_pkt_rx_set(node_rx->pdu); in isr_tx_rx()
589 struct node_rx_pdu *node_rx; in isr_rx_pdu() local
611 node_rx = ull_pdu_rx_alloc_peek(1); in isr_rx_pdu()
612 LL_ASSERT(node_rx); in isr_rx_pdu()
614 pdu_rx = (void *)node_rx->pdu; in isr_rx_pdu()
Dlll_central_iso.c440 struct node_rx_pdu *node_rx; in isr_tx() local
453 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_tx()
454 LL_ASSERT(node_rx); in isr_tx()
486 node_rx->pdu)); in isr_tx()
497 radio_pkt_rx_set(node_rx->pdu); in isr_tx()
706 struct node_rx_pdu *node_rx; in isr_rx() local
710 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx()
711 LL_ASSERT(node_rx); in isr_rx()
712 pdu_rx = (void *)node_rx->pdu; in isr_rx()
765 node_rx->hdr.type = NODE_RX_TYPE_ISO_PDU; in isr_rx()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c129 struct node_rx_pdu *node_rx; in prepare_cb() local
166 node_rx = ull_pdu_rx_alloc_peek(1); in prepare_cb()
167 LL_ASSERT(node_rx); in prepare_cb()
168 radio_pkt_rx_set(node_rx->pdu); in prepare_cb()
430 struct node_rx_pdu *node_rx; in isr_tx() local
448 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx()
449 LL_ASSERT(node_rx); in isr_tx()
450 radio_pkt_rx_set(node_rx->pdu); in isr_tx()
485 struct node_rx_pdu *node_rx; in isr_common_done() local
501 node_rx = ull_pdu_rx_alloc_peek(1); in isr_common_done()
[all …]
Dlll_conn.c123 struct node_rx_pdu *node_rx; in lll_conn_isr_rx() local
165 node_rx = ull_pdu_rx_alloc_peek(1); in lll_conn_isr_rx()
166 LL_ASSERT(node_rx); in lll_conn_isr_rx()
168 pdu_data_rx = (void *)node_rx->pdu; in lll_conn_isr_rx()
295 node_rx->hdr.type = NODE_RX_TYPE_DC_PDU; in lll_conn_isr_rx()
296 node_rx->hdr.handle = lll->handle; in lll_conn_isr_rx()
298 ull_rx_put(node_rx->hdr.link, node_rx); in lll_conn_isr_rx()
420 struct node_rx_pdu *node_rx; in lll_conn_rx_pkt_set() local
424 node_rx = ull_pdu_rx_alloc_peek(1); in lll_conn_rx_pkt_set()
425 LL_ASSERT(node_rx); in lll_conn_rx_pkt_set()
[all …]
Dlll_adv.c657 struct node_rx_hdr *node_rx; in isr_done() local
726 node_rx = ull_pdu_rx_alloc_peek(3); in isr_done()
727 if (node_rx) { in isr_done()
731 node_rx->type = NODE_RX_TYPE_ADV_INDICATION; in isr_done()
733 ull_rx_put_sched(node_rx->link, node_rx); in isr_done()
736 ARG_UNUSED(node_rx); in isr_done()
983 struct node_rx_pdu *node_rx; in isr_rx_sr_report() local
987 node_rx = ull_pdu_rx_alloc_peek(3); in isr_rx_sr_report()
988 if (!node_rx) { in isr_rx_sr_report()
994 node_rx->hdr.type = NODE_RX_TYPE_SCAN_REQ; in isr_rx_sr_report()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/ctrl_user_ext/src/
Dhci_user_ext.c27 int8_t hci_user_ext_get_class(struct node_rx_pdu *node_rx) in hci_user_ext_get_class() argument
32 void hci_user_ext_encode_control(struct node_rx_pdu *node_rx, struct pdu_data *pdu_data, struct net… in hci_user_ext_encode_control() argument
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_sync_iso.c84 struct node_rx_hdr *node_rx; in ll_big_sync_create() local
117 node_rx = ll_rx_alloc(); in ll_big_sync_create()
118 if (!node_rx) { in ll_big_sync_create()
132 node_rx->link = link_sync_estab; in ll_big_sync_create()
133 sync->iso.node_rx_estab = node_rx; in ll_big_sync_create()
192 struct node_rx_pdu *node_rx; in ll_big_sync_terminate() local
211 node_rx = (void *)sync->iso.node_rx_estab; in ll_big_sync_terminate()
212 link_sync_estab = node_rx->hdr.link; in ll_big_sync_terminate()
217 ll_rx_release(node_rx); in ll_big_sync_terminate()
219 node_rx = (void *)&sync_iso->node_rx_lost; in ll_big_sync_terminate()
[all …]
Dull_sync.c103 struct node_rx_hdr *node_rx; in ll_sync_create() local
140 node_rx = ll_rx_alloc(); in ll_sync_create()
141 if (!node_rx) { in ll_sync_create()
150 ll_rx_release(node_rx); in ll_sync_create()
183 node_rx->link = link_sync_estab; in ll_sync_create()
190 sync->node_rx_sync_estab = node_rx; in ll_sync_create()
283 struct node_rx_pdu *node_rx; in ll_sync_create_cancel() local
359 node_rx = (void *)sync->node_rx_sync_estab; in ll_sync_create_cancel()
360 link_sync_estab = node_rx->hdr.link; in ll_sync_create_cancel()
365 ll_rx_release(node_rx); in ll_sync_create_cancel()
[all …]
Dull_sync_iso_internal.h13 struct node_rx_hdr *node_rx,
Dull_central.c298 conn->llcp_terminate.node_rx.hdr.link = link; in ll_create_connection()
513 struct node_rx_pdu *node_rx; in ll_connect_disable() local
519 node_rx = (void *)&conn->llcp_terminate.node_rx; in ll_connect_disable()
520 link = node_rx->hdr.link; in ll_connect_disable()
526 node_rx->hdr.type = NODE_RX_TYPE_CONNECTION; in ll_connect_disable()
527 node_rx->hdr.handle = 0xffff; in ll_connect_disable()
532 cc = (void *)node_rx->pdu; in ll_connect_disable()
539 node_rx->hdr.rx_ftr.param = scan_lll; in ll_connect_disable()
541 *rx = node_rx; in ll_connect_disable()
1060 cc = (void *)&conn->llcp_terminate.node_rx;
Dull_sync_internal.h16 struct node_rx_hdr *node_rx, struct pdu_adv_sync_info *si);
/Zephyr-Core-3.5.0/tests/bluetooth/controller/mock_ctrl/src/
Dull.c123 void ll_rx_mem_release(void **node_rx) in ll_rx_mem_release() argument
127 rx = *node_rx; in ll_rx_mem_release()
151 *node_rx = rx; in ll_rx_mem_release()
176 void ll_rx_release(void *node_rx) in ll_rx_release() argument
178 mem_release(node_rx, &mem_pdu_rx.free); in ll_rx_release()

12