Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.4.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()
2937 struct node_rx_pdu *node_rx, in le_df_connectionless_iq_report() argument
2951 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connectionless_iq_report()
3092 static void le_df_connection_iq_report(struct node_rx_pdu *node_rx, struct net_buf *buf) in le_df_connection_iq_report() argument
3101 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connection_iq_report()
3909 struct net_buf **evt, void **node_rx) argument
3918 status = ll_sync_create_cancel(node_rx);
[all …]
/Zephyr-Core-3.4.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()
435 struct node_rx_pdu *node_rx; in prepare_cb_common() local
471 node_rx = ull_pdu_rx_alloc_peek(1); in prepare_cb_common()
472 LL_ASSERT(node_rx); in prepare_cb_common()
474 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common()
651 struct node_rx_pdu *node_rx; in isr_aux_setup() local
664 node_rx = param; in isr_aux_setup()
[all …]
Dlll_scan.c341 struct node_rx_pdu *node_rx; local
392 node_rx = ull_pdu_rx_alloc_peek(1);
393 LL_ASSERT(node_rx);
395 radio_pkt_rx_set(node_rx->pdu);
666 struct node_rx_pdu *node_rx; local
716 node_rx = ull_pdu_rx_alloc_peek(1);
717 LL_ASSERT(node_rx);
719 pdu = (void *)node_rx->pdu;
786 struct node_rx_pdu *node_rx; local
795 node_rx = ull_pdu_rx_alloc_peek(1);
[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
303 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb_common()
304 LL_ASSERT(node_rx); in prepare_cb_common()
323 node_rx->pdu)); in prepare_cb_common()
332 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common()
484 struct node_rx_pdu *node_rx; in isr_rx() local
579 node_rx = ull_iso_pdu_rx_alloc_peek(2U); in isr_rx()
580 if (!node_rx) { in isr_rx()
[all …]
Dlll_central_iso.c456 struct node_rx_pdu *node_rx; in isr_tx() local
474 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_tx()
475 LL_ASSERT(node_rx); in isr_tx()
497 node_rx->pdu)); in isr_tx()
508 radio_pkt_rx_set(node_rx->pdu); in isr_tx()
662 struct node_rx_pdu *node_rx; in isr_rx() local
699 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx()
700 LL_ASSERT(node_rx); in isr_rx()
702 pdu_rx = (void *)node_rx->pdu; in isr_rx()
758 node_rx->hdr.type = NODE_RX_TYPE_ISO_PDU; in isr_rx()
[all …]
Dlll_peripheral_iso.c161 struct node_rx_pdu *node_rx; in prepare_cb() local
251 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb()
252 LL_ASSERT(node_rx); in prepare_cb()
273 node_rx->pdu)); in prepare_cb()
284 radio_pkt_rx_set(node_rx->pdu); in prepare_cb()
538 struct node_rx_pdu *node_rx; in isr_rx() local
542 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx()
543 LL_ASSERT(node_rx); in isr_rx()
545 pdu_rx = (void *)node_rx->pdu; in isr_rx()
597 node_rx->hdr.type = NODE_RX_TYPE_ISO_PDU; in isr_rx()
[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()
1150 struct node_rx_pdu *node_rx; in isr_tx() local
1174 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_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.c436 struct node_rx_pdu *node_rx; in isr_tx_rx() local
457 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx_rx()
458 LL_ASSERT(node_rx); in isr_tx_rx()
459 radio_pkt_rx_set(node_rx->pdu); in isr_tx_rx()
585 struct node_rx_pdu *node_rx; in isr_rx_pdu() local
607 node_rx = ull_pdu_rx_alloc_peek(1); in isr_rx_pdu()
608 LL_ASSERT(node_rx); in isr_rx_pdu()
610 pdu_rx = (void *)node_rx->pdu; in isr_rx_pdu()
/Zephyr-Core-3.4.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.4.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.4.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.c299 conn->llcp_terminate.node_rx.hdr.link = link; in ll_create_connection()
514 struct node_rx_pdu *node_rx; in ll_connect_disable() local
520 node_rx = (void *)&conn->llcp_terminate.node_rx; in ll_connect_disable()
521 link = node_rx->hdr.link; in ll_connect_disable()
527 node_rx->hdr.type = NODE_RX_TYPE_CONNECTION; in ll_connect_disable()
528 node_rx->hdr.handle = 0xffff; in ll_connect_disable()
533 cc = (void *)node_rx->pdu; in ll_connect_disable()
540 node_rx->hdr.rx_ftr.param = scan_lll; in ll_connect_disable()
542 *rx = node_rx; in ll_connect_disable()
1061 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.4.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