/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 | 1886 void **node_rx) in le_big_terminate_sync() argument 1894 status = ll_big_sync_terminate(big_handle, node_rx); in le_big_terminate_sync() 2001 void **node_rx) in le_create_conn_cancel() argument 2005 status = ll_connect_disable(node_rx); in le_create_conn_cancel() 2999 struct node_rx_pdu *node_rx, in le_df_connectionless_iq_report() argument 3013 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connectionless_iq_report() 3154 static void le_df_connection_iq_report(struct node_rx_pdu *node_rx, struct net_buf *buf) in le_df_connection_iq_report() argument 3163 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connection_iq_report() 4001 struct net_buf **evt, void **node_rx) argument 4010 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_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_sync_iso.c | 65 uint16_t handle, struct node_rx_pdu *node_rx); 69 struct node_rx_pdu *node_rx); 207 struct node_rx_pdu *node_rx; in prepare_cb_common() local 346 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb_common() 347 LL_ASSERT(node_rx); in prepare_cb_common() 368 node_rx->pdu)); in prepare_cb_common() 377 radio_pkt_rx_set(node_rx->pdu); in prepare_cb_common() 534 struct node_rx_pdu *node_rx; in isr_rx_estab() local 540 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx_estab() 541 LL_ASSERT(node_rx); in isr_rx_estab() [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 227 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in prepare_cb() 228 LL_ASSERT(node_rx); in prepare_cb() 251 node_rx->pdu)); in prepare_cb() 262 radio_pkt_rx_set(node_rx->pdu); in prepare_cb() 547 struct node_rx_pdu *node_rx; in isr_rx() local 551 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx() 552 LL_ASSERT(node_rx); in isr_rx() 554 pdu_rx = (void *)node_rx->pdu; in isr_rx() 609 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 | 282 struct node_rx_pdu *node_rx; local 339 node_rx = ull_pdu_rx_alloc_peek(1); 340 LL_ASSERT(node_rx); 342 pdu_data_rx = (void *)node_rx->pdu; 547 node_rx->hdr.type = NODE_RX_TYPE_DC_PDU; 548 node_rx->hdr.handle = lll->handle; 550 ull_rx_put(node_rx->hdr.link, node_rx); 782 struct node_rx_pdu *node_rx; local 786 node_rx = ull_pdu_rx_alloc_peek(1); 787 LL_ASSERT(node_rx); [all …]
|
D | lll_central_iso.c | 441 struct node_rx_pdu *node_rx; in isr_tx() local 454 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_tx() 455 LL_ASSERT(node_rx); in isr_tx() 487 node_rx->pdu)); in isr_tx() 498 radio_pkt_rx_set(node_rx->pdu); in isr_tx() 713 struct node_rx_pdu *node_rx; in isr_rx() local 717 node_rx = ull_iso_pdu_rx_alloc_peek(1U); in isr_rx() 718 LL_ASSERT(node_rx); in isr_rx() 719 pdu_rx = (void *)node_rx->pdu; in isr_rx() 772 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 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() 247 struct node_rx_pdu *node_rx; in ll_big_sync_terminate() local 268 node_rx = sync->iso.node_rx_estab; in ll_big_sync_terminate() 269 link_sync_estab = node_rx->hdr.link; in ll_big_sync_terminate() 274 ll_rx_release(node_rx); in ll_big_sync_terminate() 276 node_rx = (void *)&sync_iso->node_rx_lost; in ll_big_sync_terminate() [all …]
|
D | ull_sync.c | 446 struct node_rx_pdu *node_rx; in ll_sync_create_cancel() local 522 node_rx = sync->node_rx_sync_estab; in ll_sync_create_cancel() 523 link_sync_estab = node_rx->hdr.link; in ll_sync_create_cancel() 528 ll_rx_release(node_rx); in ll_sync_create_cancel() 535 node_rx = (void *)&sync->node_rx_lost; in ll_sync_create_cancel() 536 node_rx->hdr.type = NODE_RX_TYPE_SYNC; in ll_sync_create_cancel() 537 node_rx->hdr.handle = LLL_HANDLE_INVALID; in ll_sync_create_cancel() 542 se = (void *)node_rx->pdu; in ll_sync_create_cancel() 548 node_rx->rx_ftr.param = sync; in ll_sync_create_cancel() 550 *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;
|
D | ull_sync_internal.h | 20 struct node_rx_pdu *node_rx, struct pdu_adv_sync_info *si);
|