Searched refs:dev_ext_attribute (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/drivers/perf/ |
D | arm_dsu_pmu.c | 79 (&((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()
|
D | arm-cci.c | 139 &((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()
|
D | qcom_l3_pmu.c | 630 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[]) { \
|
D | arm_spe_pmu.c | 135 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[]) { \
|
D | xgene_pmu.c | 179 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[]) { \
|
D | arm-ccn.c | 228 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/ |
D | hisi_uncore_pmu.c | 34 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()
|
D | hisi_uncore_pmu.h | 30 (&((struct dev_ext_attribute[]) { \
|
/Linux-v4.19/arch/x86/events/intel/ |
D | pt.c | 91 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/ |
D | core.c | 790 #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/ |
D | device.h | 572 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/ |
D | hv-24x7.c | 386 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/ |
D | mce.c | 2159 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 = {
|