Home
last modified time | relevance | path

Searched refs:config_attr (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/misc/cxl/
H A Dsysfs.c506 struct bin_attribute config_attr; member
619 sysfs_bin_attr_init(&cr->config_attr); in cxl_sysfs_afu_new_cr()
620 cr->config_attr.attr.name = "config"; in cxl_sysfs_afu_new_cr()
621 cr->config_attr.attr.mode = S_IRUSR; in cxl_sysfs_afu_new_cr()
622 cr->config_attr.size = afu->crs_len; in cxl_sysfs_afu_new_cr()
623 cr->config_attr.read = afu_read_config; in cxl_sysfs_afu_new_cr()
630 rc = sysfs_create_bin_file(&cr->kobj, &cr->config_attr); in cxl_sysfs_afu_new_cr()
640 sysfs_remove_bin_file(&cr->kobj, &cr->config_attr); in cxl_sysfs_afu_new_cr()
667 sysfs_remove_bin_file(&cr->kobj, &cr->config_attr); in cxl_sysfs_afu_remove()
/openbmc/linux/tools/perf/util/
H A Dparse-events.c358 static int config_attr(struct perf_event_attr *attr,
471 if (config_attr(&attr, head_config, parse_state->error, config_term_common)) in parse_events_add_cache()
709 if (config_attr(&attr, head_config, parse_state->error, in parse_events_add_breakpoint()
1068 static int config_attr(struct perf_event_attr *attr, in config_attr() function
1261 if (config_attr(&attr, head_config, err, in parse_events_add_tracepoint()
1303 if (config_attr(&attr, head_config, parse_state->error, in __parse_events_add_numeric()
1445 if (config_attr(&attr, head_config, parse_state->error, config_term_pmu)) in parse_events_add_pmu()
/openbmc/u-boot/tools/
H A Dzynqmpbif.c729 const char *config_attr = fsbl_config->filename; in bif_fsbl_config() local
736 if (!strncmp(config_attr, configs[j].name, in bif_fsbl_config()
746 config_attr); in bif_fsbl_config()