/linux-6.6.21/drivers/net/ipa/ |
D | ipa_sysfs.c | 106 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/ |
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 | 136 &((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()
|
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 | 172 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) { \
|
D | cxl_pmu.c | 214 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[]) { \
|
D | arm_spe_pmu.c | 146 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/ |
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 | 758 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()
|
D | coresight-config.h | 148 struct dev_ext_attribute *event_ea;
|
/linux-6.6.21/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.6.21/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 31 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()
|
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 | 105 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/ |
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 = { \ 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/ |
D | mdio_bus.c | 235 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/ |
D | arm_cspmu.h | 23 (&((struct dev_ext_attribute[]){ \
|
D | arm_cspmu.c | 232 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/ |
D | device.h | 119 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/ |
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.6.21/drivers/ptp/ |
D | ptp_ocp.c | 2812 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/ |
D | hv-24x7.c | 431 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/ |
D | core.c | 2381 #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()
|