Home
last modified time | relevance | path

Searched refs:pdev_cs (Results 1 – 7 of 7) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/cp_stats/core/src/
H A Dwlan_cp_stats_comp_handler.c80 struct pdev_cp_stats *pdev_cs; in wlan_cp_stats_pdev_comp_obj_config() local
82 pdev_cs = wlan_cp_stats_get_pdev_stats_obj(pdev); in wlan_cp_stats_pdev_comp_obj_config()
83 if (!pdev_cs) { in wlan_cp_stats_pdev_comp_obj_config()
88 wlan_cp_stats_pdev_obj_lock(pdev_cs); in wlan_cp_stats_pdev_comp_obj_config()
90 if (pdev_cs->pdev_comp_priv_obj[comp_id]) { in wlan_cp_stats_pdev_comp_obj_config()
91 wlan_cp_stats_pdev_obj_unlock(pdev_cs); in wlan_cp_stats_pdev_comp_obj_config()
94 pdev_cs->pdev_comp_priv_obj[comp_id] = data; in wlan_cp_stats_pdev_comp_obj_config()
96 if (pdev_cs->pdev_comp_priv_obj[comp_id] != data) { in wlan_cp_stats_pdev_comp_obj_config()
97 wlan_cp_stats_pdev_obj_unlock(pdev_cs); in wlan_cp_stats_pdev_comp_obj_config()
100 data = pdev_cs->pdev_comp_priv_obj[comp_id]; in wlan_cp_stats_pdev_comp_obj_config()
[all …]
H A Dwlan_cp_stats_defs.h172 QDF_STATUS (*cp_stats_pdev_obj_init)(struct pdev_cp_stats *pdev_cs);
173 QDF_STATUS (*cp_stats_pdev_obj_deinit)(struct pdev_cp_stats *pdev_cs);
318 struct pdev_cp_stats *pdev_cs = NULL; in wlan_cp_stats_get_pdev_stats_obj() local
321 pdev_cs = wlan_objmgr_pdev_get_comp_private_obj in wlan_cp_stats_get_pdev_stats_obj()
325 return pdev_cs; in wlan_cp_stats_get_pdev_stats_obj()
388 struct pdev_cp_stats *pdev_cs = NULL; in wlan_cp_stats_get_pdev_from_vdev() local
392 pdev_cs = wlan_objmgr_pdev_get_comp_private_obj in wlan_cp_stats_get_pdev_from_vdev()
396 return pdev_cs; in wlan_cp_stats_get_pdev_from_vdev()
H A Dwlan_cp_stats_obj_mgr_handler.c267 struct pdev_cp_stats *pdev_cs = NULL; in wlan_cp_stats_pdev_obj_create_handler() local
276 pdev_cs = qdf_mem_malloc(sizeof(*pdev_cs)); in wlan_cp_stats_pdev_obj_create_handler()
277 if (!pdev_cs) { in wlan_cp_stats_pdev_obj_create_handler()
287 pdev_cs->pdev_obj = pdev; in wlan_cp_stats_pdev_obj_create_handler()
290 csc->cp_stats_pdev_obj_init(pdev_cs)) { in wlan_cp_stats_pdev_obj_create_handler()
298 pdev_cs, in wlan_cp_stats_pdev_obj_create_handler()
307 csc->cp_stats_pdev_obj_deinit(pdev_cs); in wlan_cp_stats_pdev_obj_create_handler()
310 if (pdev_cs) in wlan_cp_stats_pdev_obj_create_handler()
311 qdf_mem_free(pdev_cs); in wlan_cp_stats_pdev_obj_create_handler()
320 struct pdev_cp_stats *pdev_cs; in wlan_cp_stats_pdev_obj_destroy_handler() local
[all …]
H A Dwlan_cp_stats_ol_api.c49 QDF_STATUS wlan_cp_stats_pdev_obj_init_ol(struct pdev_cp_stats *pdev_cs) in wlan_cp_stats_pdev_obj_init_ol() argument
51 qdf_spinlock_create(&pdev_cs->pdev_cp_stats_lock); in wlan_cp_stats_pdev_obj_init_ol()
52 wlan_cp_stats_pdev_cs_init(pdev_cs); in wlan_cp_stats_pdev_obj_init_ol()
56 QDF_STATUS wlan_cp_stats_pdev_obj_deinit_ol(struct pdev_cp_stats *pdev_cs) in wlan_cp_stats_pdev_obj_deinit_ol() argument
58 wlan_cp_stats_pdev_cs_deinit(pdev_cs); in wlan_cp_stats_pdev_obj_deinit_ol()
59 qdf_spinlock_destroy(&pdev_cs->pdev_cp_stats_lock); in wlan_cp_stats_pdev_obj_deinit_ol()
H A Dwlan_cp_stats_cmn_api_i.h53 QDF_STATUS wlan_cp_stats_pdev_cs_init(struct pdev_cp_stats *pdev_cs);
61 QDF_STATUS wlan_cp_stats_pdev_cs_deinit(struct pdev_cp_stats *pdev_cs);
H A Dwlan_cp_stats_ol_api.h56 QDF_STATUS wlan_cp_stats_pdev_obj_init_ol(struct pdev_cp_stats *pdev_cs);
64 QDF_STATUS wlan_cp_stats_pdev_obj_deinit_ol(struct pdev_cp_stats *pdev_cs);
/wlan-driver/qcacld-3.0/components/cp_stats/dispatcher/src/
H A Dwlan_cp_stats_mc_ucfg_api.c355 QDF_STATUS wlan_cp_stats_pdev_cs_init(struct pdev_cp_stats *pdev_cs) in wlan_cp_stats_pdev_cs_init() argument
357 pdev_cs->pdev_stats = qdf_mem_malloc(sizeof(struct pdev_mc_cp_stats)); in wlan_cp_stats_pdev_cs_init()
358 if (!pdev_cs->pdev_stats) in wlan_cp_stats_pdev_cs_init()
364 QDF_STATUS wlan_cp_stats_pdev_cs_deinit(struct pdev_cp_stats *pdev_cs) in wlan_cp_stats_pdev_cs_deinit() argument
366 qdf_mem_free(pdev_cs->pdev_stats); in wlan_cp_stats_pdev_cs_deinit()
367 pdev_cs->pdev_stats = NULL; in wlan_cp_stats_pdev_cs_deinit()