/linux-6.1.9/drivers/net/ipa/ |
D | ipa_sysfs.c | 104 struct dev_ext_attribute *ea; in ipa_endpoint_id_is_visible() 109 ea = container_of(dev_attr, struct dev_ext_attribute, attr); in ipa_endpoint_id_is_visible() 121 struct dev_ext_attribute *ea; in endpoint_id_attr_show() 123 ea = container_of(attr, struct dev_ext_attribute, attr); in endpoint_id_attr_show() 130 static struct dev_ext_attribute dev_attr_endpoint_id_ ## _n = { \ 152 static struct dev_ext_attribute dev_attr_modem_ ## _n = { \
|
/linux-6.1.9/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() 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()
|
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 | 139 &((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()
|
D | qcom_l3_pmu.c | 615 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[]) { \
|
D | fsl_imx8_ddr_perf.c | 169 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) { \
|
D | arm_spe_pmu.c | 145 struct dev_ext_attribute *ea = in arm_spe_pmu_cap_show() 146 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show() 153 &((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()
|
D | arm-ccn.c | 221 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 = \
|
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-cti-sysfs.c | 904 struct dev_ext_attribute *ext_attr = in con_name_show() 905 container_of(attr, struct dev_ext_attribute, attr); in con_name_show() 915 struct dev_ext_attribute *ext_attr = in trigin_sig_show() 916 container_of(attr, struct dev_ext_attribute, attr); in trigin_sig_show() 929 struct dev_ext_attribute *ext_attr = in trigout_sig_show() 930 container_of(attr, struct dev_ext_attribute, attr); in trigout_sig_show() 955 struct dev_ext_attribute *ext_attr = in trigin_type_show() 956 container_of(attr, struct dev_ext_attribute, attr); in trigin_type_show() 973 struct dev_ext_attribute *ext_attr = in trigout_type_show() 974 container_of(attr, struct dev_ext_attribute, attr); in trigout_type_show() [all …]
|
D | coresight-etm-perf.c | 726 struct dev_ext_attribute *ea; in etm_perf_sink_name_show() 728 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show() 732 static struct dev_ext_attribute * 735 struct dev_ext_attribute *ea; in etm_perf_add_symlink_group() 793 static void etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) in etm_perf_del_symlink_group() 818 struct dev_ext_attribute *ea; in etm_perf_cscfg_event_show() 820 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.1.9/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.1.9/drivers/net/phy/ |
D | mdio_bus.c | 228 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show() 231 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show() 250 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show() 254 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show() 263 static struct dev_ext_attribute dev_attr_mdio_bus_##field = { \ 271 static struct dev_ext_attribute dev_attr_mdio_bus_device_##field = { \ 289 static struct dev_ext_attribute dev_attr_mdio_bus_addr_##field##_##addr = { \
|
/linux-6.1.9/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 32 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()
|
D | hns3_pmu.c | 369 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()
|
D | hisi_uncore_pmu.h | 31 (&((struct dev_ext_attribute[]) { \
|
D | hisi_pcie_pmu.c | 100 struct dev_ext_attribute *eattr; in hisi_pcie_format_sysfs_show() 102 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_pcie_format_sysfs_show() 117 (&((struct dev_ext_attribute[]){ \
|
/linux-6.1.9/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 = { \
|
/linux-6.1.9/include/linux/ |
D | device.h | 108 struct dev_ext_attribute { struct 142 struct dev_ext_attribute dev_attr_##_name = \ 145 struct dev_ext_attribute dev_attr_##_name = \ 148 struct dev_ext_attribute dev_attr_##_name = \
|
D | coresight.h | 235 struct dev_ext_attribute *ea;
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_ocp.c | 2505 struct dev_ext_attribute dev_attr_##_group##_val##_##_name = \ 2508 struct dev_ext_attribute dev_attr_##_group##_val##_##_name = \ 2510 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr) 2517 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_store() 2577 struct dev_ext_attribute *ea = to_ext_attr(attr); in signal_show() 2603 struct dev_ext_attribute *ea = to_ext_attr(attr); in duty_show() 2617 struct dev_ext_attribute *ea = to_ext_attr(attr); in period_show() 2631 struct dev_ext_attribute *ea = to_ext_attr(attr); in phase_show() 2646 struct dev_ext_attribute *ea = to_ext_attr(attr); in polarity_show() 2660 struct dev_ext_attribute *ea = to_ext_attr(attr); in running_show() [all …]
|
/linux-6.1.9/arch/x86/events/intel/ |
D | pt.c | 95 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.1.9/arch/powerpc/perf/ |
D | hv-24x7.c | 444 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-6.1.9/drivers/base/ |
D | core.c | 2220 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr) 2226 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong() 2243 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong() 2252 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int() 2272 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int() 2281 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool() 2293 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
|