/wlan-driver/qca-wifi-host-cmn/utils/sys/ |
D | queue.h | 116 #define QMD_TRACE_HEAD(head) do { \ argument 117 (head)->trace.prevline = (head)->trace.lastline; \ 118 (head)->trace.prevfile = (head)->trace.lastfile; \ 119 (head)->trace.lastline = __LINE__; \ 120 (head)->trace.lastfile = __FILE__; \ 132 #define QMD_TRACE_HEAD(head) argument 151 #define SLIST_HEAD_INITIALIZER(head) \ argument 162 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 164 #define SLIST_FIRST(head) ((head)->slh_first) argument 166 #define SLIST_FOREACH(var, head, field) \ argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | i_qdf_notifier.h | 35 __qdf_register_blocking_notifier_chain(__qdf_blocking_notif_head *head, in __qdf_register_blocking_notifier_chain() argument 38 return blocking_notifier_chain_register(head, qnb); in __qdf_register_blocking_notifier_chain() 42 __qdf_unregister_blocking_notifier_chain(__qdf_blocking_notif_head *head, in __qdf_unregister_blocking_notifier_chain() argument 45 return blocking_notifier_chain_unregister(head, qnb); in __qdf_unregister_blocking_notifier_chain() 49 __qdf_blocking_notfier_call(__qdf_blocking_notif_head *head, in __qdf_blocking_notfier_call() argument 52 return blocking_notifier_call_chain(head, v, data); in __qdf_blocking_notfier_call() 56 __qdf_register_atomic_notifier_chain(__qdf_atomic_notif_head *head, in __qdf_register_atomic_notifier_chain() argument 59 return atomic_notifier_chain_register(head, qnb); in __qdf_register_atomic_notifier_chain() 63 __qdf_unregister_atomic_notifier_chain(__qdf_atomic_notif_head *head, in __qdf_unregister_atomic_notifier_chain() argument 66 return atomic_notifier_chain_unregister(head, qnb); in __qdf_unregister_atomic_notifier_chain() [all …]
|
D | i_qdf_nbuf.h | 1669 return skb->head; in __qdf_nbuf_head() 2106 struct sk_buff *head; member 2140 if (!qhead->head) in __qdf_nbuf_queue_add() 2141 qhead->head = skb; in __qdf_nbuf_queue_add() 2161 else if (!src || !(src->head)) in __qdf_nbuf_queue_append() 2164 if (!(dest->head)) in __qdf_nbuf_queue_append() 2165 dest->head = src->head; in __qdf_nbuf_queue_append() 2167 dest->tail->next = src->head; in __qdf_nbuf_queue_append() 2187 if (!qhead->head) { in __qdf_nbuf_queue_insert_head() 2191 skb->next = qhead->head; in __qdf_nbuf_queue_insert_head() [all …]
|
D | i_qdf_list.h | 83 #define __QDF_LIST_INIT(tail, head) \ argument 84 { .anchor = __QDF_LIST_NODE_INIT(tail, head), }
|
/wlan-driver/qca-wifi-host-cmn/qdf/src/ |
D | qdf_notifier.c | 20 QDF_STATUS qdf_register_blocking_notifier_chain(qdf_blocking_notif_head *head, in qdf_register_blocking_notifier_chain() argument 25 ret = __qdf_register_blocking_notifier_chain(head, &qnb->notif_block); in qdf_register_blocking_notifier_chain() 30 QDF_STATUS qdf_unregister_blocking_notifier_chain(qdf_blocking_notif_head *head, in qdf_unregister_blocking_notifier_chain() argument 35 ret = __qdf_unregister_blocking_notifier_chain(head, in qdf_unregister_blocking_notifier_chain() 41 QDF_STATUS qdf_blocking_notfier_call(qdf_blocking_notif_head *head, in qdf_blocking_notfier_call() argument 46 ret = __qdf_blocking_notfier_call(head, state, data); in qdf_blocking_notfier_call() 51 QDF_STATUS qdf_register_atomic_notifier_chain(qdf_atomic_notif_head *head, in qdf_register_atomic_notifier_chain() argument 56 ret = __qdf_register_atomic_notifier_chain(head, &qnb->notif_block); in qdf_register_atomic_notifier_chain() 61 QDF_STATUS qdf_unregister_atomic_notifier_chain(qdf_atomic_notif_head *head, in qdf_unregister_atomic_notifier_chain() argument 66 ret = __qdf_unregister_atomic_notifier_chain(head, &qnb->notif_block); in qdf_unregister_atomic_notifier_chain() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_notifier.h | 56 QDF_STATUS qdf_register_blocking_notifier_chain(qdf_blocking_notif_head *head, 70 QDF_STATUS qdf_unregister_blocking_notifier_chain(qdf_blocking_notif_head *head, 85 QDF_STATUS qdf_blocking_notfier_call(qdf_blocking_notif_head *head, 99 QDF_STATUS qdf_register_atomic_notifier_chain(qdf_atomic_notif_head *head, 113 QDF_STATUS qdf_unregister_atomic_notifier_chain(qdf_atomic_notif_head *head, 127 QDF_STATUS qdf_atomic_notfier_call(qdf_atomic_notif_head *head, 132 qdf_blocking_notif_head *head, in qdf_register_blocking_notifier_chain() argument 139 qdf_blocking_notif_head *head, in qdf_unregister_blocking_notifier_chain() argument 146 qdf_blocking_notif_head *head, in qdf_blocking_notfier_call() argument 153 qdf_atomic_notif_head *head, in qdf_register_atomic_notifier_chain() argument [all …]
|
D | qdf_slist.h | 45 struct qdf_slist_node *head; member 62 (slist)->head, cursor, node_field) 71 for (cursor = __qdf_slist_item((slist)->head, cursor, node_field); \ 86 cursor = __qdf_slist_item((slist)->head, cursor, node_field); \ 100 slist->head = NULL; in qdf_slist_init() 111 QDF_BUG(!slist->head); in qdf_slist_deinit() 112 slist->head = __qdf_slist_poison; in qdf_slist_deinit() 123 return !slist->head; in qdf_slist_empty() 140 node->next = slist->head; in __qdf_slist_push() 141 slist->head = node; in __qdf_slist_push() [all …]
|
D | qdf_nbuf.h | 1537 static inline void qdf_nbuf_queue_head_lock(qdf_nbuf_queue_head_t *head) in qdf_nbuf_queue_head_lock() argument 1539 __qdf_nbuf_queue_head_lock(head); in qdf_nbuf_queue_head_lock() 1548 static inline void qdf_nbuf_queue_head_unlock(qdf_nbuf_queue_head_t *head) in qdf_nbuf_queue_head_unlock() argument 1550 __qdf_nbuf_queue_head_unlock(head); in qdf_nbuf_queue_head_unlock() 3158 static inline void qdf_nbuf_queue_init(qdf_nbuf_queue_t *head) in qdf_nbuf_queue_init() argument 3160 __qdf_nbuf_queue_init(head); in qdf_nbuf_queue_init() 3170 static inline void qdf_nbuf_queue_add(qdf_nbuf_queue_t *head, qdf_nbuf_t buf) in qdf_nbuf_queue_add() argument 3172 __qdf_nbuf_queue_add(head, buf); in qdf_nbuf_queue_add() 3183 qdf_nbuf_queue_insert_head(qdf_nbuf_queue_t *head, qdf_nbuf_t buf) in qdf_nbuf_queue_insert_head() argument 3185 __qdf_nbuf_queue_insert_head(head, buf); in qdf_nbuf_queue_insert_head() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rx_buffer_pool.c | 125 uint16_t head, tail; in dp_rx_refill_buff_pool_enqueue() local 136 head = buff_pool->head; in dp_rx_refill_buff_pool_enqueue() 138 if (tail > head) in dp_rx_refill_buff_pool_enqueue() 139 total_num_refill = (tail - head - 1); in dp_rx_refill_buff_pool_enqueue() 141 total_num_refill = (buff_pool->max_bufq_len - head + in dp_rx_refill_buff_pool_enqueue() 173 buff_pool->buf_elem[head++] = nbuf; in dp_rx_refill_buff_pool_enqueue() 174 head &= (buff_pool->max_bufq_len - 1); in dp_rx_refill_buff_pool_enqueue() 179 buff_pool->head = head; in dp_rx_refill_buff_pool_enqueue() 194 uint16_t head, tail; in dp_rx_refill_buff_pool_dequeue_nbuf() local 196 head = buff_pool->head; in dp_rx_refill_buff_pool_dequeue_nbuf() [all …]
|
D | dp_rx_defrag.c | 117 union dp_rx_desc_list_elem_t *head = NULL; in dp_rx_return_head_frag_desc() local 129 dp_rx_add_to_free_desc_list(&head, &tail, in dp_rx_return_head_frag_desc() 132 1, &head, &tail, false); in dp_rx_return_head_frag_desc() 887 qdf_nbuf_t head, in dp_rx_construct_fraglist() argument 891 qdf_nbuf_t msdu = qdf_nbuf_next(head); in dp_rx_construct_fraglist() 944 qdf_nbuf_append_ext_list(head, rx_nbuf, len); in dp_rx_construct_fraglist() 945 qdf_nbuf_set_next(head, NULL); in dp_rx_construct_fraglist() 946 qdf_nbuf_set_is_frag(head, 1); in dp_rx_construct_fraglist() 949 (uint32_t)qdf_nbuf_len(head), in dp_rx_construct_fraglist() 951 (uint32_t)(head->data_len)); in dp_rx_construct_fraglist() [all …]
|
D | dp_rx_buffer_pool.h | 109 uint16_t head = buff_pool->head; in dp_rx_schedule_refill_thread() local 116 if (tail > head) in dp_rx_schedule_refill_thread() 117 num_refill = (tail - head - 1); in dp_rx_schedule_refill_thread() 119 num_refill = (buff_pool->max_bufq_len - head + tail - 1); in dp_rx_schedule_refill_thread()
|
D | dp_rx.h | 50 #define DP_PDEV_INVALID_PEER_MSDU_CHECK(head, tail) \ argument 52 qdf_assert_always(!(head)); \ 56 #define DP_PDEV_INVALID_PEER_MSDU_CHECK(head, tail) /* no op */ argument 217 #define dp_rx_add_to_free_desc_list(head, tail, new) \ argument 218 __dp_rx_add_to_free_desc_list(head, tail, new, __func__) 220 #define dp_rx_add_to_free_desc_list_reuse(head, tail, new) \ argument 221 __dp_rx_add_to_free_desc_list_reuse(head, tail, new, __func__) 1156 void __dp_rx_add_to_free_desc_list(union dp_rx_desc_list_elem_t **head, in __dp_rx_add_to_free_desc_list() argument 1160 qdf_assert(head && new); in __dp_rx_add_to_free_desc_list() 1167 ((union dp_rx_desc_list_elem_t *)new)->next = *head; in __dp_rx_add_to_free_desc_list() [all …]
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_tx_hl.c | 778 tcp_node_list = vdev->tcp_ack_hash.node[i].head; 781 vdev->tcp_ack_hash.node[i].head = NULL; 794 temp->head, 974 struct tcp_stream_node *head = local 975 vdev->tcp_ack_hash.node[info->stream_id].head; 978 if ((head->dst_ip == info->dst_ip) && 979 (head->src_ip == info->src_ip) && 980 (head->src_port == info->src_port) && 981 (head->dst_port == info->dst_port)) { 982 node_to_be_remove = head; [all …]
|
D | ol_rx_reorder.c | 79 rx_reorder_array_elem->head); \ 90 rx_reorder->base.head = rx_reorder->base.tail = NULL; in ol_rx_reorder_init() 225 if (rx_reorder_array_elem->head) { in ol_rx_reorder_store() 228 rx_reorder_array_elem->head = head_msdu; in ol_rx_reorder_store() 256 head_msdu = rx_reorder_array_elem->head; in ol_rx_reorder_release() 258 rx_reorder_array_elem->head = rx_reorder_array_elem->tail = NULL; in ol_rx_reorder_release() 266 if (rx_reorder_array_elem->head) { in ol_rx_reorder_release() 273 rx_reorder_array_elem->head = rx_reorder_array_elem->tail = in ol_rx_reorder_release() 357 if (rx_reorder_array_elem->head) { in ol_rx_reorder_flush() 361 head_msdu = rx_reorder_array_elem->head; in ol_rx_reorder_flush() [all …]
|
D | ol_txrx_legacy_flow_control.c | 111 while (vdev->ll_pause.txq.head) { in ol_txrx_vdev_flush() 113 qdf_nbuf_next(vdev->ll_pause.txq.head); in ol_txrx_vdev_flush() 114 qdf_nbuf_set_next(vdev->ll_pause.txq.head, NULL); in ol_txrx_vdev_flush() 115 if (QDF_NBUF_CB_PADDR(vdev->ll_pause.txq.head)) { in ol_txrx_vdev_flush() 116 if (!qdf_nbuf_ipa_owned_get(vdev->ll_pause.txq.head)) in ol_txrx_vdev_flush() 118 vdev->ll_pause.txq.head, in ol_txrx_vdev_flush() 121 qdf_nbuf_tx_free(vdev->ll_pause.txq.head, in ol_txrx_vdev_flush() 123 vdev->ll_pause.txq.head = next; in ol_txrx_vdev_flush() 253 tx_msdu = vdev->ll_pause.txq.head; in ol_tx_vdev_ll_pause_queue_send_base() 255 vdev->ll_pause.txq.head = qdf_nbuf_next(tx_msdu); in ol_tx_vdev_ll_pause_queue_send_base() [all …]
|
D | ol_tx_sched.c | 66 ol_tx_desc_list head; member 162 ol_tx_frms_queue_list head; member 207 next_tq = TAILQ_FIRST(&txq_queue->head); in ol_tx_sched_select_batch_rr() 208 TAILQ_REMOVE(&txq_queue->head, next_tq, list_elem); in ol_tx_sched_select_batch_rr() 216 pdev, next_tq, &sctx->head, tx_limit, &credit, &bytes); in ol_tx_sched_select_batch_rr() 224 TAILQ_INSERT_TAIL(&txq_queue->head, next_tq, list_elem); in ol_tx_sched_select_batch_rr() 229 } else if (!TAILQ_EMPTY(&txq_queue->head)) { in ol_tx_sched_select_batch_rr() 259 TAILQ_INSERT_TAIL(&txq_queue->head, txq, list_elem); in ol_tx_sched_txq_enqueue_rr() 285 TAILQ_REMOVE(&txq_queue->head, txq, list_elem); in ol_tx_sched_txq_deactivate_rr() 287 if (TAILQ_EMPTY(&txq_queue->head) && txq_queue->active) { in ol_tx_sched_txq_deactivate_rr() [all …]
|
D | ol_rx_defrag.c | 407 if (rx_reorder_array_elem->head) { in ol_rx_reorder_flush_frag() 408 ol_rx_frames_free(htt_pdev, rx_reorder_array_elem->head); in ol_rx_reorder_flush_frag() 409 rx_reorder_array_elem->head = NULL; in ol_rx_reorder_flush_frag() 464 if ((!more_frag) && (!fragno) && (!rx_reorder_array_elem->head)) { in ol_rx_reorder_store_frag() 465 rx_reorder_array_elem->head = frag; in ol_rx_reorder_store_frag() 468 ol_rx_defrag(pdev, peer, tid, rx_reorder_array_elem->head); in ol_rx_reorder_store_frag() 469 rx_reorder_array_elem->head = NULL; in ol_rx_reorder_store_frag() 473 if (rx_reorder_array_elem->head) { in ol_rx_reorder_store_frag() 476 rx_reorder_array_elem->head); in ol_rx_reorder_store_frag() 485 rx_reorder_array_elem->head); in ol_rx_reorder_store_frag() [all …]
|
/wlan-driver/qcacld-3.0/components/tdls/core/src/ |
D | wlan_tdls_peer.c | 50 qdf_list_t *head; in tdls_find_peer() local 54 head = &vdev_obj->peer_list[key]; in tdls_find_peer() 56 status = qdf_list_peek_front(head, &p_node); in tdls_find_peer() 63 status = qdf_list_peek_next(head, p_node, &p_node); in tdls_find_peer() 225 tdls_remove_first_idle_peer(qdf_list_t *head) { in tdls_remove_first_idle_peer() argument 230 status = qdf_list_peek_front(head, &p_node); in tdls_remove_first_idle_peer() 245 qdf_list_remove_node(head, p_node); in tdls_remove_first_idle_peer() 250 status = qdf_list_peek_next(head, p_node, &p_node); in tdls_remove_first_idle_peer() 271 qdf_list_t *head; in tdls_add_peer() local 285 head = &vdev_obj->peer_list[key]; in tdls_add_peer() [all …]
|
D | wlan_tdls_ct.c | 66 qdf_list_t *head; in tdls_peer_reset_discovery_processed() local 74 head = &tdls_vdev->peer_list[i]; in tdls_peer_reset_discovery_processed() 75 status = qdf_list_peek_front(head, &p_node); in tdls_peer_reset_discovery_processed() 79 status = qdf_list_peek_next(head, p_node, &p_node); in tdls_peer_reset_discovery_processed() 89 qdf_list_t *head; in tdls_discovery_timeout_peer_cb() local 162 head = &tdls_vdev->peer_list[i]; in tdls_discovery_timeout_peer_cb() 163 status = qdf_list_peek_front(head, &p_node); in tdls_discovery_timeout_peer_cb() 177 status = qdf_list_peek_next(head, p_node, in tdls_discovery_timeout_peer_cb() 212 qdf_list_t *head; in tdls_reset_tx_rx() local 228 head = &tdls_vdev->peer_list[i]; in tdls_reset_tx_rx() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/ |
D | dp_mon_2.0.h | 490 void __dp_mon_add_to_free_desc_list(union dp_mon_desc_list_elem_t **head, in __dp_mon_add_to_free_desc_list() argument 495 if (!(head && new)) in __dp_mon_add_to_free_desc_list() 501 ((union dp_mon_desc_list_elem_t *)new)->next = *head; in __dp_mon_add_to_free_desc_list() 502 *head = (union dp_mon_desc_list_elem_t *)new; in __dp_mon_add_to_free_desc_list() 504 if (!*tail || !(*head)->next) in __dp_mon_add_to_free_desc_list() 505 *tail = *head; in __dp_mon_add_to_free_desc_list() 508 #define dp_mon_add_to_free_desc_list(head, tail, new) \ argument 509 __dp_mon_add_to_free_desc_list(head, tail, new, __func__)
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_irq_affinity.c | 301 int head, i; in hncm_dest_cpu() local 313 head = i = napid->lilcl_head; in hncm_dest_cpu() 322 if ((destidx < 0) && (head == napid->lilcl_head)) { in hncm_dest_cpu() 325 head = i = napid->bigcl_head; in hncm_dest_cpu() 332 head = i = napid->bigcl_head; in hncm_dest_cpu() 343 if ((destidx < 0) && (head == napid->bigcl_head)) { in hncm_dest_cpu() 346 head = i = napid->lilcl_head; in hncm_dest_cpu()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
D | dp_rh_rx.c | 718 union dp_rx_desc_list_elem_t *head[MAX_PDEV_CNT]; in dp_rx_data_indication_handler() local 779 qdf_mem_zero(head, sizeof(head)); in dp_rx_data_indication_handler() 938 dp_rx_add_to_free_desc_list(&head[rx_desc->pool_id], in dp_rx_data_indication_handler() 962 &head[mac_id], &tail[mac_id]); in dp_rx_data_indication_handler() 1300 qdf_nbuf_t head) in dp_rx_defrag_deliver_rh() argument 1308 rx_tlv_hdr = qdf_nbuf_data(head); in dp_rx_defrag_deliver_rh() 1310 QDF_NBUF_CB_RX_VDEV_ID(head) = vdev->vdev_id; in dp_rx_defrag_deliver_rh() 1311 qdf_nbuf_set_tid_val(head, tid); in dp_rx_defrag_deliver_rh() 1312 qdf_nbuf_pull_head(head, soc->rx_pkt_tlv_size); in dp_rx_defrag_deliver_rh() 1315 head); in dp_rx_defrag_deliver_rh() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/src/ |
D | wlan_objmgr_debug.c | 395 func_head = trace->references[id].head; in wlan_objmgr_trace_print_ref() 399 func_head = trace->dereferences[id].head; in wlan_objmgr_trace_print_ref() 411 func_head = trace->references[id].head; in wlan_objmgr_trace_print_ref() 415 func_head = trace->dereferences[id].head; in wlan_objmgr_trace_print_ref() 726 func_node = trace->references[id].head; in wlan_objmgr_trace_del_ref_list() 733 trace->references[id].head = NULL; in wlan_objmgr_trace_del_ref_list() 736 func_node = trace->dereferences[id].head; in wlan_objmgr_trace_del_ref_list() 743 trace->dereferences[id].head = NULL; in wlan_objmgr_trace_del_ref_list()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
D | dp_rx_mon_dest_1.0.c | 170 union dp_rx_desc_list_elem_t **head, in dp_rx_mon_mpdu_pop() argument 442 dp_rx_add_to_free_desc_list(head, in dp_rx_mon_mpdu_pop() 488 union dp_rx_desc_list_elem_t **head, in dp_rx_mon_drop_one_mpdu() argument 555 dp_rx_add_to_free_desc_list(head, tail, rx_desc); in dp_rx_mon_drop_one_mpdu() 605 union dp_rx_desc_list_elem_t **head, in dp_rx_mon_check_n_drop_mpdu() argument 632 head, tail); in dp_rx_mon_check_n_drop_mpdu() 640 union dp_rx_desc_list_elem_t **head, in dp_rx_mon_check_n_drop_mpdu() argument 656 union dp_rx_desc_list_elem_t *head = NULL; in dp_rx_mon_dest_process() local 711 &head, &tail, in dp_rx_mon_dest_process() 724 &head, &tail); in dp_rx_mon_dest_process() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
D | wlan_dp_rx_thread.c | 413 static void dp_rx_thread_adjust_nbuf_list(qdf_nbuf_t head) in dp_rx_thread_adjust_nbuf_list() argument 417 nbuf_list = head; in dp_rx_thread_adjust_nbuf_list() 418 if (head && QDF_NBUF_CB_RX_NUM_ELEMENTS_IN_LIST(head) > 1) { in dp_rx_thread_adjust_nbuf_list() 420 next_ptr_list = qdf_nbuf_get_ext_list(head); in dp_rx_thread_adjust_nbuf_list() 421 qdf_nbuf_append_ext_list(head, NULL, 0); in dp_rx_thread_adjust_nbuf_list() 435 qdf_nbuf_t head; in dp_rx_tm_thread_dequeue() local 437 head = qdf_nbuf_queue_head_dequeue(&rx_thread->nbuf_queue); in dp_rx_tm_thread_dequeue() 438 dp_rx_thread_adjust_nbuf_list(head); in dp_rx_tm_thread_dequeue() 440 dp_debug("Dequeued %pK nbuf_list", head); in dp_rx_tm_thread_dequeue() 441 return head; in dp_rx_tm_thread_dequeue()
|