Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/ipa/
Dipa_sysfs.c106 struct dev_ext_attribute *ea; in ipa_endpoint_id_is_visible()
111 ea = container_of(dev_attr, struct dev_ext_attribute, attr); in ipa_endpoint_id_is_visible()
123 struct dev_ext_attribute *ea; in endpoint_id_attr_show()
125 ea = container_of(attr, struct dev_ext_attribute, attr); in endpoint_id_attr_show()
132 static struct dev_ext_attribute dev_attr_endpoint_id_ ## _n = { \
154 static struct dev_ext_attribute dev_attr_modem_ ## _n = { \
/linux-6.6.21/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()
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[]) { \
Darm-cci.c136 &((struct dev_ext_attribute[]) { \
304 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show()
305 struct dev_ext_attribute, attr); in cci400_pmu_cycle_event_show()
522 struct dev_ext_attribute *eattr = container_of(attr, in cci5xx_pmu_global_event_show()
523 struct dev_ext_attribute, attr); in cci5xx_pmu_global_event_show()
694 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_format_show()
695 struct dev_ext_attribute, attr); in cci_pmu_format_show()
702 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_event_show()
703 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.c172 struct dev_ext_attribute *ea = in ddr_perf_filter_cap_show()
173 container_of(attr, struct dev_ext_attribute, attr); in ddr_perf_filter_cap_show()
180 (&((struct dev_ext_attribute) { \
Dcxl_pmu.c214 struct dev_ext_attribute *eattr; in cxl_pmu_format_sysfs_show()
216 eattr = container_of(attr, struct dev_ext_attribute, attr); in cxl_pmu_format_sysfs_show()
222 (&((struct dev_ext_attribute[]) { \
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[]) { \
/linux-6.6.21/drivers/hwtracing/coresight/
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 …]
Dcoresight-etm-perf.c758 struct dev_ext_attribute *ea; in etm_perf_sink_name_show()
760 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
764 static struct dev_ext_attribute *
767 struct dev_ext_attribute *ea; in etm_perf_add_symlink_group()
825 static void etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) in etm_perf_del_symlink_group()
850 struct dev_ext_attribute *ea; in etm_perf_cscfg_event_show()
852 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
Dcoresight-config.h148 struct dev_ext_attribute *event_ea;
/linux-6.6.21/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-6.6.21/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c31 struct dev_ext_attribute *eattr; in hisi_format_sysfs_show()
33 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_format_sysfs_show()
45 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show()
47 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
Dhns3_pmu.c369 struct dev_ext_attribute *eattr; in hns3_pmu_format_show()
371 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_format_show()
380 struct dev_ext_attribute *eattr; in hns3_pmu_event_show()
382 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_event_show()
393 struct dev_ext_attribute *eattr; in hns3_pmu_filter_mode_show()
396 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_filter_mode_show()
419 (&((struct dev_ext_attribute[]) { \
893 struct dev_ext_attribute *eattr; in hns3_pmu_get_pmu_event()
901 eattr = container_of(dattr, struct dev_ext_attribute, attr); in hns3_pmu_get_pmu_event()
Dhisi_uncore_pmu.h31 (&((struct dev_ext_attribute[]) { \
Dhisi_pcie_pmu.c105 struct dev_ext_attribute *eattr; in hisi_pcie_format_sysfs_show()
107 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_pcie_format_sysfs_show()
122 (&((struct dev_ext_attribute[]){ \
/linux-6.6.21/drivers/hwtracing/ptt/
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 = { \
823 struct dev_ext_attribute *ext_attr; in hisi_ptt_filter_multiselect_show()
825 ext_attr = container_of(attr, struct dev_ext_attribute, attr); in hisi_ptt_filter_multiselect_show()
829 static struct dev_ext_attribute root_port_filters_multiselect = {
847 static struct dev_ext_attribute requester_filters_multiselect = {
/linux-6.6.21/drivers/net/phy/
Dmdio_bus.c235 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show()
238 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show()
257 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show()
261 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show()
270 static struct dev_ext_attribute dev_attr_mdio_bus_##field = { \
278 static struct dev_ext_attribute dev_attr_mdio_bus_device_##field = { \
296 static struct dev_ext_attribute dev_attr_mdio_bus_addr_##field##_##addr = { \
/linux-6.6.21/drivers/perf/arm_cspmu/
Darm_cspmu.h23 (&((struct dev_ext_attribute[]){ \
Darm_cspmu.c232 struct dev_ext_attribute *eattr = in arm_cspmu_sysfs_format_show()
233 container_of(attr, struct dev_ext_attribute, attr); in arm_cspmu_sysfs_format_show()
348 struct dev_ext_attribute *eattr = in arm_cspmu_cpumask_show()
349 container_of(attr, struct dev_ext_attribute, attr); in arm_cspmu_cpumask_show()
/linux-6.6.21/include/linux/
Ddevice.h119 struct dev_ext_attribute { struct
228 struct dev_ext_attribute dev_attr_##_name = \
240 struct dev_ext_attribute dev_attr_##_name = \
252 struct dev_ext_attribute dev_attr_##_name = \
/linux-6.6.21/arch/x86/events/intel/
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()
/linux-6.6.21/drivers/ptp/
Dptp_ocp.c2812 struct dev_ext_attribute dev_attr_##_group##_val##_##_name = \
2815 struct dev_ext_attribute dev_attr_##_group##_val##_##_name = \
2817 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
2824 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_store()
2884 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_show()
2910 struct dev_ext_attribute *ea = to_ext_attr(attr); in duty_show()
2924 struct dev_ext_attribute *ea = to_ext_attr(attr); in period_show()
2938 struct dev_ext_attribute *ea = to_ext_attr(attr); in phase_show()
2953 struct dev_ext_attribute *ea = to_ext_attr(attr); in polarity_show()
2967 struct dev_ext_attribute *ea = to_ext_attr(attr); in running_show()
[all …]
/linux-6.6.21/arch/powerpc/perf/
Dhv-24x7.c431 struct dev_ext_attribute *d; in device_show_string()
433 d = container_of(attr, struct dev_ext_attribute, attr); in device_show_string()
464 struct dev_ext_attribute *attr = kzalloc(sizeof(*attr), GFP_KERNEL); in device_str_attr_create_()
/linux-6.6.21/drivers/base/
Dcore.c2381 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
2387 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong()
2404 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong()
2413 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int()
2433 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int()
2442 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool()
2454 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()

12