Home
last modified time | relevance | path

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

12

/linux/drivers/net/ipa/
H A Dipa_sysfs.c105 struct dev_ext_attribute *ea; in ipa_endpoint_id_is_visible()
110 ea = container_of(dev_attr, struct dev_ext_attribute, attr); in ipa_endpoint_id_is_visible()
122 struct dev_ext_attribute *ea; in endpoint_id_attr_show()
124 ea = container_of(attr, struct dev_ext_attribute, attr); in endpoint_id_attr_show()
131 static struct dev_ext_attribute dev_attr_endpoint_id_ ## _n = { \
153 static struct dev_ext_attribute dev_attr_modem_ ## _n = { \
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c913 struct dev_ext_attribute *ext_attr = in con_name_show()
914 container_of(attr, struct dev_ext_attribute, attr); in con_name_show()
924 struct dev_ext_attribute *ext_attr = in trigin_sig_show()
925 container_of(attr, struct dev_ext_attribute, attr); in trigin_sig_show()
938 struct dev_ext_attribute *ext_attr = in trigout_sig_show()
939 container_of(attr, struct dev_ext_attribute, attr); in trigout_sig_show()
964 struct dev_ext_attribute *ext_attr = in trigin_type_show()
965 container_of(attr, struct dev_ext_attribute, attr); in trigin_type_show()
982 struct dev_ext_attribute *ext_attr = in trigout_type_show()
983 container_of(attr, struct dev_ext_attribute, attr); in trigout_type_show()
[all …]
H A Dcoresight-etm-perf.c760 struct dev_ext_attribute *ea; in etm_perf_sink_name_show()
762 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
766 static struct dev_ext_attribute *
769 struct dev_ext_attribute *ea; in etm_perf_add_symlink_group()
827 static void etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) in etm_perf_del_symlink_group()
852 struct dev_ext_attribute *ea; in etm_perf_cscfg_event_show()
854 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
H A Dcoresight-config.h148 struct dev_ext_attribute *event_ea;
/linux/drivers/fpga/
H A 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/drivers/perf/
H A 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()
148 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show()
149 struct dev_ext_attribute, attr); in dsu_pmu_cpumask_show()
194 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible()
195 struct dev_ext_attribute, attr.attr); in dsu_pmu_event_attr_is_visible()
H A Dalibaba_uncore_drw_pmu.c116 struct dev_ext_attribute *eattr; in ali_drw_pmu_format_show()
118 eattr = container_of(attr, struct dev_ext_attribute, attr); in ali_drw_pmu_format_show()
129 struct dev_ext_attribute *eattr; in ali_drw_pmu_event_show()
131 eattr = container_of(attr, struct dev_ext_attribute, attr); in ali_drw_pmu_event_show()
137 (&((struct dev_ext_attribute[]) { \
H A Darm-cci.c134 &((struct dev_ext_attribute[]) { \
302 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show()
303 struct dev_ext_attribute, attr); in cci400_pmu_cycle_event_show()
520 struct dev_ext_attribute *eattr = container_of(attr, in cci5xx_pmu_global_event_show()
521 struct dev_ext_attribute, attr); in cci5xx_pmu_global_event_show()
692 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_event_show()
693 struct dev_ext_attribute, attr); in cci_pmu_event_show()
H A Dstarfive_starlink_pmu.c54 (&((struct dev_ext_attribute[]) { \
84 struct dev_ext_attribute *eattr = container_of(attr, in starlink_pmu_sysfs_format_show()
85 struct dev_ext_attribute, attr); in starlink_pmu_sysfs_format_show()
H A Dfsl_imx8_ddr_perf.c191 struct dev_ext_attribute *ea = in ddr_perf_filter_cap_show()
192 container_of(attr, struct dev_ext_attribute, attr); in ddr_perf_filter_cap_show()
199 (&((struct dev_ext_attribute) { \
H A Darm_spe_pmu.c146 struct dev_ext_attribute *ea = in arm_spe_pmu_cap_show()
147 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show()
154 &((struct dev_ext_attribute[]) { \
H A 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()
/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.c42 struct dev_ext_attribute *ext_attr; in hisi_ptt_tune_attr_show()
47 ext_attr = container_of(attr, struct dev_ext_attribute, attr); in hisi_ptt_tune_attr_show()
79 struct dev_ext_attribute *ext_attr; in hisi_ptt_tune_attr_store()
84 ext_attr = container_of(attr, struct dev_ext_attribute, attr); in hisi_ptt_tune_attr_store()
114 static struct dev_ext_attribute hisi_ptt_##_name##_attr = { \
826 struct dev_ext_attribute *ext_attr; in hisi_ptt_filter_multiselect_show()
828 ext_attr = container_of(attr, struct dev_ext_attribute, attr); in hisi_ptt_filter_multiselect_show()
832 static struct dev_ext_attribute root_port_filters_multiselect = {
850 static struct dev_ext_attribute requester_filters_multiselect = {
/linux/drivers/net/phy/
H A Dmdio_bus.c237 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show()
240 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show()
259 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show()
263 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show()
272 static struct dev_ext_attribute dev_attr_mdio_bus_##field = { \
280 static struct dev_ext_attribute dev_attr_mdio_bus_device_##field = { \
298 static struct dev_ext_attribute dev_attr_mdio_bus_addr_##field##_##addr = { \
/linux/include/linux/
H A Ddevice.h118 struct dev_ext_attribute { struct
229 struct dev_ext_attribute dev_attr_##_name = \
241 struct dev_ext_attribute dev_attr_##_name = \
253 struct dev_ext_attribute dev_attr_##_name = \
266 struct dev_ext_attribute dev_attr_##_name = \
H A Dcoresight.h272 struct dev_ext_attribute *ea;
/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.h23 (&((struct dev_ext_attribute[]){ \
/linux/drivers/perf/hisilicon/
H A Dhns3_pmu.c370 struct dev_ext_attribute *eattr; in hns3_pmu_event_show()
372 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_event_show()
383 struct dev_ext_attribute *eattr; in hns3_pmu_filter_mode_show()
386 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_filter_mode_show()
409 (&((struct dev_ext_attribute[]) { \
883 struct dev_ext_attribute *eattr; in hns3_pmu_get_pmu_event()
891 eattr = container_of(dattr, struct dev_ext_attribute, attr); in hns3_pmu_get_pmu_event()
H A Dhisi_uncore_pmu.h31 (&((struct dev_ext_attribute[]) { \
H A Dhisi_uncore_pmu.c31 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show()
33 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
/linux/arch/x86/events/intel/
H A Dpt.c95 struct dev_ext_attribute *ea = in pt_cap_show()
96 container_of(attr, struct dev_ext_attribute, attr); in pt_cap_show()
189 struct dev_ext_attribute *de_attrs; in pt_pmu_hw_init()
251 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
257 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
H A Duncore.h224 #define to_dev_ext_attribute(n) container_of(n, struct dev_ext_attribute, attr)
/linux/drivers/ptp/
H A Dptp_ocp.c3112 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_store()
3172 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_show()
3198 struct dev_ext_attribute *ea = to_ext_attr(attr); in duty_show()
3212 struct dev_ext_attribute *ea = to_ext_attr(attr); in period_show()
3226 struct dev_ext_attribute *ea = to_ext_attr(attr); in phase_show()
3241 struct dev_ext_attribute *ea = to_ext_attr(attr); in polarity_show()
3255 struct dev_ext_attribute *ea = to_ext_attr(attr); in running_show()
3269 struct dev_ext_attribute *ea = to_ext_attr(attr); in start_show()
3286 struct dev_ext_attribute *ea = to_ext_attr(attr); in seconds_store()
3309 struct dev_ext_attribute *ea = to_ext_attr(attr); in seconds_show()
[all …]
/linux/drivers/base/
H A Dcore.c2462 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
2468 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong()
2485 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong()
2494 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int()
2514 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int()
2523 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool()
2535 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
2544 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_string()
/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c2607 static struct dev_ext_attribute dev_attr_check_interval = {
2612 static struct dev_ext_attribute dev_attr_ignore_ce = {
2617 static struct dev_ext_attribute dev_attr_cmci_disabled = {

12