Home
last modified time | relevance | path

Searched refs:config_desc (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.c32 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 …]
Dcoresight-syscfg.c64 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 …]
Dcoresight-syscfg-configfs.h16 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);
Dcoresight-etm-perf.h76 struct cscfg_config_desc *config_desc);
77 void etm_perf_del_symlink_cscfg(struct cscfg_config_desc *config_desc);
89 struct cscfg_config_desc *config_desc) in etm_perf_add_symlink_cscfg() argument
91 void etm_perf_del_symlink_cscfg(struct cscfg_config_desc *config_desc) {} in etm_perf_del_symlink_cscfg() argument
Dcoresight-config.c143 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()
Dcoresight-etm-perf.c824 int etm_perf_add_symlink_cscfg(struct device *dev, struct cscfg_config_desc *config_desc) in etm_perf_add_symlink_cscfg() argument
828 if (config_desc->event_ea != NULL) in etm_perf_add_symlink_cscfg()
831 config_desc->event_ea = etm_perf_add_symlink_group(dev, config_desc->name, "events"); in etm_perf_add_symlink_cscfg()
834 if (!IS_ERR(config_desc->event_ea)) in etm_perf_add_symlink_cscfg()
835 config_desc->event_ea->attr.show = etm_perf_cscfg_event_show; in etm_perf_add_symlink_cscfg()
837 err = PTR_ERR(config_desc->event_ea); in etm_perf_add_symlink_cscfg()
838 config_desc->event_ea = NULL; in etm_perf_add_symlink_cscfg()
844 void etm_perf_del_symlink_cscfg(struct cscfg_config_desc *config_desc) in etm_perf_del_symlink_cscfg() argument
846 if (!config_desc->event_ea) in etm_perf_del_symlink_cscfg()
849 etm_perf_del_symlink_group(config_desc->event_ea, "events"); in etm_perf_del_symlink_cscfg()
[all …]
Dcoresight-config.h231 const struct cscfg_config_desc *config_desc; member
/linux-6.1.9/drivers/net/wireless/cisco/
Dairo.c1230 HostRidDesc config_desc; member
2521 cmd.parm1 = (ai->config_desc.card_ram_off - ai->pciaux); in mpi_init_descriptors()
2529 memcpy_toio(ai->config_desc.card_ram_off, in mpi_init_descriptors()
2530 &ai->config_desc.rid_desc, sizeof(Rid)); in mpi_init_descriptors()
2626 ai->config_desc.card_ram_off = pciaddroff; in mpi_map_card()
2627 ai->config_desc.virtual_host_addr = vpackoff; in mpi_map_card()
2628 ai->config_desc.rid_desc.host_addr = busaddroff; in mpi_map_card()
2630 ai->config_desc.rid_desc.rid = 0; in mpi_map_card()
2631 ai->config_desc.rid_desc.len = RIDSIZE; in mpi_map_card()
2632 ai->config_desc.rid_desc.valid = 1; in mpi_map_card()
[all …]
/linux-6.1.9/drivers/usb/gadget/
Dcomposite.c565 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() function
1770 value = config_desc(cdev, w_value); in composite_setup()