Searched refs:gp_pmo_ctx (Results 1 – 1 of 1) sorted by relevance
32 static struct wlan_pmo_ctx *gp_pmo_ctx; variable37 if (gp_pmo_ctx) { in pmo_allocate_ctx()43 gp_pmo_ctx = (struct wlan_pmo_ctx *)qdf_mem_malloc( in pmo_allocate_ctx()44 sizeof(*gp_pmo_ctx)); in pmo_allocate_ctx()45 if (!gp_pmo_ctx) in pmo_allocate_ctx()48 qdf_spinlock_create(&gp_pmo_ctx->lock); in pmo_allocate_ctx()55 if (!gp_pmo_ctx) { in pmo_free_ctx()60 qdf_spinlock_destroy(&gp_pmo_ctx->lock); in pmo_free_ctx()61 qdf_mem_free(gp_pmo_ctx); in pmo_free_ctx()62 gp_pmo_ctx = NULL; in pmo_free_ctx()[all …]