Lines Matching refs:psoc_ctx
532 struct cfg_psoc_ctx *psoc_ctx; in cfg_psoc_get_ctx() local
534 psoc_ctx = cfg_psoc_get_priv(psoc); in cfg_psoc_get_ctx()
535 QDF_BUG(psoc_ctx); in cfg_psoc_get_ctx()
537 return psoc_ctx; in cfg_psoc_get_ctx()
609 struct cfg_psoc_ctx *psoc_ctx; in cfg_store_print() local
615 psoc_ctx = cfg_psoc_get_ctx(psoc); in cfg_store_print()
616 if (!psoc_ctx) in cfg_store_print()
619 store = psoc_ctx->store; in cfg_store_print()
674 struct cfg_psoc_ctx *psoc_ctx; in cfg_ini_config_print() local
682 psoc_ctx = cfg_psoc_get_ctx(psoc); in cfg_ini_config_print()
683 if (!psoc_ctx) in cfg_ini_config_print()
686 store = psoc_ctx->store; in cfg_ini_config_print()
772 struct cfg_psoc_ctx *psoc_ctx; in cfg_on_psoc_create() local
780 psoc_ctx = qdf_mem_malloc(sizeof(*psoc_ctx)); in cfg_on_psoc_create()
781 if (!psoc_ctx) in cfg_on_psoc_create()
785 psoc_ctx->store = __cfg_global_store; in cfg_on_psoc_create()
787 status = cfg_psoc_set_priv(psoc, psoc_ctx); in cfg_on_psoc_create()
795 qdf_mem_free(psoc_ctx); in cfg_on_psoc_create()
804 struct cfg_psoc_ctx *psoc_ctx; in cfg_on_psoc_destroy() local
808 psoc_ctx = cfg_psoc_get_ctx(psoc); in cfg_on_psoc_destroy()
809 status = cfg_psoc_unset_priv(psoc, psoc_ctx); in cfg_on_psoc_destroy()
811 cfg_store_put(psoc_ctx->store); in cfg_on_psoc_destroy()
812 qdf_mem_free(psoc_ctx); in cfg_on_psoc_destroy()
924 struct cfg_psoc_ctx *psoc_ctx; in cfg_psoc_parse() local
944 psoc_ctx = cfg_psoc_get_ctx(psoc); in cfg_psoc_parse()
946 QDF_BUG(psoc_ctx->store == __cfg_global_store); in cfg_psoc_parse()
947 if (psoc_ctx->store != __cfg_global_store) in cfg_psoc_parse()
966 psoc_ctx->store = store; in cfg_psoc_parse()