Home
last modified time | relevance | path

Searched refs:dev_ext_attribute (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/perf/
Darm_dsu_pmu.c79 (&((struct dev_ext_attribute[]) { \
139 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show()
140 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_event_show()
149 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show()
150 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_format_show()
160 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show()
161 struct dev_ext_attribute, attr); in dsu_pmu_cpumask_show()
206 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible()
207 struct dev_ext_attribute, attr.attr); in dsu_pmu_event_attr_is_visible()
Darm-cci.c139 &((struct dev_ext_attribute[]) { \
307 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show()
308 struct dev_ext_attribute, attr); in cci400_pmu_cycle_event_show()
525 struct dev_ext_attribute *eattr = container_of(attr, in cci5xx_pmu_global_event_show()
526 struct dev_ext_attribute, attr); in cci5xx_pmu_global_event_show()
697 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_format_show()
698 struct dev_ext_attribute, attr); in cci_pmu_format_show()
705 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_event_show()
706 struct dev_ext_attribute, attr); in cci_pmu_event_show()
Dqcom_l3_pmu.c630 struct dev_ext_attribute *eattr; in l3cache_pmu_format_show()
632 eattr = container_of(attr, struct dev_ext_attribute, attr); in l3cache_pmu_format_show()
637 (&((struct dev_ext_attribute[]) { \
Darm_spe_pmu.c135 struct dev_ext_attribute *ea = in arm_spe_pmu_cap_show()
136 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show()
144 &((struct dev_ext_attribute[]) { \
Dxgene_pmu.c179 struct dev_ext_attribute *eattr; in xgene_pmu_format_show()
181 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_format_show()
186 (&((struct dev_ext_attribute[]) { \
290 struct dev_ext_attribute *eattr; in xgene_pmu_event_show()
292 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_event_show()
297 (&((struct dev_ext_attribute[]) { \
Darm-ccn.c228 struct dev_ext_attribute *ea = container_of(attr, in arm_ccn_pmu_format_show()
229 struct dev_ext_attribute, attr); in arm_ccn_pmu_format_show()
235 struct dev_ext_attribute arm_ccn_pmu_format_attr_##_name = \
/Linux-v4.19/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c34 struct dev_ext_attribute *eattr; in hisi_format_sysfs_show()
36 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_format_sysfs_show()
47 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show()
49 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
Dhisi_uncore_pmu.h30 (&((struct dev_ext_attribute[]) { \
/Linux-v4.19/arch/x86/events/intel/
Dpt.c91 struct dev_ext_attribute *ea = in pt_cap_show()
92 container_of(attr, struct dev_ext_attribute, attr); in pt_cap_show()
181 struct dev_ext_attribute *de_attrs; in pt_pmu_hw_init()
245 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
251 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
/Linux-v4.19/drivers/base/
Dcore.c790 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
796 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong()
811 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong()
820 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int()
835 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int()
844 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool()
856 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
/Linux-v4.19/include/linux/
Ddevice.h572 struct dev_ext_attribute { struct
602 struct dev_ext_attribute dev_attr_##_name = \
605 struct dev_ext_attribute dev_attr_##_name = \
608 struct dev_ext_attribute dev_attr_##_name = \
/Linux-v4.19/arch/powerpc/perf/
Dhv-24x7.c386 struct dev_ext_attribute *d; in device_show_string()
388 d = container_of(attr, struct dev_ext_attribute, attr); in device_show_string()
395 struct dev_ext_attribute *attr = kzalloc(sizeof(*attr), GFP_KERNEL); in device_str_attr_create_()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce.c2159 static struct dev_ext_attribute dev_attr_check_interval = {
2164 static struct dev_ext_attribute dev_attr_ignore_ce = {
2169 static struct dev_ext_attribute dev_attr_cmci_disabled = {