/wlan-driver/qca-wifi-host-cmn/hif/src/ |
H A D | hif_runtime_pm.c | 89 return qdf_atomic_read(&gp_hif_rtpm_ctx->dev->power.usage_count); in hif_rtpm_read_usage_count() 130 int pm_state = qdf_atomic_read(&gp_hif_rtpm_ctx->pm_state); in hif_rtpm_log_debug_stats() 185 qdf_atomic_read(&client->get_count)); in hif_rtpm_log_debug_stats() 187 qdf_atomic_read(&client->put_count)); in hif_rtpm_log_debug_stats() 383 if (qdf_atomic_read(&client->active_count)) { in hif_rtpm_sanitize_exit() 385 qdf_atomic_read(&client->active_count); in hif_rtpm_sanitize_exit() 530 if (qdf_atomic_read(&client->active_count)) { in hif_rtpm_deregister() 531 active_count = qdf_atomic_read(&client->active_count); in hif_rtpm_deregister() 535 client->get_ts, qdf_atomic_read(&client->get_count), in hif_rtpm_deregister() 536 qdf_atomic_read(&client->put_count)); in hif_rtpm_deregister() [all …]
|
H A D | hif_main.h | 576 return qdf_atomic_read(&scn->active_tasklet_cnt); in hif_get_num_active_tasklets() 588 return qdf_atomic_read(&scn->active_oom_work_cnt); in hif_get_num_active_oom_work() 871 if ((qdf_atomic_read(&scn->dp_ep_vote_access) == in hif_is_ep_vote_access_disabled() 873 (qdf_atomic_read(&scn->ep_vote_access) == in hif_is_ep_vote_access_disabled()
|
H A D | hif_main.c | 1390 return qdf_atomic_read(&scn->active_grp_tasklet_cnt); in hif_get_num_active_grp_tasklets() 1414 return qdf_atomic_read(&scn->active_work_cnt); in hif_get_num_pending_work() 1542 vote_access = qdf_atomic_read(&scn->ep_vote_access); in hif_set_ep_intermediate_vote_access() 1582 return qdf_atomic_read(&scn->dp_ep_vote_access); in hif_get_ep_vote_access() 1584 return qdf_atomic_read(&scn->ep_vote_access); in hif_get_ep_vote_access() 1610 qdf_atomic_read(&scn->wstats.enqueues), in hif_print_reg_write_stats() 1612 qdf_atomic_read(&scn->wstats.coalesces), in hif_print_reg_write_stats() 1613 qdf_atomic_read(&scn->wstats.direct), in hif_print_reg_write_stats() 1614 qdf_atomic_read(&scn->wstats.q_depth), in hif_print_reg_write_stats() 1738 q_depth = qdf_atomic_read(&scn->wstats.q_depth); in hif_reg_write_work() [all …]
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
H A D | ol_txrx_peer_find.c | 82 refs_dbg_id = qdf_atomic_read(&peer->access_list[dbg_id]); in ol_txrx_peer_get_ref() 446 if (qdf_atomic_read(&peer->fw_create_pending) == 1) { in ol_txrx_peer_find_add_id() 452 peer_id_ref_cnt = qdf_atomic_read(&pdev-> in ol_txrx_peer_find_add_id() 454 peer_ref_cnt = qdf_atomic_read(&peer->ref_cnt); in ol_txrx_peer_find_add_id() 511 if (qdf_atomic_read( in ol_txrx_peer_unmap_conf_handler() 655 if (qdf_atomic_read( in ol_rx_peer_unmap_handler() 664 del_ref_cnt = qdf_atomic_read(&peer->del_ref_cnt); in ol_rx_peer_unmap_handler() 672 ref_cnt = qdf_atomic_read(&pdev->peer_id_to_obj_map[peer_id]. in ol_rx_peer_unmap_handler() 709 ref_cnt = qdf_atomic_read in ol_rx_peer_unmap_handler() 717 qdf_atomic_read(&peer->ref_cnt)); in ol_rx_peer_unmap_handler() [all …]
|
H A D | ol_tx_send.c | 63 if (qdf_atomic_read(&pdev->target_tx_credit) < \ 134 (qdf_atomic_read(&vdev->tx_desc_count) in ol_tx_flow_ct_unpause_os_q() 142 if (qdf_atomic_read(&vdev->os_q_paused) && in ol_tx_flow_ct_unpause_os_q() 143 (qdf_atomic_read(&vdev->tx_desc_count) in ol_tx_flow_ct_unpause_os_q() 166 qdf_atomic_read(&pdev->target_tx_credit), in ol_tx_send_base() 167 qdf_atomic_read(&pdev->target_tx_credit) - 1, in ol_tx_send_base() 379 qdf_atomic_read(&pdev->target_tx_credit), in ol_tx_target_credit_update() 381 qdf_atomic_read(&pdev->target_tx_credit) + in ol_tx_target_credit_update() 413 qdf_atomic_read(&pdev->target_tx_credit), in ol_tx_deduct_one_credit() 414 qdf_atomic_read(&pdev->txq_grps[0].credit), in ol_tx_deduct_one_credit() [all …]
|
H A D | ol_tx_hl.c | 141 if (qdf_atomic_read(&pdev->tx_queue.rsrc_cnt) > in ol_tx_hl_desc_alloc() 204 if (!qdf_atomic_read(&vdev->os_q_paused) && in ol_tx_hl_desc_alloc() 205 (qdf_atomic_read(&vdev->tx_desc_count) >= vdev->queue_stop_th)) { in ol_tx_hl_desc_alloc() 215 (qdf_atomic_read(&vdev->tx_desc_count) in ol_tx_hl_desc_alloc() 1196 (!qdf_atomic_read(&vdev->tcp_ack_hash.is_timer_running))) { 1400 if (qdf_atomic_read(&vdev->tcp_ack_hash.tcp_node_in_use_count)) 1548 if (likely((qdf_atomic_read(&vdev->tx_desc_count) + 1562 qdf_atomic_read(&vdev->tx_desc_count); 1813 peer, qdf_atomic_read(&peer->ref_cnt)); 1836 peer, qdf_atomic_read(&peer->ref_cnt)); [all …]
|
H A D | ol_tx_sched.c | 55 qdf_atomic_read(&pdev->target_tx_credit), \ 56 qdf_atomic_read(&pdev->target_tx_credit) - 1, \ 1452 cur_tx_pad_credit = qdf_atomic_read(&pdev->pad_reserve_tx_credit); in replenish_tx_pad_credit() 1455 avail_targ_tx_credit = qdf_atomic_read(&pdev->target_tx_credit); in replenish_tx_pad_credit() 1471 grp_credit = qdf_atomic_read(tx_grp_credit); in replenish_tx_pad_credit() 1514 while (qdf_atomic_read(&pdev->target_tx_credit) > 0) { in ol_tx_sched() 1519 credit = qdf_atomic_read(&pdev->target_tx_credit); in ol_tx_sched() 1525 qdf_atomic_read(&pdev->target_tx_credit), in ol_tx_sched() 1527 qdf_atomic_read(&pdev->target_tx_credit) - in ol_tx_sched() 1532 qdf_atomic_read(&pdev->target_tx_credit) - in ol_tx_sched() [all …]
|
H A D | ol_tx_queue.c | 164 qdf_atomic_read(&pdev->tx_queue.rsrc_cnt); in ol_tx_queue_discard() 170 TX_SCHED_DEBUG_PRINT("+%u", qdf_atomic_read(&pdev->tx_queue.rsrc_cnt)); in ol_tx_queue_discard() 219 discard_frames = qdf_atomic_read(&pdev->tx_queue.rsrc_cnt) <= in is_ol_tx_discard_frames_success() 231 qdf_atomic_read(&vdev->tx_desc_count) > in is_ol_tx_discard_frames_success() 234 qdf_atomic_read(&vdev->tx_desc_count) > in is_ol_tx_discard_frames_success() 247 return qdf_atomic_read(&pdev->tx_queue.rsrc_cnt) <= in is_ol_tx_discard_frames_success() 1502 qdf_atomic_read(&pdev->target_tx_credit)); in ol_tx_queue_log_display() 1842 updated_credit = qdf_atomic_read(&txq_grp->credit); in ol_tx_txq_group_credit_limit() 1853 credit_oth_grp = qdf_atomic_read(&other_grp->credit); in ol_tx_txq_group_credit_limit() 1879 credits_cur_grp = qdf_atomic_read(&txq_grp->credit); in ol_tx_txq_update_borrowed_group_credits() [all …]
|
H A D | ol_txrx.c | 154 if (qdf_atomic_read(&peer->access_list[dbg_id])) in ol_peer_recovery_notifier_cb() 1664 if (qdf_atomic_read(&tx_desc->ref_cnt)) { in ol_tx_free_descs_inuse() 2144 if (!qdf_atomic_read(&tx_desc->ref_cnt)) in ol_txrx_tx_desc_reset_vdev() 2396 pending_ref = qdf_atomic_read(&peer->access_list[i]); in ol_txrx_dump_peer_access_list() 2464 if (qdf_atomic_read(&temp_peer->delete_in_progress)) { in ol_txrx_peer_attach() 2483 if (qdf_atomic_read(&temp_peer->delete_in_progress)) { in ol_txrx_peer_attach() 2574 vdev, peer, qdf_atomic_read(&peer->ref_cnt), in ol_txrx_peer_attach() 3245 qdf_atomic_read(&peer->ref_cnt)); in ol_txrx_peer_release_ref() 3266 rc = qdf_atomic_read(&(peer->ref_cnt)); in ol_txrx_peer_release_ref() 3282 if (!qdf_atomic_read(&peer->access_list[debug_id])) { in ol_txrx_peer_release_ref() [all …]
|
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/core/src/ |
H A D | wlan_ll_lt_sap_bearer_switch.c | 331 if (!qdf_atomic_read(&bs_ctx->fw_ref_count)) { in ll_lt_sap_bs_decreament_ref_count() 339 } else if (!qdf_atomic_read( in ll_lt_sap_bs_decreament_ref_count() 535 if (qdf_atomic_read(&bs_ctx->total_ref_count)) in ll_lt_sap_handle_bs_to_wlan_in_non_wlan_state() 724 if (qdf_atomic_read(&bs_ctx->total_ref_count)) in ll_lt_sap_handle_bs_to_non_wlan_timeout() 732 qdf_atomic_read(&bs_ctx->total_ref_count)); in ll_lt_sap_handle_bs_to_non_wlan_timeout() 777 if (qdf_atomic_read(&bs_ctx->total_ref_count)) in ll_lt_sap_handle_bs_to_non_wlan_completed() 785 qdf_atomic_read(&bs_ctx->total_ref_count)); in ll_lt_sap_handle_bs_to_non_wlan_completed() 836 if (qdf_atomic_read(&bs_ctx->total_ref_count)) in ll_lt_sap_handle_bs_to_non_wlan_failure() 844 qdf_atomic_read(&bs_ctx->total_ref_count)); in ll_lt_sap_handle_bs_to_non_wlan_failure() 979 if (!qdf_atomic_read(&bs_ctx->total_ref_count)) in ll_lt_sap_switch_to_non_wlan_from_wlan() [all …]
|
/wlan-driver/qcacld-3.0/core/dp/htt/ |
H A D | htt.c | 578 qdf_atomic_read(&pdev->txrx_pdev->target_tx_credit), in htt_attach() 579 qdf_atomic_read(&pdev->txrx_pdev->txq_grps[0].credit), in htt_attach() 580 qdf_atomic_read(&pdev->txrx_pdev->txq_grps[1].credit))); in htt_attach() 859 qdf_atomic_read(&pdev->rx_ring.fill_cnt), in htt_log_rx_ring_info() 860 qdf_atomic_read(&pdev->rx_ring.refill_debt)); in htt_log_rx_ring_info() 865 QDF_BUG(qdf_atomic_read(&pdev->rx_ring.refill_debt)); in htt_rx_refill_failure()
|
H A D | htt_t2h.c | 495 1, qdf_atomic_read(&pdev->txrx_pdev->target_tx_credit), in htt_t2h_lp_msg_handler() 496 qdf_atomic_read(&pdev->txrx_pdev->txq_grps[0].credit), in htt_t2h_lp_msg_handler() 497 qdf_atomic_read(&pdev->txrx_pdev->txq_grps[1].credit))); in htt_t2h_lp_msg_handler() 559 old_credit = qdf_atomic_read(&pdev->htt_tx_credit.target_delta); in htt_t2h_lp_msg_handler() 571 qdf_atomic_read(&pdev->txrx_pdev->target_tx_credit) + in htt_t2h_lp_msg_handler() 573 qdf_atomic_read(&pdev->txrx_pdev->txq_grps[0].credit), in htt_t2h_lp_msg_handler() 574 qdf_atomic_read(&pdev->txrx_pdev->txq_grps[1].credit))); in htt_t2h_lp_msg_handler() 920 old_credit = qdf_atomic_read( in htt_t2h_msg_handler()
|
H A D | htt_rx_ll.c | 198 qdf_atomic_read(&pdev->rx_buff_pool.fill_cnt)); in htt_rx_buff_pool_init() 231 qdf_atomic_read(&pdev->rx_buff_pool.fill_cnt)); in htt_rx_buff_pool_deinit() 337 qdf_atomic_read(&pdev->rx_buff_pool.refill_low_mem) && in htt_rx_ring_buf_attach() 338 qdf_atomic_read(&pdev->rx_buff_pool.fill_cnt)) in htt_rx_ring_buf_attach() 344 if (allocated || !qdf_atomic_read(&pdev->rx_buff_pool.fill_cnt)) in htt_rx_ring_buf_attach() 509 if (debt_served < qdf_atomic_read(&pdev->rx_ring.refill_debt)) { in htt_rx_ring_fill_n() 510 num = qdf_atomic_read(&pdev->rx_ring.refill_debt) - debt_served; in htt_rx_ring_fill_n() 610 num = qdf_atomic_read(&pdev->rx_ring.refill_debt); in htt_rx_ring_refill_retry() 1426 if (qdf_atomic_read(&pdev->rx_ring.refill_debt) in htt_rx_msdu_buff_in_order_replenish() 2117 qdf_atomic_read(&pdev->rx_ring.fill_cnt); in htt_rx_fill_ring_count()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
H A D | dp_tx.h | 1767 qdf_atomic_read(&pdev->num_tx_outstanding); in dp_update_tx_desc_stats() 1792 return qdf_atomic_read(&dp_global->global_descriptor_in_use); in dp_tx_get_global_desc_in_use() 1845 if (qdf_atomic_read(&soc->num_tx_outstanding) >= in is_dp_spl_tx_limit_reached() 1849 if (qdf_atomic_read(&pdev->num_tx_outstanding) >= in is_dp_spl_tx_limit_reached() 1862 return (qdf_atomic_read(&soc->num_tx_outstanding) >= in __dp_tx_limit_check() 1893 if (qdf_atomic_read(&pdev->num_tx_outstanding) >= in dp_tx_limit_check() 1924 if (qdf_atomic_read(&soc->num_tx_exception) >= in dp_tx_exception_limit_check() 2142 return qdf_atomic_read(&soc->rtpm_high_tput_flag) && in dp_get_rtpm_tput_policy_requirement()
|
/wlan-driver/qca-wifi-host-cmn/target_if/mlme/psoc/src/ |
H A D | target_if_psoc_timer_tx_ops.c | 57 if (qdf_atomic_read(&vdev_rsp->rsp_timer_inuse)) { in target_if_psoc_vdev_rsp_timer_inuse() 149 if (vdev_rsp && qdf_atomic_read(&vdev_rsp->rsp_timer_inuse) && in target_if_flush_psoc_vdev_timers()
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/inc/ |
H A D | wlan_objmgr_pdev_obj.h | 1405 return qdf_atomic_read(&pdev->pdev_objmgr.wlan_mlo_vdev_count); in wlan_pdev_get_mlo_vdev_count() 1434 (qdf_atomic_read(&pdev->pdev_objmgr.wlan_mlo_vdev_count)); in wlan_pdev_dec_mlo_vdev_count() 1465 return qdf_atomic_read(&pdev->pdev_objmgr.wlan_mlo_bridge_vdev_count); in wlan_pdev_get_mlo_bridge_vdev_count() 1494 (qdf_atomic_read(&pdev->pdev_objmgr.wlan_mlo_bridge_vdev_count)); in wlan_pdev_dec_mlo_bridge_vdev_count()
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/ |
H A D | wlan_crypto_obj_mgr.c | 187 if (qdf_unlikely(qdf_atomic_read(&crypto_psoc_obj->crypto_key_cnt) >= in wlan_crypto_add_key_entry() 234 if (qdf_unlikely(qdf_atomic_read(&psoc->crypto_key_cnt) >= in crypto_add_entry() 335 if (!qdf_atomic_read(&psoc->crypto_key_cnt)) in crypto_free_list() 364 if (!qdf_atomic_read(&crypto_priv->crypto_key_cnt)) in crypto_flush_entries() 688 if (!qdf_atomic_read(&crypto_psoc_obj->crypto_key_cnt)) in wlan_crypto_free_key_by_link_id()
|
/wlan-driver/qca-wifi-host-cmn/ipa/core/src/ |
H A D | wlan_ipa_core.c | 231 if (!qdf_atomic_read(&ipa_ctx->deinit_in_prog)) { in wlan_ipa_uc_loaded_uc_cb() 1958 if (qdf_atomic_read(&ipa_ctx->waiting_on_pending_tx)) in wlan_ipa_uc_enable_pipes() 1961 if (qdf_atomic_read(&ipa_ctx->pipes_disabled)) { in wlan_ipa_uc_enable_pipes() 1975 if (qdf_atomic_read(&ipa_ctx->autonomy_disabled)) { in wlan_ipa_uc_enable_pipes() 1987 if (((!qdf_atomic_read(&ipa_ctx->autonomy_disabled)) || in wlan_ipa_uc_enable_pipes() 1989 !qdf_atomic_read(&ipa_ctx->pipes_disabled)) in wlan_ipa_uc_enable_pipes() 2006 qdf_atomic_read(&ipa_ctx->autonomy_disabled), in wlan_ipa_uc_disable_pipes() 2007 qdf_atomic_read(&ipa_ctx->pipes_disabled)); in wlan_ipa_uc_disable_pipes() 2022 if (!qdf_atomic_read(&ipa_ctx->autonomy_disabled)) { in wlan_ipa_uc_disable_pipes() 2028 if (!qdf_atomic_read(&ipa_ctx->pipes_disabled)) { in wlan_ipa_uc_disable_pipes() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
H A D | qdf_mem.c | 1112 skb_mem_max = qdf_atomic_read(&qdf_mem_stat.skb_total); in qdf_mem_skb_total_inc() 1127 curr_dp_tx_skb_mem_max = qdf_atomic_read(&qdf_mem_stat.dp_tx_skb); in qdf_mem_dp_tx_skb_inc() 1142 curr_dp_rx_skb_mem_max = qdf_atomic_read(&qdf_mem_stat.dp_rx_skb); in qdf_mem_dp_rx_skb_inc() 1158 qdf_atomic_read(&qdf_mem_stat.dp_tx_skb_count); in qdf_mem_dp_tx_skb_cnt_inc() 1174 qdf_atomic_read(&qdf_mem_stat.dp_rx_skb_count); in qdf_mem_dp_rx_skb_cnt_inc() 2940 return qdf_atomic_read(&qdf_mem_stat.dma); in qdf_dma_mem_stats_read() 2947 return qdf_atomic_read(&qdf_mem_stat.kmalloc); in qdf_heap_mem_stats_read() 2954 return qdf_atomic_read(&qdf_mem_stat.skb); in qdf_skb_mem_stats_read() 2961 return qdf_atomic_read(&qdf_mem_stat.skb_total); in qdf_skb_total_mem_stats_read() 2975 return qdf_atomic_read(&qdf_mem_stat.dp_tx_skb); in qdf_dp_tx_skb_mem_stats_read() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_sta_info.c | 277 if (!qdf_atomic_read(&info->ref_cnt_dbgid[sta_info_dbgid])) { in hdd_put_sta_info_ref() 287 if (qdf_atomic_read(&info->ref_cnt)) { in hdd_put_sta_info_ref()
|
/wlan-driver/qcacld-3.0/components/tdls/core/src/ |
H A D | wlan_tdls_mgmt.c | 351 qdf_atomic_read(&tdls_soc->timer_cnt)); in tdls_process_mlo_rx_mgmt_sync() 356 qdf_atomic_read(&tdls_soc->timer_cnt)); in tdls_process_mlo_rx_mgmt_sync() 369 if (qdf_atomic_read(&tdls_soc->timer_cnt) == 1) in tdls_process_mlo_rx_mgmt_sync() 395 if (qdf_atomic_read(&tdls_soc->timer_cnt) == 0) { in tdls_process_mlo_rx_mgmt_sync() 505 if (is_mlo_vdev && qdf_atomic_read(&tdls_soc->timer_cnt)) in tdls_needs_wait_discovery_response()
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
H A D | wlan_dp_bus_bandwidth.c | 632 vote = qdf_atomic_read(&ctx->high_tput_vote); in dp_rtpm_tput_policy_apply() 645 return qdf_atomic_read(&ctx->high_tput_vote); in dp_rtpm_tput_policy_get_vote() 784 if (qdf_atomic_read(&dp_ctx->low_tput_gro_enable) && in dp_low_tput_gro_flush_skip_handler() 1140 qdf_atomic_read(&stats->rx_usolict_arp_n_mcast_drp), in wlan_dp_display_txrx_stats() 1146 qdf_atomic_read(&dp_ctx->disable_rx_ol_in_concurrency), in wlan_dp_display_txrx_stats() 1147 qdf_atomic_read(&dp_ctx->disable_rx_ol_in_low_tput)); in wlan_dp_display_txrx_stats() 1568 if (qdf_atomic_read(&dp_ctx->num_latency_critical_clients)) in dp_pld_request_bus_bandwidth() 1750 if (qdf_likely(qdf_atomic_read(&dp_intf->gro_disallowed))) in dp_rx_check_qdisc_for_intf() 1758 if (qdf_unlikely(qdf_atomic_read(&dp_intf->gro_disallowed))) { in dp_rx_check_qdisc_for_intf()
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/src/ |
H A D | wlan_objmgr_psoc_obj_i.h | 62 if ((refs = qdf_atomic_read(&(ref_id_dbg)[ref_id])) > 0)
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
H A D | hal_srng.c | 634 qdf_atomic_read(&hal->stats.wstats.enqueues), in hal_dump_reg_write_stats() 636 qdf_atomic_read(&hal->stats.wstats.coalesces), in hal_dump_reg_write_stats() 637 qdf_atomic_read(&hal->stats.wstats.direct), in hal_dump_reg_write_stats() 638 qdf_atomic_read(&hal->stats.wstats.q_depth), in hal_dump_reg_write_stats() 660 return qdf_atomic_read(&hal->active_work_cnt); in hal_get_reg_write_pending_work() 895 q_depth = qdf_atomic_read(&hal->stats.wstats.q_depth); in hal_reg_write_work() 915 (qdf_atomic_read(&q_elem->ring_id) != in hal_reg_write_work() 919 qdf_atomic_read(&q_elem->ring_id)); in hal_reg_write_work() 1127 uint32_t index = qdf_atomic_read(g_hal_suspend_write_history.index) & in hal_event_suspend_record()
|
/wlan-driver/qca-wifi-host-cmn/umac/green_ap/core/src/ |
H A D | wlan_green_ap_main.c | 419 id = qdf_atomic_read(cmd_cnt); in wlan_green_ap_get_cookie_id() 429 id = qdf_atomic_read(cmd_cnt); in wlan_green_ap_get_cookie_id()
|