Searched refs:psoc_cs (Results 1 – 7 of 7) sorted by relevance
43 struct psoc_cp_stats *psoc_cs; in wlan_cp_stats_psoc_comp_obj_config() local45 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 …]
152 struct psoc_cp_stats *psoc_cs = NULL; in wlan_cp_stats_psoc_obj_create_handler() local183 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 …]
35 QDF_STATUS wlan_cp_stats_psoc_obj_init_ol(struct psoc_cp_stats *psoc_cs) in wlan_cp_stats_psoc_obj_init_ol() argument37 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() argument44 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()
166 struct psoc_cp_stats *psoc_cs; member170 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()
37 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);
40 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);
323 QDF_STATUS wlan_cp_stats_psoc_cs_init(struct psoc_cp_stats *psoc_cs) in wlan_cp_stats_psoc_cs_init() argument325 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() argument334 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()