Lines Matching refs:csdev_item

107 	struct cscfg_registered_csdev *csdev_item;  in cscfg_add_cfg_to_csdevs()  local
110 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_add_cfg_to_csdevs()
111 err = cscfg_add_csdev_cfg(csdev_item->csdev, config_desc); in cscfg_add_cfg_to_csdevs()
211 struct cscfg_registered_csdev *csdev_item; in cscfg_add_feat_to_csdevs() local
214 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_add_feat_to_csdevs()
215 if (csdev_item->match_flags & feat_desc->match_flags) { in cscfg_add_feat_to_csdevs()
216 err = cscfg_load_feat_csdev(csdev_item->csdev, feat_desc, &csdev_item->ops); in cscfg_add_feat_to_csdevs()
342 struct cscfg_registered_csdev *csdev_item; in cscfg_update_feat_param_val() local
360 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_update_feat_param_val()
361 feat_csdev = cscfg_csdev_get_feat_from_desc(csdev_item->csdev, feat_desc); in cscfg_update_feat_param_val()
448 struct cscfg_registered_csdev *csdev_item; in cscfg_unload_owned_cfgs_feats() local
453 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_unload_owned_cfgs_feats()
458 cscfg_remove_owned_csdev_configs(csdev_item->csdev, load_owner); in cscfg_unload_owned_cfgs_feats()
459 cscfg_remove_owned_csdev_features(csdev_item->csdev, load_owner); in cscfg_unload_owned_cfgs_feats()
754 struct cscfg_registered_csdev *csdev_item; in cscfg_list_add_csdev() local
757 csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev), GFP_KERNEL); in cscfg_list_add_csdev()
758 if (!csdev_item) in cscfg_list_add_csdev()
761 csdev_item->csdev = csdev; in cscfg_list_add_csdev()
762 csdev_item->match_flags = match_flags; in cscfg_list_add_csdev()
763 csdev_item->ops.load_feat = ops->load_feat; in cscfg_list_add_csdev()
764 list_add(&csdev_item->item, &cscfg_mgr->csdev_desc_list); in cscfg_list_add_csdev()
776 struct cscfg_registered_csdev *csdev_item, *tmp; in cscfg_list_remove_csdev() local
778 list_for_each_entry_safe(csdev_item, tmp, &cscfg_mgr->csdev_desc_list, item) { in cscfg_list_remove_csdev()
779 if (csdev_item->csdev == csdev) { in cscfg_list_remove_csdev()
780 list_del(&csdev_item->item); in cscfg_list_remove_csdev()
781 kfree(csdev_item); in cscfg_list_remove_csdev()