Home
last modified time | relevance | path

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

/Linux-v5.15/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()
146 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show()
147 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_format_show()
157 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show()
158 struct dev_ext_attribute, attr); in dsu_pmu_cpumask_show()
203 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible()
204 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.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[]) { \
Dfsl_imx8_ddr_perf.c169 struct dev_ext_attribute *ea = in ddr_perf_filter_cap_show()
170 container_of(attr, struct dev_ext_attribute, attr); in ddr_perf_filter_cap_show()
177 (&((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()
133 &((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 = \
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[]) { \
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c686 struct dev_ext_attribute *ea; in etm_perf_sink_name_show()
688 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
692 static struct dev_ext_attribute *
695 struct dev_ext_attribute *ea; in etm_perf_add_symlink_group()
753 static void etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) in etm_perf_del_symlink_group()
778 struct dev_ext_attribute *ea; in etm_perf_cscfg_event_show()
780 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
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-config.h142 struct dev_ext_attribute *event_ea;
Dcoresight-etm4x-sysfs.c2354 struct dev_ext_attribute *eattr; in coresight_etm4x_attr_to_offset()
2356 eattr = container_of(attr, struct dev_ext_attribute, attr); in coresight_etm4x_attr_to_offset()
2440 &((struct dev_ext_attribute[]) { \
/Linux-v5.15/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 = { \
/Linux-v5.15/drivers/net/phy/
Dmdio_bus.c221 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show()
224 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show()
243 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show()
247 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show()
256 static struct dev_ext_attribute dev_attr_mdio_bus_##field = { \
264 static struct dev_ext_attribute dev_attr_mdio_bus_device_##field = { \
282 static struct dev_ext_attribute dev_attr_mdio_bus_addr_##field##_##addr = { \
/Linux-v5.15/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.h31 (&((struct dev_ext_attribute[]) { \
/Linux-v5.15/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.h240 struct dev_ext_attribute *ea;
/Linux-v5.15/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.h205 #define to_dev_ext_attribute(n) container_of(n, struct dev_ext_attribute, attr)
Duncore_snbep.c3724 struct dev_ext_attribute *ea = to_dev_ext_attribute(attr); in skx_iio_mapping_show()
3809 struct dev_ext_attribute *eas = NULL; in pmu_iio_set_mapping()
/Linux-v5.15/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_()
/Linux-v5.15/drivers/base/
Dcore.c2122 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
2128 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong()
2145 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong()
2154 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int()
2174 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int()
2183 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool()
2195 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
/Linux-v5.15/arch/x86/kernel/cpu/mce/
Dcore.c2474 static struct dev_ext_attribute dev_attr_check_interval = {
2479 static struct dev_ext_attribute dev_attr_ignore_ce = {
2484 static struct dev_ext_attribute dev_attr_cmci_disabled = {