/linux-6.3-rc2/drivers/memory/ |
A D | dfl-emif.c | 63 struct emif_attr *eattr = to_emif_attr(attr); in emif_state_show() local 70 !!(val & BIT_ULL(eattr->shift + eattr->index))); in emif_state_show() 77 struct emif_attr *eattr = to_emif_attr(attr); in emif_clear_store() local 85 clear_busy_msk = BIT_ULL(EMIF_STAT_CLEAR_BUSY_SFT + eattr->index); in emif_clear_store() 86 clear_en_msk = BIT_ULL(EMIF_CTRL_CLEAR_EN_SFT + eattr->index); in emif_clear_store() 187 struct emif_attr *eattr = container_of(attr, struct emif_attr, in dfl_emif_visible() local 208 return (val & BIT_ULL(eattr->index)) ? attr->mode : 0; in dfl_emif_visible()
|
/linux-6.3-rc2/drivers/video/console/ |
A D | mdacon.c | 449 u16 eattr = mda_convert_attr(c->vc_video_erase_char); in mdacon_clear() local 455 scr_memsetw(dest, eattr, height*width*2); in mdacon_clear() 458 scr_memsetw(dest, eattr, width*2); in mdacon_clear() 509 u16 eattr = mda_convert_attr(c->vc_video_erase_char); in mdacon_scroll() local 522 scr_memsetw(mda_addr(0, b - lines), eattr, in mdacon_scroll() 529 scr_memsetw(mda_addr(0, t), eattr, lines*mda_num_columns*2); in mdacon_scroll()
|
/linux-6.3-rc2/drivers/perf/hisilicon/ |
A D | hisi_uncore_pmu.c | 32 struct dev_ext_attribute *eattr; in hisi_format_sysfs_show() local 34 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_format_sysfs_show() 36 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in hisi_format_sysfs_show() 46 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show() local 48 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show() 50 return sysfs_emit(page, "config=0x%lx\n", (unsigned long)eattr->var); in hisi_event_sysfs_show()
|
A D | hns3_pmu.c | 369 struct dev_ext_attribute *eattr; in hns3_pmu_format_show() local 371 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_format_show() 373 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in hns3_pmu_format_show() 380 struct dev_ext_attribute *eattr; in hns3_pmu_event_show() local 382 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_event_show() 383 event = eattr->var; in hns3_pmu_event_show() 393 struct dev_ext_attribute *eattr; in hns3_pmu_filter_mode_show() local 396 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_filter_mode_show() 397 event = eattr->var; in hns3_pmu_filter_mode_show() 893 struct dev_ext_attribute *eattr; in hns3_pmu_get_pmu_event() local [all …]
|
A D | hisi_pcie_pmu.c | 105 struct dev_ext_attribute *eattr; in hisi_pcie_format_sysfs_show() local 107 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_pcie_format_sysfs_show() 109 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in hisi_pcie_format_sysfs_show()
|
/linux-6.3-rc2/drivers/perf/ |
A D | arm_dsu_pmu.c | 137 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show() local 139 return sysfs_emit(buf, "event=0x%lx\n", (unsigned long)eattr->var); in dsu_pmu_sysfs_event_show() 146 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show() local 148 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in dsu_pmu_sysfs_format_show() 157 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show() local 159 unsigned long mask_id = (unsigned long)eattr->var; in dsu_pmu_cpumask_show() 203 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible() local 205 unsigned long evt = (unsigned long)eattr->var; in dsu_pmu_event_attr_is_visible()
|
A D | alibaba_uncore_drw_pmu.c | 116 struct dev_ext_attribute *eattr; in ali_drw_pmu_format_show() local 118 eattr = container_of(attr, struct dev_ext_attribute, attr); in ali_drw_pmu_format_show() 120 return sprintf(buf, "%s\n", (char *)eattr->var); in ali_drw_pmu_format_show() 129 struct dev_ext_attribute *eattr; in ali_drw_pmu_event_show() local 131 eattr = container_of(attr, struct dev_ext_attribute, attr); in ali_drw_pmu_event_show() 133 return sprintf(page, "config=0x%lx\n", (unsigned long)eattr->var); in ali_drw_pmu_event_show()
|
A D | arm-cmn.c | 599 struct arm_cmn_event_attr *eattr; in arm_cmn_event_show() local 601 eattr = container_of(attr, typeof(*eattr), attr); in arm_cmn_event_show() 603 if (eattr->type == CMN_TYPE_DTC) in arm_cmn_event_show() 606 if (eattr->type == CMN_TYPE_WP) in arm_cmn_event_show() 609 eattr->type, eattr->eventid); in arm_cmn_event_show() 611 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show() 613 eattr->type, eattr->eventid, eattr->occupid); in arm_cmn_event_show() 616 eattr->eventid); in arm_cmn_event_show() 629 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cmn_event_attr_is_visible() 634 type = eattr->type; in arm_cmn_event_attr_is_visible() [all …]
|
A D | arm_dmc620_pmu.c | 112 struct dmc620_pmu_event_attr *eattr; in dmc620_pmu_event_show() local 114 eattr = container_of(attr, typeof(*eattr), attr); in dmc620_pmu_event_show() 116 return sysfs_emit(page, "event=0x%x,clkdiv2=0x%x\n", eattr->eventid, eattr->clkdiv2); in dmc620_pmu_event_show()
|
A D | arm-cci.c | 307 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show() local 309 return sysfs_emit(buf, "config=0x%lx\n", (unsigned long)eattr->var); in cci400_pmu_cycle_event_show() 525 struct dev_ext_attribute *eattr = container_of(attr, in cci5xx_pmu_global_event_show() local 529 (unsigned long)eattr->var, CCI5xx_PORT_GLOBAL); in cci5xx_pmu_global_event_show() 697 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_format_show() local 699 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in cci_pmu_format_show() 705 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_event_show() local 709 (unsigned long)eattr->var); in cci_pmu_event_show()
|
A D | qcom_l3_pmu.c | 615 struct dev_ext_attribute *eattr; in l3cache_pmu_format_show() local 617 eattr = container_of(attr, struct dev_ext_attribute, attr); in l3cache_pmu_format_show() 618 return sysfs_emit(buf, "%s\n", (char *) eattr->var); in l3cache_pmu_format_show()
|
A D | thunderx2_pmu.c | 176 struct dev_ext_attribute *eattr; in tx2_pmu_event_show() local 178 eattr = container_of(attr, struct dev_ext_attribute, attr); in tx2_pmu_event_show() 179 return sysfs_emit(buf, "event=0x%lx\n", (unsigned long) eattr->var); in tx2_pmu_event_show()
|
A D | xgene_pmu.c | 170 struct dev_ext_attribute *eattr; in xgene_pmu_format_show() local 172 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_format_show() 173 return sysfs_emit(buf, "%s\n", (char *) eattr->var); in xgene_pmu_format_show()
|
/linux-6.3-rc2/drivers/perf/arm_cspmu/ |
A D | arm_cspmu.c | 192 struct dev_ext_attribute *eattr = in arm_cspmu_sysfs_event_show() local 195 (unsigned long long)eattr->var); in arm_cspmu_sysfs_event_show() 222 struct perf_pmu_events_attr *eattr; in arm_cspmu_event_attr_is_visible() local 224 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cspmu_event_attr_is_visible() 228 eattr->id == ARM_CSPMU_EVT_CYCLES_DEFAULT) in arm_cspmu_event_attr_is_visible() 238 struct dev_ext_attribute *eattr = in arm_cspmu_sysfs_format_show() local 240 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in arm_cspmu_sysfs_format_show() 354 struct dev_ext_attribute *eattr = in arm_cspmu_cpumask_show() local 356 unsigned long mask_id = (unsigned long)eattr->var; in arm_cspmu_cpumask_show()
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-cti-sysfs.c | 1013 struct dev_ext_attribute *eattr; in cti_create_con_sysfs_attr() local 1016 eattr = devm_kzalloc(dev, sizeof(struct dev_ext_attribute), in cti_create_con_sysfs_attr() 1018 if (eattr) { in cti_create_con_sysfs_attr() 1023 eattr->attr.attr.name = name; in cti_create_con_sysfs_attr() 1024 eattr->attr.attr.mode = 0444; in cti_create_con_sysfs_attr() 1027 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr() 1034 eattr->var = con; in cti_create_con_sysfs_attr() 1035 con->con_attrs[attr_idx] = &eattr->attr.attr; in cti_create_con_sysfs_attr()
|
A D | coresight-etm4x-sysfs.c | 2446 struct dev_ext_attribute *eattr; in coresight_etm4x_attr_to_offset() local 2448 eattr = container_of(attr, struct dev_ext_attribute, attr); in coresight_etm4x_attr_to_offset() 2449 return (u32)(unsigned long)eattr->var; in coresight_etm4x_attr_to_offset()
|
/linux-6.3-rc2/drivers/net/phy/ |
A D | mdio_bus.c | 230 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show() local 233 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show() 234 sattr = eattr->var; in mdio_bus_stat_field_show() 252 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show() local 256 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show() 257 sattr = eattr->var; in mdio_bus_device_stat_field_show()
|
/linux-6.3-rc2/drivers/fpga/ |
A D | dfl-fme-perf.c | 525 struct dev_ext_attribute *eattr; in fme_perf_event_show() local 529 eattr = container_of(attr, struct dev_ext_attribute, attr); in fme_perf_event_show() 530 config = (unsigned long)eattr->var; in fme_perf_event_show() 677 struct dev_ext_attribute *eattr; in fme_perf_fabric_events_visible() local 680 eattr = container_of(attr, struct dev_ext_attribute, attr.attr); in fme_perf_fabric_events_visible() 681 var = (unsigned long)eattr->var; in fme_perf_fabric_events_visible()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_pmu.c | 801 struct i915_str_attribute *eattr; in i915_pmu_format_show() local 803 eattr = container_of(attr, struct i915_str_attribute, attr); in i915_pmu_format_show() 804 return sprintf(buf, "%s\n", eattr->str); in i915_pmu_format_show() 831 struct i915_ext_attribute *eattr; in i915_pmu_event_show() local 833 eattr = container_of(attr, struct i915_ext_attribute, attr); in i915_pmu_event_show() 834 return sprintf(buf, "config=0x%lx\n", eattr->val); in i915_pmu_event_show()
|
/linux-6.3-rc2/fs/ntfs3/ |
A D | frecord.c | 1092 struct ATTRIB *attr, *eattr; in ni_insert_attr() local 1195 false, &eattr, NULL, NULL); in ni_insert_attr() 1199 id = eattr->id; in ni_insert_attr() 1200 memcpy(eattr, attr, t32); in ni_insert_attr() 1201 eattr->id = id; in ni_insert_attr()
|