Searched refs:config_desc (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-syscfg-configfs.c | 32 return scnprintf(page, PAGE_SIZE, "%s", fs_config->config_desc->description); in cscfg_cfg_description_show() 40 const struct cscfg_config_desc *config_desc = fs_config->config_desc; in cscfg_cfg_feature_refs_show() local 44 for (i = 0; i < config_desc->nr_feat_refs; i++) in cscfg_cfg_feature_refs_show() 46 "%s\n", config_desc->feat_ref_names[i]); in cscfg_cfg_feature_refs_show() 55 const struct cscfg_config_desc *config_desc; in cscfg_cfg_values_show() local 61 config_desc = fs_preset->config_desc; in cscfg_cfg_values_show() 63 if (!config_desc->nr_presets) in cscfg_cfg_values_show() 69 val_idx = config_desc->nr_total_params * preset_idx; in cscfg_cfg_values_show() 75 for (i = 0; i < config_desc->nr_feat_refs; i++) { in cscfg_cfg_values_show() 76 feat_desc = cscfg_get_named_feat_desc(config_desc->feat_ref_names[i]); in cscfg_cfg_values_show() [all …]
|
D | coresight-syscfg.c | 64 struct cscfg_config_desc *config_desc) in cscfg_add_csdev_cfg() argument 72 for (i = 0; i < config_desc->nr_feat_refs; i++) { in cscfg_add_csdev_cfg() 74 feat_csdev = cscfg_get_feat_csdev(csdev, config_desc->feat_ref_names[i]); in cscfg_add_csdev_cfg() 82 config_desc->nr_feat_refs); in cscfg_add_csdev_cfg() 85 config_csdev->config_desc = config_desc; in cscfg_add_csdev_cfg() 105 static int cscfg_add_cfg_to_csdevs(struct cscfg_config_desc *config_desc) in cscfg_add_cfg_to_csdevs() argument 111 err = cscfg_add_csdev_cfg(csdev_item->csdev, config_desc); in cscfg_add_cfg_to_csdevs() 237 static int cscfg_check_feat_for_cfg(struct cscfg_config_desc *config_desc) in cscfg_check_feat_for_cfg() argument 241 for (i = 0; i < config_desc->nr_feat_refs; i++) in cscfg_check_feat_for_cfg() 242 if (!cscfg_match_list_feat(config_desc->feat_ref_names[i])) in cscfg_check_feat_for_cfg() [all …]
|
D | coresight-syscfg-configfs.h | 16 struct cscfg_config_desc *config_desc; member 38 struct cscfg_config_desc *config_desc; member 44 int cscfg_configfs_add_config(struct cscfg_config_desc *config_desc); 46 void cscfg_configfs_del_config(struct cscfg_config_desc *config_desc);
|
D | coresight-config.c | 143 const struct cscfg_config_desc *config_desc = config_csdev->config_desc; in cscfg_update_presets() local 149 if (preset < 1 || preset > config_desc->nr_presets) in cscfg_update_presets() 158 nr_cfg_params = config_desc->nr_total_params; in cscfg_update_presets() 159 preset_base = &config_desc->presets[(preset - 1) * nr_cfg_params]; in cscfg_update_presets() 235 dev_dbg(&csdev->dev, "cfg %s; %s feature:%s", config_csdev->config_desc->name, in cscfg_prog_config()
|
D | coresight-etm-perf.c | 873 int etm_perf_add_symlink_cscfg(struct device *dev, struct cscfg_config_desc *config_desc) in etm_perf_add_symlink_cscfg() argument 877 if (config_desc->event_ea != NULL) in etm_perf_add_symlink_cscfg() 880 config_desc->event_ea = etm_perf_add_symlink_group(dev, config_desc->name, "events"); in etm_perf_add_symlink_cscfg() 883 if (!IS_ERR(config_desc->event_ea)) in etm_perf_add_symlink_cscfg() 884 config_desc->event_ea->attr.show = etm_perf_cscfg_event_show; in etm_perf_add_symlink_cscfg() 886 err = PTR_ERR(config_desc->event_ea); in etm_perf_add_symlink_cscfg() 887 config_desc->event_ea = NULL; in etm_perf_add_symlink_cscfg() 893 void etm_perf_del_symlink_cscfg(struct cscfg_config_desc *config_desc) in etm_perf_del_symlink_cscfg() argument 895 if (!config_desc->event_ea) in etm_perf_del_symlink_cscfg() 898 etm_perf_del_symlink_group(config_desc->event_ea, "events"); in etm_perf_del_symlink_cscfg() [all …]
|
D | coresight-etm-perf.h | 77 struct cscfg_config_desc *config_desc); 78 void etm_perf_del_symlink_cscfg(struct cscfg_config_desc *config_desc);
|
D | coresight-config.h | 231 const struct cscfg_config_desc *config_desc; member
|
/linux-6.12.1/drivers/pinctrl/realtek/ |
D | pinctrl-rtd.c | 284 const struct rtd_pin_config_desc *config_desc; in rtd_pconf_parse_conf() local 294 config_desc = rtd_pinctrl_find_config(data, pinnr); in rtd_pconf_parse_conf() 295 if (!config_desc) { in rtd_pconf_parse_conf() 302 if (config_desc->smt_offset == NA) { in rtd_pconf_parse_conf() 306 smt_off = config_desc->base_bit + config_desc->smt_offset; in rtd_pconf_parse_conf() 307 reg_off = config_desc->reg_offset; in rtd_pconf_parse_conf() 315 if (config_desc->pud_en_offset == NA) { in rtd_pconf_parse_conf() 319 pulen_off = config_desc->base_bit + config_desc->pud_en_offset; in rtd_pconf_parse_conf() 320 reg_off = config_desc->reg_offset; in rtd_pconf_parse_conf() 327 if (config_desc->pud_en_offset == NA) { in rtd_pconf_parse_conf() [all …]
|
/linux-6.12.1/drivers/usb/gadget/ |
D | composite.c | 614 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() function 1864 value = config_desc(cdev, w_value); in composite_setup()
|