Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/perf/
Darm_dsu_pmu.c77 (&((struct dev_ext_attribute[]) { \
137 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show()
138 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_event_show()
147 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show()
148 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_format_show()
158 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show()
159 struct dev_ext_attribute, attr); in dsu_pmu_cpumask_show()
204 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible()
205 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()
Dfsl_imx8_ddr_perf.c115 struct dev_ext_attribute *ea = in ddr_perf_filter_cap_show()
116 container_of(attr, struct dev_ext_attribute, attr); in ddr_perf_filter_cap_show()
124 (&((struct dev_ext_attribute) { \
Dqcom_l3_pmu.c615 struct dev_ext_attribute *eattr; in l3cache_pmu_format_show()
617 eattr = container_of(attr, struct dev_ext_attribute, attr); in l3cache_pmu_format_show()
622 (&((struct dev_ext_attribute[]) { \
Darm_spe_pmu.c125 struct dev_ext_attribute *ea = in arm_spe_pmu_cap_show()
126 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show()
134 &((struct dev_ext_attribute[]) { \
Dxgene_pmu.c170 struct dev_ext_attribute *eattr; in xgene_pmu_format_show()
172 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_format_show()
177 (&((struct dev_ext_attribute[]) { \
281 struct dev_ext_attribute *eattr; in xgene_pmu_event_show()
283 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_event_show()
288 (&((struct dev_ext_attribute[]) { \
Dthunderx2_pmu.c176 struct dev_ext_attribute *eattr; in tx2_pmu_event_show()
178 eattr = container_of(attr, struct dev_ext_attribute, attr); in tx2_pmu_event_show()
Darm-ccn.c221 struct dev_ext_attribute *ea = container_of(attr, in arm_ccn_pmu_format_show()
222 struct dev_ext_attribute, attr); in arm_ccn_pmu_format_show()
228 struct dev_ext_attribute arm_ccn_pmu_format_attr_##_name = \
/kernel/linux/linux-5.10/drivers/fpga/
Ddfl-fme-perf.c525 struct dev_ext_attribute *eattr; in fme_perf_event_show()
529 eattr = container_of(attr, struct dev_ext_attribute, attr); in fme_perf_event_show()
557 static struct dev_ext_attribute fme_perf_event_##_name = { \
576 static struct dev_ext_attribute fme_perf_event_cache_##_name = { \
623 static struct dev_ext_attribute fme_perf_event_fab_##_name = { \
629 static struct dev_ext_attribute fme_perf_event_fab_port_##_name = { \
677 struct dev_ext_attribute *eattr; in fme_perf_fabric_events_visible()
680 eattr = container_of(attr, struct dev_ext_attribute, attr.attr); in fme_perf_fabric_events_visible()
697 static struct dev_ext_attribute fme_perf_event_vtd_port_##_name = { \
729 static struct dev_ext_attribute fme_perf_event_vtd_sip_##_name = { \
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-cti-sysfs.c945 struct dev_ext_attribute *ext_attr = in con_name_show()
946 container_of(attr, struct dev_ext_attribute, attr); in con_name_show()
956 struct dev_ext_attribute *ext_attr = in trigin_sig_show()
957 container_of(attr, struct dev_ext_attribute, attr); in trigin_sig_show()
970 struct dev_ext_attribute *ext_attr = in trigout_sig_show()
971 container_of(attr, struct dev_ext_attribute, attr); in trigout_sig_show()
996 struct dev_ext_attribute *ext_attr = in trigin_type_show()
997 container_of(attr, struct dev_ext_attribute, attr); in trigin_type_show()
1014 struct dev_ext_attribute *ext_attr = in trigout_type_show()
1015 container_of(attr, struct dev_ext_attribute, attr); in trigout_type_show()
[all …]
Dcoresight-etm-perf.c534 struct dev_ext_attribute *ea; in etm_perf_sink_name_show()
536 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
547 struct dev_ext_attribute *ea; in etm_perf_add_symlink_sink()
588 struct dev_ext_attribute *ea = csdev->ea; in etm_perf_del_symlink_sink()
/kernel/linux/linux-5.10/drivers/net/phy/
Dmdio_bus.c220 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show()
223 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show()
242 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show()
246 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show()
255 static struct dev_ext_attribute dev_attr_mdio_bus_##field = { \
263 static struct dev_ext_attribute dev_attr_mdio_bus_device_##field = { \
281 static struct dev_ext_attribute dev_attr_mdio_bus_addr_##field##_##addr = { \
/kernel/linux/linux-5.10/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c32 struct dev_ext_attribute *eattr; in hisi_format_sysfs_show()
34 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_format_sysfs_show()
46 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show()
48 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
Dhisi_uncore_pmu.h28 (&((struct dev_ext_attribute[]) { \
/kernel/linux/linux-5.10/include/linux/
Ddevice.h107 struct dev_ext_attribute { struct
141 struct dev_ext_attribute dev_attr_##_name = \
144 struct dev_ext_attribute dev_attr_##_name = \
147 struct dev_ext_attribute dev_attr_##_name = \
Dcoresight.h204 struct dev_ext_attribute *ea;
/kernel/linux/linux-5.10/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()
243 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
249 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
Duncore.h191 #define to_dev_ext_attribute(n) container_of(n, struct dev_ext_attribute, attr)
Duncore_snbep.c3658 struct dev_ext_attribute *ea = to_dev_ext_attribute(attr); in skx_iio_mapping_show()
3748 struct dev_ext_attribute *eas = NULL; in skx_iio_set_mapping()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dhv-24x7.c444 struct dev_ext_attribute *d; in device_show_string()
446 d = container_of(attr, struct dev_ext_attribute, attr); in device_show_string()
477 struct dev_ext_attribute *attr = kzalloc(sizeof(*attr), GFP_KERNEL); in device_str_attr_create_()
/kernel/linux/linux-5.10/drivers/base/
Dcore.c1723 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
1729 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong()
1746 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong()
1755 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int()
1775 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int()
1784 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool()
1796 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dcore.c2493 static struct dev_ext_attribute dev_attr_check_interval = {
2498 static struct dev_ext_attribute dev_attr_ignore_ce = {
2503 static struct dev_ext_attribute dev_attr_cmci_disabled = {