Home
last modified time | relevance | path

Searched refs:psoc_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.c43 struct psoc_cp_stats *psoc_cs; in wlan_cp_stats_psoc_comp_obj_config() local
45 psoc_cs = wlan_cp_stats_get_psoc_stats_obj(psoc); in wlan_cp_stats_psoc_comp_obj_config()
46 if (!psoc_cs) { in wlan_cp_stats_psoc_comp_obj_config()
51 wlan_cp_stats_psoc_obj_lock(psoc_cs); in wlan_cp_stats_psoc_comp_obj_config()
53 if (psoc_cs->psoc_comp_priv_obj[comp_id]) { in wlan_cp_stats_psoc_comp_obj_config()
54 wlan_cp_stats_psoc_obj_unlock(psoc_cs); in wlan_cp_stats_psoc_comp_obj_config()
57 psoc_cs->psoc_comp_priv_obj[comp_id] = data; in wlan_cp_stats_psoc_comp_obj_config()
59 if (psoc_cs->psoc_comp_priv_obj[comp_id] != data) { in wlan_cp_stats_psoc_comp_obj_config()
60 wlan_cp_stats_psoc_obj_unlock(psoc_cs); in wlan_cp_stats_psoc_comp_obj_config()
63 data = psoc_cs->psoc_comp_priv_obj[comp_id]; in wlan_cp_stats_psoc_comp_obj_config()
[all …]
H A Dwlan_cp_stats_obj_mgr_handler.c152 struct psoc_cp_stats *psoc_cs = NULL; in wlan_cp_stats_psoc_obj_create_handler() local
183 psoc_cs = qdf_mem_malloc(sizeof(*psoc_cs)); in wlan_cp_stats_psoc_obj_create_handler()
184 if (!psoc_cs) { in wlan_cp_stats_psoc_obj_create_handler()
189 psoc_cs->psoc_obj = psoc; in wlan_cp_stats_psoc_obj_create_handler()
190 csc->psoc_cs = psoc_cs; in wlan_cp_stats_psoc_obj_create_handler()
193 csc->cp_stats_psoc_obj_init(psoc_cs)) { in wlan_cp_stats_psoc_obj_create_handler()
211 if (csc->cp_stats_psoc_obj_deinit && psoc_cs) in wlan_cp_stats_psoc_obj_create_handler()
212 csc->cp_stats_psoc_obj_deinit(psoc_cs); in wlan_cp_stats_psoc_obj_create_handler()
214 if (csc->psoc_cs) { in wlan_cp_stats_psoc_obj_create_handler()
215 qdf_mem_free(csc->psoc_cs); in wlan_cp_stats_psoc_obj_create_handler()
[all …]
H A Dwlan_cp_stats_ol_api.c35 QDF_STATUS wlan_cp_stats_psoc_obj_init_ol(struct psoc_cp_stats *psoc_cs) in wlan_cp_stats_psoc_obj_init_ol() argument
37 qdf_spinlock_create(&psoc_cs->psoc_cp_stats_lock); in wlan_cp_stats_psoc_obj_init_ol()
38 wlan_cp_stats_psoc_cs_init(psoc_cs); in wlan_cp_stats_psoc_obj_init_ol()
42 QDF_STATUS wlan_cp_stats_psoc_obj_deinit_ol(struct psoc_cp_stats *psoc_cs) in wlan_cp_stats_psoc_obj_deinit_ol() argument
44 wlan_cp_stats_psoc_cs_deinit(psoc_cs); in wlan_cp_stats_psoc_obj_deinit_ol()
45 qdf_spinlock_destroy(&psoc_cs->psoc_cp_stats_lock); in wlan_cp_stats_psoc_obj_deinit_ol()
H A Dwlan_cp_stats_defs.h166 struct psoc_cp_stats *psoc_cs; member
170 QDF_STATUS (*cp_stats_psoc_obj_init)(struct psoc_cp_stats *psoc_cs);
171 QDF_STATUS (*cp_stats_psoc_obj_deinit)(struct psoc_cp_stats *psoc_cs);
302 return csc->psoc_cs; in wlan_cp_stats_get_psoc_stats_obj()
H A Dwlan_cp_stats_cmn_api_i.h37 QDF_STATUS wlan_cp_stats_psoc_cs_init(struct psoc_cp_stats *psoc_cs);
45 QDF_STATUS wlan_cp_stats_psoc_cs_deinit(struct psoc_cp_stats *psoc_cs);
H A Dwlan_cp_stats_ol_api.h40 QDF_STATUS wlan_cp_stats_psoc_obj_init_ol(struct psoc_cp_stats *psoc_cs);
48 QDF_STATUS wlan_cp_stats_psoc_obj_deinit_ol(struct psoc_cp_stats *psoc_cs);
/wlan-driver/qcacld-3.0/components/cp_stats/dispatcher/src/
H A Dwlan_cp_stats_mc_ucfg_api.c323 QDF_STATUS wlan_cp_stats_psoc_cs_init(struct psoc_cp_stats *psoc_cs) in wlan_cp_stats_psoc_cs_init() argument
325 psoc_cs->obj_stats = qdf_mem_malloc(sizeof(struct psoc_mc_cp_stats)); in wlan_cp_stats_psoc_cs_init()
326 if (!psoc_cs->obj_stats) in wlan_cp_stats_psoc_cs_init()
332 QDF_STATUS wlan_cp_stats_psoc_cs_deinit(struct psoc_cp_stats *psoc_cs) in wlan_cp_stats_psoc_cs_deinit() argument
334 qdf_mem_free(psoc_cs->obj_stats); in wlan_cp_stats_psoc_cs_deinit()
335 psoc_cs->obj_stats = NULL; in wlan_cp_stats_psoc_cs_deinit()