Lines Matching refs:config_descs

481 static int cscfg_load_owned_cfgs_feats(struct cscfg_config_desc **config_descs,  in cscfg_load_owned_cfgs_feats()  argument
503 if (config_descs) { in cscfg_load_owned_cfgs_feats()
504 for (i = 0; config_descs[i]; i++) { in cscfg_load_owned_cfgs_feats()
505 err = cscfg_load_config(config_descs[i]); in cscfg_load_owned_cfgs_feats()
508 config_descs[i]->name); in cscfg_load_owned_cfgs_feats()
511 config_descs[i]->load_owner = owner_info; in cscfg_load_owned_cfgs_feats()
512 config_descs[i]->available = false; in cscfg_load_owned_cfgs_feats()
519 static void cscfg_set_configs_available(struct cscfg_config_desc **config_descs) in cscfg_set_configs_available() argument
525 if (config_descs) { in cscfg_set_configs_available()
526 for (i = 0; config_descs[i]; i++) in cscfg_set_configs_available()
527 config_descs[i]->available = true; in cscfg_set_configs_available()
535 static int cscfg_fs_register_cfgs_feats(struct cscfg_config_desc **config_descs, in cscfg_fs_register_cfgs_feats() argument
547 if (config_descs) { in cscfg_fs_register_cfgs_feats()
548 for (i = 0; config_descs[i]; i++) { in cscfg_fs_register_cfgs_feats()
549 err = cscfg_configfs_add_config(config_descs[i]); in cscfg_fs_register_cfgs_feats()
575 int cscfg_load_config_sets(struct cscfg_config_desc **config_descs, in cscfg_load_config_sets() argument
589 err = cscfg_load_owned_cfgs_feats(config_descs, feat_descs, owner_info); in cscfg_load_config_sets()
611 err = cscfg_fs_register_cfgs_feats(config_descs, feat_descs); in cscfg_load_config_sets()
618 cscfg_set_configs_available(config_descs); in cscfg_load_config_sets()