/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci_driver.c | 299 static struct net_buf *process_prio_evt(struct node_rx_pdu *node_rx, in process_prio_evt() argument 303 if (node_rx->hdr.user_meta == HCI_CLASS_EVT_CONNECTION) { in process_prio_evt() 305 struct pdu_data *pdu_data = (void *)node_rx->pdu; in process_prio_evt() 307 handle = node_rx->hdr.handle; in process_prio_evt() 308 if (node_rx->hdr.type == NODE_RX_TYPE_TERMINATE) { in process_prio_evt() 338 struct node_rx_pdu *node_rx; in prio_recv_thread() local 347 node_rx = ll_iso_rx_get(); in prio_recv_thread() 348 if (node_rx) { in prio_recv_thread() 352 node_rx->hdr.user_meta = hci_get_class(node_rx); in prio_recv_thread() 358 k_fifo_put(&recv_fifo, node_rx); in prio_recv_thread() [all …]
|
D | hci_user_ext.h | 11 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…
|
D | hci_internal.h | 36 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);
|
D | hci.c | 1851 void **node_rx) in le_big_terminate_sync() argument 1859 status = ll_big_sync_terminate(big_handle, node_rx); in le_big_terminate_sync() 1966 void **node_rx) in le_create_conn_cancel() argument 1970 status = ll_connect_disable(node_rx); in le_create_conn_cancel() 2964 struct node_rx_pdu *node_rx, in le_df_connectionless_iq_report() argument 2978 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connectionless_iq_report() 3119 static void le_df_connection_iq_report(struct node_rx_pdu *node_rx, struct net_buf *buf) in le_df_connection_iq_report() argument 3128 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connection_iq_report() 3966 struct net_buf **evt, void **node_rx) argument 3975 status = ll_sync_create_cancel(node_rx); [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_scan_aux.c | 63 struct node_rx_pdu *node_rx, struct pdu_adv *pdu, 125 struct node_rx_pdu *node_rx; in lll_scan_aux_setup() local 232 node_rx = ull_pdu_rx_alloc_peek(1); in lll_scan_aux_setup() 233 LL_ASSERT(node_rx); in lll_scan_aux_setup() 236 ftr = &(node_rx->rx_ftr); in lll_scan_aux_setup() 244 radio_isr_set(setup_cb, node_rx); in lll_scan_aux_setup() 254 struct node_rx_pdu *node_rx; in lll_scan_aux_isr_aux_setup() local 267 node_rx = param; in lll_scan_aux_isr_aux_setup() 268 ftr = &node_rx->rx_ftr; in lll_scan_aux_isr_aux_setup() 308 radio_pkt_rx_set(node_rx->pdu); in lll_scan_aux_isr_aux_setup() [all …]
|
D | lll_sync.c | 148 struct node_rx_pdu *node_rx; in lll_sync_aux_prepare_cb() local 160 node_rx = ull_pdu_rx_alloc_peek(1); in lll_sync_aux_prepare_cb() 161 LL_ASSERT(node_rx); in lll_sync_aux_prepare_cb() 163 radio_pkt_rx_set(node_rx->pdu); in lll_sync_aux_prepare_cb() 433 struct node_rx_pdu *node_rx; in prepare_cb_common() local 470 node_rx = ull_pdu_rx_alloc_peek(1); in prepare_cb_common() 471 LL_ASSERT(node_rx); in prepare_cb_common() 473 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common() 658 struct node_rx_pdu *node_rx; in isr_aux_setup() local 671 node_rx = param; in isr_aux_setup() [all …]
|
D | lll_sync_iso.c | 58 uint16_t handle, struct node_rx_pdu *node_rx); 62 struct node_rx_pdu *node_rx); 200 struct node_rx_pdu *node_rx; in prepare_cb_common() local 313 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb_common() 314 LL_ASSERT(node_rx); in prepare_cb_common() 335 node_rx->pdu)); in prepare_cb_common() 344 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common() 481 struct node_rx_pdu *node_rx; in isr_rx_estab() local 487 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx_estab() 488 LL_ASSERT(node_rx); in isr_rx_estab() [all …]
|
D | lll_scan.c | 341 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 …]
|
D | lll_df.c | 223 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()
|
D | lll_adv.c | 713 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 1175 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx() [all …]
|
D | lll_peripheral_iso.c | 129 struct node_rx_pdu *node_rx; in prepare_cb() local 224 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb() 225 LL_ASSERT(node_rx); in prepare_cb() 248 node_rx->pdu)); in prepare_cb() 259 radio_pkt_rx_set(node_rx->pdu); in prepare_cb() 543 struct node_rx_pdu *node_rx; in isr_rx() local 547 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx() 548 LL_ASSERT(node_rx); in isr_rx() 550 pdu_rx = (void *)node_rx->pdu; in isr_rx() 605 node_rx->hdr.type = NODE_RX_TYPE_ISO_PDU; in isr_rx() [all …]
|
D | lll_test.c | 211 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()
|
D | lll_conn.c | 278 struct node_rx_pdu *node_rx; local 335 node_rx = ull_pdu_rx_alloc_peek(1); 336 LL_ASSERT(node_rx); 338 pdu_data_rx = (void *)node_rx->pdu; 543 node_rx->hdr.type = NODE_RX_TYPE_DC_PDU; 544 node_rx->hdr.handle = lll->handle; 546 ull_rx_put(node_rx->hdr.link, node_rx); 760 struct node_rx_pdu *node_rx; local 764 node_rx = ull_pdu_rx_alloc_peek(1); 765 LL_ASSERT(node_rx); [all …]
|
D | lll_central_iso.c | 440 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 …]
|
D | lll_adv_aux.c | 574 struct node_rx_pdu *node_rx; in isr_tx_rx() local 600 node_rx = ull_pdu_rx_alloc_peek(1); in isr_tx_rx() 601 LL_ASSERT(node_rx); in isr_tx_rx() 602 radio_pkt_rx_set(node_rx->pdu); in isr_tx_rx() 734 struct node_rx_pdu *node_rx; in isr_rx_pdu() local 756 node_rx = ull_pdu_rx_alloc_peek(1); in isr_rx_pdu() 757 LL_ASSERT(node_rx); in isr_rx_pdu() 759 pdu_rx = (void *)node_rx->pdu; in isr_rx_pdu()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_scan.c | 129 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 …]
|
D | lll_conn.c | 123 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 …]
|
D | lll_adv.c | 657 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-latest/tests/bluetooth/controller/ctrl_user_ext/src/ |
D | hci_user_ext.c | 27 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-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull.c | 123 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()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_sync_iso.c | 98 struct node_rx_pdu *node_rx; in ll_big_sync_create() local 166 node_rx = ll_rx_alloc(); in ll_big_sync_create() 167 if (!node_rx) { in ll_big_sync_create() 181 node_rx->hdr.link = link_sync_estab; in ll_big_sync_create() 182 sync->iso.node_rx_estab = node_rx; in ll_big_sync_create() 246 struct node_rx_pdu *node_rx; in ll_big_sync_terminate() local 267 node_rx = sync->iso.node_rx_estab; in ll_big_sync_terminate() 268 link_sync_estab = node_rx->hdr.link; in ll_big_sync_terminate() 273 ll_rx_release(node_rx); in ll_big_sync_terminate() 275 node_rx = (void *)&sync_iso->node_rx_lost; in ll_big_sync_terminate() [all …]
|
D | ull_sync.c | 444 struct node_rx_pdu *node_rx; in ll_sync_create_cancel() local 520 node_rx = sync->node_rx_sync_estab; in ll_sync_create_cancel() 521 link_sync_estab = node_rx->hdr.link; in ll_sync_create_cancel() 526 ll_rx_release(node_rx); in ll_sync_create_cancel() 533 node_rx = (void *)&sync->node_rx_lost; in ll_sync_create_cancel() 534 node_rx->hdr.type = NODE_RX_TYPE_SYNC; in ll_sync_create_cancel() 535 node_rx->hdr.handle = LLL_HANDLE_INVALID; in ll_sync_create_cancel() 540 se = (void *)node_rx->pdu; in ll_sync_create_cancel() 546 node_rx->rx_ftr.param = sync; in ll_sync_create_cancel() 548 *rx = node_rx; in ll_sync_create_cancel() [all …]
|
D | ull_sync_iso_internal.h | 13 struct node_rx_pdu *node_rx,
|
D | ull_central.c | 300 conn->llcp_terminate.node_rx.rx.hdr.link = link; in ll_create_connection() 520 struct node_rx_pdu *node_rx; in ll_connect_disable() local 526 node_rx = (void *)&conn->llcp_terminate.node_rx.rx; in ll_connect_disable() 527 link = node_rx->hdr.link; in ll_connect_disable() 533 node_rx->hdr.type = NODE_RX_TYPE_CONNECTION; in ll_connect_disable() 534 node_rx->hdr.handle = 0xffff; in ll_connect_disable() 539 cc = (void *)node_rx->pdu; in ll_connect_disable() 546 node_rx->rx_ftr.param = scan_lll; in ll_connect_disable() 548 *rx = node_rx; in ll_connect_disable() 1072 cc = (void *)&conn->llcp_terminate.node_rx.rx;
|
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/ |
D | test_bis.c | 849 struct node_rx_pdu *node_rx = NULL; in test_iso_recv_main() local 851 err = ll_big_sync_terminate(big_handle, (void **)&node_rx); in test_iso_recv_main() 858 if (node_rx) { in test_iso_recv_main() 874 node_rx = NULL; in test_iso_recv_main() 875 err = ll_big_sync_terminate(big_handle, (void **)&node_rx); in test_iso_recv_main() 882 if (node_rx) { in test_iso_recv_main() 883 node_rx->hdr.next = NULL; in test_iso_recv_main() 884 ll_rx_mem_release((void **)&node_rx); in test_iso_recv_main()
|