Searched refs:pdev_cs (Results 1 – 7 of 7) sorted by relevance
80 struct pdev_cp_stats *pdev_cs; in wlan_cp_stats_pdev_comp_obj_config() local82 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 …]
172 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() local321 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() local392 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()
267 struct pdev_cp_stats *pdev_cs = NULL; in wlan_cp_stats_pdev_obj_create_handler() local276 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 …]
49 QDF_STATUS wlan_cp_stats_pdev_obj_init_ol(struct pdev_cp_stats *pdev_cs) in wlan_cp_stats_pdev_obj_init_ol() argument51 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() argument58 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()
53 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);
56 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);
355 QDF_STATUS wlan_cp_stats_pdev_cs_init(struct pdev_cp_stats *pdev_cs) in wlan_cp_stats_pdev_cs_init() argument357 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() argument366 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()