Home
last modified time | relevance | path

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

12

/Zephyr-4.3.0/subsys/bluetooth/controller/hci/
Dhci_driver.c289 static struct net_buf *process_prio_evt(struct node_rx_pdu *node_rx, in process_prio_evt() argument
293 if (node_rx->hdr.user_meta == HCI_CLASS_EVT_CONNECTION) { in process_prio_evt()
295 struct pdu_data *pdu_data = (void *)node_rx->pdu; in process_prio_evt()
297 handle = node_rx->hdr.handle; in process_prio_evt()
298 if (node_rx->hdr.type == NODE_RX_TYPE_TERMINATE) { in process_prio_evt()
328 struct node_rx_pdu *node_rx; in prio_recv_thread() local
335 node_rx = ll_iso_rx_get(); in prio_recv_thread()
336 if (node_rx) { in prio_recv_thread()
340 node_rx->hdr.user_meta = hci_get_class(node_rx); in prio_recv_thread()
346 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.c1887 void **node_rx) in le_big_terminate_sync() argument
1895 status = ll_big_sync_terminate(big_handle, node_rx); in le_big_terminate_sync()
2002 void **node_rx) in le_create_conn_cancel() argument
2006 status = ll_connect_disable(node_rx); in le_create_conn_cancel()
3049 struct node_rx_pdu *node_rx, in le_df_connectionless_iq_report() argument
3063 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connectionless_iq_report()
3204 static void le_df_connection_iq_report(struct node_rx_pdu *node_rx, struct net_buf *buf) in le_df_connection_iq_report() argument
3213 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connection_iq_report()
4051 struct net_buf **evt, void **node_rx) argument
4060 status = ll_sync_create_cancel(node_rx);
[all …]
/Zephyr-4.3.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
233 node_rx = ull_pdu_rx_alloc_peek(1); in lll_scan_aux_setup()
234 LL_ASSERT_DBG(node_rx); in lll_scan_aux_setup()
237 ftr = &(node_rx->rx_ftr); in lll_scan_aux_setup()
245 radio_isr_set(setup_cb, node_rx); in lll_scan_aux_setup()
255 struct node_rx_pdu *node_rx; in lll_scan_aux_isr_aux_setup() local
268 node_rx = param; in lll_scan_aux_isr_aux_setup()
269 ftr = &node_rx->rx_ftr; in lll_scan_aux_isr_aux_setup()
309 radio_pkt_rx_set(node_rx->pdu); in lll_scan_aux_isr_aux_setup()
[all …]
Dlll_sync.c127 struct node_rx_pdu *node_rx; in lll_sync_aux_prepare_cb() local
139 node_rx = ull_pdu_rx_alloc_peek(1); in lll_sync_aux_prepare_cb()
140 LL_ASSERT_DBG(node_rx); in lll_sync_aux_prepare_cb()
142 radio_pkt_rx_set(node_rx->pdu); in lll_sync_aux_prepare_cb()
414 struct node_rx_pdu *node_rx; in prepare_cb_common() local
458 node_rx = ull_pdu_rx_alloc_peek(1); in prepare_cb_common()
459 LL_ASSERT_DBG(node_rx); in prepare_cb_common()
461 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common()
656 struct node_rx_pdu *node_rx; in isr_aux_setup() local
669 node_rx = param; in isr_aux_setup()
[all …]
Dlll_scan.c341 struct node_rx_pdu *node_rx; local
393 node_rx = ull_pdu_rx_alloc_peek(1);
394 LL_ASSERT_DBG(node_rx);
396 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_DBG(node_rx);
719 pdu = (void *)node_rx->pdu;
780 struct node_rx_pdu *node_rx; local
794 node_rx = ull_pdu_rx_alloc_peek(1);
[all …]
Dlll_sync_iso.c62 uint16_t handle, struct node_rx_pdu *node_rx);
66 struct node_rx_pdu *node_rx);
168 struct node_rx_pdu *node_rx; in prepare_cb_common() local
315 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb_common()
316 LL_ASSERT_DBG(node_rx); in prepare_cb_common()
337 node_rx->pdu)); in prepare_cb_common()
346 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common()
523 struct node_rx_pdu *node_rx; in isr_rx_estab() local
529 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx_estab()
530 LL_ASSERT_DBG(node_rx); in isr_rx_estab()
[all …]
Dlll_df.c222 struct node_rx_iq_report *node_rx; in lll_df_conf_cte_rx_enable() local
241 node_rx = ull_df_iq_report_alloc_peek(1); in lll_df_conf_cte_rx_enable()
242 if (!node_rx) { in lll_df_conf_cte_rx_enable()
246 radio_df_iq_data_packet_set(node_rx->pdu, IQ_SAMPLE_TOTAL_CNT); in lll_df_conf_cte_rx_enable()
247 node_rx->chan_idx = chan_idx; in lll_df_conf_cte_rx_enable()
Dlll_adv.c713 struct node_rx_pdu *node_rx; in lll_adv_scan_req_report() local
715 node_rx = ull_pdu_rx_alloc_peek(3); in lll_adv_scan_req_report()
716 if (!node_rx) { in lll_adv_scan_req_report()
722 node_rx->hdr.type = NODE_RX_TYPE_SCAN_REQ; in lll_adv_scan_req_report()
723 node_rx->hdr.handle = ull_adv_lll_handle_get(lll); in lll_adv_scan_req_report()
725 node_rx->rx_ftr.rssi = (rssi_ready) ? radio_rssi_get() : in lll_adv_scan_req_report()
728 node_rx->rx_ftr.rl_idx = rl_idx; in lll_adv_scan_req_report()
731 ull_rx_put_sched(node_rx->hdr.link, node_rx); in lll_adv_scan_req_report()
1151 struct node_rx_pdu *node_rx; in isr_tx() local
1180 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx()
[all …]
Dlll_peripheral_iso.c130 struct node_rx_pdu *node_rx; in prepare_cb() local
235 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb()
236 LL_ASSERT_DBG(node_rx); in prepare_cb()
259 node_rx->pdu)); in prepare_cb()
270 radio_pkt_rx_set(node_rx->pdu); in prepare_cb()
584 struct node_rx_pdu *node_rx; in isr_rx() local
588 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx()
589 LL_ASSERT_DBG(node_rx); in isr_rx()
591 pdu_rx = (void *)node_rx->pdu; in isr_rx()
646 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_DBG(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_DBG(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_conn.c312 struct node_rx_pdu *node_rx; local
366 node_rx = ull_pdu_rx_alloc_peek(1);
367 LL_ASSERT_DBG(node_rx);
369 pdu_data_rx = (void *)node_rx->pdu;
599 node_rx->hdr.type = NODE_RX_TYPE_DC_PDU;
600 node_rx->hdr.handle = lll->handle;
602 ull_rx_put(node_rx->hdr.link, node_rx);
834 struct node_rx_pdu *node_rx; local
838 node_rx = ull_pdu_rx_alloc_peek(1);
839 LL_ASSERT_DBG(node_rx);
[all …]
Dlll_central_iso.c467 struct node_rx_pdu *node_rx; in isr_tx() local
496 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_tx()
497 LL_ASSERT_DBG(node_rx); in isr_tx()
531 node_rx->pdu)); in isr_tx()
542 radio_pkt_rx_set(node_rx->pdu); in isr_tx()
770 struct node_rx_pdu *node_rx; in isr_rx() local
774 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx()
775 LL_ASSERT_DBG(node_rx); in isr_rx()
776 pdu_rx = (void *)node_rx->pdu; in isr_rx()
831 node_rx->hdr.type = NODE_RX_TYPE_ISO_PDU; in isr_rx()
[all …]
Dlll_adv_aux.c579 struct node_rx_pdu *node_rx; in isr_tx_rx() local
605 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx_rx()
606 LL_ASSERT_DBG(node_rx); in isr_tx_rx()
607 radio_pkt_rx_set(node_rx->pdu); in isr_tx_rx()
739 struct node_rx_pdu *node_rx; in isr_rx_pdu() local
761 node_rx = ull_pdu_rx_alloc_peek(1); in isr_rx_pdu()
762 LL_ASSERT_DBG(node_rx); in isr_rx_pdu()
764 pdu_rx = (void *)node_rx->pdu; in isr_rx_pdu()
/Zephyr-4.3.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_pdu *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->hdr.type = NODE_RX_TYPE_ADV_INDICATION; in isr_done()
733 ull_rx_put_sched(node_rx->hdr.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-4.3.0/tests/bluetooth/controller/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-4.3.0/tests/bluetooth/controller/mock_ctrl/src/
Dull.c124 void ll_rx_mem_release(void **node_rx) in ll_rx_mem_release() argument
128 rx = *node_rx; in ll_rx_mem_release()
152 *node_rx = rx; in ll_rx_mem_release()
177 void ll_rx_release(void *node_rx) in ll_rx_release() argument
179 mem_release(node_rx, &mem_pdu_rx.free); in ll_rx_release()
/Zephyr-4.3.0/subsys/bluetooth/controller/ll_sw/
Dull_sync_iso.c98 struct node_rx_pdu *node_rx; in ll_big_sync_create() local
167 node_rx = ll_rx_alloc(); in ll_big_sync_create()
168 if (!node_rx) { in ll_big_sync_create()
182 node_rx->hdr.link = link_sync_estab; in ll_big_sync_create()
183 sync->iso.node_rx_estab = node_rx; in ll_big_sync_create()
248 struct node_rx_pdu *node_rx; in ll_big_sync_terminate() local
269 node_rx = sync->iso.node_rx_estab; in ll_big_sync_terminate()
270 link_sync_estab = node_rx->hdr.link; in ll_big_sync_terminate()
275 ll_rx_release(node_rx); in ll_big_sync_terminate()
277 node_rx = (void *)&sync_iso->node_rx_lost; in ll_big_sync_terminate()
[all …]
Dull_sync.c438 struct node_rx_pdu *node_rx; in ll_sync_create_cancel() local
514 node_rx = sync->node_rx_sync_estab; in ll_sync_create_cancel()
515 link_sync_estab = node_rx->hdr.link; in ll_sync_create_cancel()
520 ll_rx_release(node_rx); in ll_sync_create_cancel()
527 node_rx = (void *)&sync->node_rx_lost; in ll_sync_create_cancel()
528 node_rx->hdr.type = NODE_RX_TYPE_SYNC; in ll_sync_create_cancel()
529 node_rx->hdr.handle = LLL_HANDLE_INVALID; in ll_sync_create_cancel()
534 se = (void *)node_rx->pdu; in ll_sync_create_cancel()
540 node_rx->rx_ftr.param = sync; in ll_sync_create_cancel()
542 *rx = node_rx; in ll_sync_create_cancel()
[all …]
Dull_sync_iso_internal.h13 struct node_rx_pdu *node_rx,
Dull_central.c301 conn->llcp_terminate.node_rx.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.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->rx_ftr.param = scan_lll; in ll_connect_disable()
542 *rx = node_rx; in ll_connect_disable()
1074 cc = (void *)&conn->llcp_terminate.node_rx.rx;
Dull_sync_internal.h20 struct node_rx_pdu *node_rx, struct pdu_adv_sync_info *si);

12