Searched refs:feat_desc (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-syscfg-configfs.c | 54 const struct cscfg_feature_desc *feat_desc; in cscfg_cfg_values_show() local 76 feat_desc = cscfg_get_named_feat_desc(config_desc->feat_ref_names[i]); in cscfg_cfg_values_show() 77 for (j = 0; j < feat_desc->nr_params; j++) { in cscfg_cfg_values_show() 80 feat_desc->name, in cscfg_cfg_values_show() 81 feat_desc->params_desc[j].name, in cscfg_cfg_values_show() 236 return scnprintf(page, PAGE_SIZE, "%s", fs_feat->feat_desc->description); in cscfg_feat_description_show() 244 u32 match_flags = fs_feat->feat_desc->match_flags; in cscfg_feat_matches_show() 263 return scnprintf(page, PAGE_SIZE, "%d\n", fs_feat->feat_desc->nr_params); in cscfg_feat_nr_params_show() 284 u64 value = param_item->feat_desc->params_desc[param_item->param_idx].value; in cscfg_param_value_show() 294 struct cscfg_feature_desc *feat_desc = param_item->feat_desc; in cscfg_param_value_store() local [all …]
|
D | coresight-syscfg.c | 38 if (strcmp(feat_csdev->feat_desc->name, name) == 0) in cscfg_get_feat_csdev() 123 cscfg_alloc_csdev_feat(struct coresight_device *csdev, struct cscfg_feature_desc *feat_desc) in cscfg_alloc_csdev_feat() argument 134 feat_csdev->nr_params = feat_desc->nr_params; in cscfg_alloc_csdev_feat() 160 feat_csdev->nr_regs = feat_desc->nr_regs; in cscfg_alloc_csdev_feat() 168 feat_csdev->feat_desc = feat_desc; in cscfg_alloc_csdev_feat() 176 struct cscfg_feature_desc *feat_desc, in cscfg_load_feat_csdev() argument 186 feat_csdev = cscfg_alloc_csdev_feat(csdev, feat_desc); in cscfg_load_feat_csdev() 209 static int cscfg_add_feat_to_csdevs(struct cscfg_feature_desc *feat_desc) in cscfg_add_feat_to_csdevs() argument 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() [all …]
|
D | coresight-syscfg-configfs.h | 24 struct cscfg_feature_desc *feat_desc; member 31 struct cscfg_feature_desc *feat_desc; member 45 int cscfg_configfs_add_feature(struct cscfg_feature_desc *feat_desc); 47 void cscfg_configfs_del_feature(struct cscfg_feature_desc *feat_desc);
|
D | coresight-config.c | 84 feat_csdev->feat_desc->name, "set on enable"); in cscfg_set_on_enable() 99 feat_csdev->feat_desc->name, "save on disable"); in cscfg_save_on_disable() 115 feat_csdev->feat_desc->params_desc[i].value; in cscfg_reset_feat() 118 reg_desc = &feat_csdev->feat_desc->regs_desc[i]; in cscfg_reset_feat() 167 name = feat_csdev->feat_desc->params_desc[j].name; in cscfg_update_presets() 206 name = feat_csdev->feat_desc->params_desc[j].name; in cscfg_update_curr_params() 236 enable ? "enable" : "disable", feat_csdev->feat_desc->name); in cscfg_prog_config()
|
D | coresight-etm4x-cfg.c | 152 const struct cscfg_feature_desc *feat_desc = feat_csdev->feat_desc; in etm4_cfg_load_feature() local 165 offset = feat_desc->regs_desc[i].offset; in etm4_cfg_load_feature()
|
D | coresight-syscfg.h | 106 int cscfg_update_feat_param_val(struct cscfg_feature_desc *feat_desc,
|
D | coresight-config.h | 206 const struct cscfg_feature_desc *feat_desc; member
|