/linux-6.14.4/drivers/net/ipa/ |
D | ipa_sysfs.c | 105 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-6.14.4/drivers/hwtracing/coresight/ |
D | coresight-cti-sysfs.c | 913 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 …]
|
D | coresight-etm-perf.c | 775 struct dev_ext_attribute *ea; in etm_perf_sink_name_show() 777 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show() 781 static struct dev_ext_attribute * 784 struct dev_ext_attribute *ea; in etm_perf_add_symlink_group() 842 static void etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) in etm_perf_del_symlink_group() 867 struct dev_ext_attribute *ea; in etm_perf_cscfg_event_show() 869 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
|
D | coresight-config.h | 148 struct dev_ext_attribute *event_ea;
|
/linux-6.14.4/drivers/fpga/ |
D | dfl-fme-perf.c | 525 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.14.4/drivers/perf/ |
D | arm_dsu_pmu.c | 77 (&((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()
|
D | alibaba_uncore_drw_pmu.c | 116 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[]) { \
|
D | arm-cci.c | 134 &((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()
|
D | starfive_starlink_pmu.c | 54 (&((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()
|
D | fsl_imx8_ddr_perf.c | 191 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) { \
|
D | arm_spe_pmu.c | 147 struct dev_ext_attribute *ea = in arm_spe_pmu_cap_show() 148 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show() 155 &((struct dev_ext_attribute[]) { \
|
D | thunderx2_pmu.c | 176 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-6.14.4/drivers/hwtracing/ptt/ |
D | hisi_ptt.c | 42 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-6.14.4/drivers/net/phy/ |
D | mdio_bus.c | 237 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-6.14.4/include/linux/ |
D | device.h | 118 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 = \
|
D | coresight.h | 295 struct dev_ext_attribute *ea;
|
/linux-6.14.4/drivers/perf/arm_cspmu/ |
D | arm_cspmu.h | 23 (&((struct dev_ext_attribute[]){ \
|
D | arm_cspmu.c | 340 struct dev_ext_attribute *eattr = in arm_cspmu_cpumask_show() 341 container_of(attr, struct dev_ext_attribute, attr); in arm_cspmu_cpumask_show()
|
/linux-6.14.4/drivers/perf/hisilicon/ |
D | hns3_pmu.c | 370 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()
|
D | hisi_uncore_pmu.h | 31 (&((struct dev_ext_attribute[]) { \
|
D | hisi_uncore_pmu.c | 32 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show() 34 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
|
/linux-6.14.4/drivers/ptp/ |
D | ptp_ocp.c | 3122 struct dev_ext_attribute dev_attr_##_group##_val##_##_name = \ 3125 struct dev_ext_attribute dev_attr_##_group##_val##_##_name = \ 3127 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr) 3134 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_store() 3194 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_show() 3220 struct dev_ext_attribute *ea = to_ext_attr(attr); in duty_show() 3234 struct dev_ext_attribute *ea = to_ext_attr(attr); in period_show() 3248 struct dev_ext_attribute *ea = to_ext_attr(attr); in phase_show() 3263 struct dev_ext_attribute *ea = to_ext_attr(attr); in polarity_show() 3277 struct dev_ext_attribute *ea = to_ext_attr(attr); in running_show() [all …]
|
/linux-6.14.4/arch/x86/events/intel/ |
D | pt.c | 96 struct dev_ext_attribute *ea = in pt_cap_show() 97 container_of(attr, struct dev_ext_attribute, attr); in pt_cap_show() 190 struct dev_ext_attribute *de_attrs; in pt_pmu_hw_init() 252 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init() 258 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
|
/linux-6.14.4/drivers/base/ |
D | core.c | 2449 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr) 2455 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong() 2472 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong() 2481 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int() 2501 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int() 2510 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool() 2522 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool() 2531 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_string()
|
/linux-6.14.4/arch/x86/kernel/cpu/mce/ |
D | core.c | 2659 static struct dev_ext_attribute dev_attr_check_interval = { 2664 static struct dev_ext_attribute dev_attr_ignore_ce = { 2669 static struct dev_ext_attribute dev_attr_cmci_disabled = {
|