Home
last modified time | relevance | path

Searched refs:eattr (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/memory/
A Ddfl-emif.c63 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/drivers/video/console/
A Dmdacon.c444 u16 eattr = mda_convert_attr(c->vc_video_erase_char); in mdacon_clear() local
446 scr_memsetw(dest, eattr, width * 2); in mdacon_clear()
497 u16 eattr = mda_convert_attr(c->vc_video_erase_char); in mdacon_scroll() local
510 scr_memsetw(mda_addr(0, b - lines), eattr, in mdacon_scroll()
517 scr_memsetw(mda_addr(0, t), eattr, lines*mda_num_columns*2); in mdacon_scroll()
/linux/drivers/perf/
A Ddwc_pcie_pmu.c165 struct dwc_pcie_event_attr *eattr; in dwc_pcie_event_show() local
167 eattr = container_of(attr, typeof(*eattr), attr); in dwc_pcie_event_show()
169 if (eattr->type == DWC_PCIE_LANE_EVENT) in dwc_pcie_event_show()
171 eattr->eventid, eattr->type); in dwc_pcie_event_show()
172 else if (eattr->type == DWC_PCIE_TIME_BASE_EVENT) in dwc_pcie_event_show()
174 eattr->eventid, eattr->type); in dwc_pcie_event_show()
A Darm-ni.c146 struct arm_ni_event_attr *eattr = container_of(attr, typeof(*eattr), attr); in arm_ni_event_show() local
148 if (eattr->type == NI_PMU) in arm_ni_event_show()
149 return sysfs_emit(buf, "type=0x%x\n", eattr->type); in arm_ni_event_show()
151 return sysfs_emit(buf, "type=0x%x,eventid=?,nodeid=?\n", eattr->type); in arm_ni_event_show()
159 struct arm_ni_event_attr *eattr; in arm_ni_event_attr_is_visible() local
161 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_ni_event_attr_is_visible()
164 if (unit->type == eattr->type && unit->ns) in arm_ni_event_attr_is_visible()
A Dalibaba_uncore_drw_pmu.c116 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 Darm_dsu_pmu.c137 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()
148 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show() local
150 unsigned long mask_id = (unsigned long)eattr->var; in dsu_pmu_cpumask_show()
194 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible() local
196 unsigned long evt = (unsigned long)eattr->var; in dsu_pmu_event_attr_is_visible()
A Darm-cmn.c675 struct arm_cmn_event_attr *eattr; in arm_cmn_event_show() local
677 eattr = container_of(attr, typeof(*eattr), attr); in arm_cmn_event_show()
679 if (eattr->type == CMN_TYPE_DTC) in arm_cmn_event_show()
682 if (eattr->type == CMN_TYPE_WP) in arm_cmn_event_show()
685 eattr->type, eattr->eventid); in arm_cmn_event_show()
687 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
689 eattr->type, eattr->eventid, eattr->occupid); in arm_cmn_event_show()
692 eattr->eventid); in arm_cmn_event_show()
705 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cmn_event_attr_is_visible()
710 type = eattr->type; in arm_cmn_event_attr_is_visible()
[all …]
A Darm_dmc620_pmu.c117 struct dmc620_pmu_event_attr *eattr; in dmc620_pmu_event_show() local
119 eattr = container_of(attr, typeof(*eattr), attr); in dmc620_pmu_event_show()
121 return sysfs_emit(page, "event=0x%x,clkdiv2=0x%x\n", eattr->eventid, eattr->clkdiv2); in dmc620_pmu_event_show()
A Dstarfive_starlink_pmu.c84 struct dev_ext_attribute *eattr = container_of(attr, in starlink_pmu_sysfs_format_show() local
87 return sysfs_emit(buf, "%s\n", (char *)eattr->var); in starlink_pmu_sysfs_format_show()
105 struct perf_pmu_events_attr *eattr = container_of(attr, in starlink_pmu_sysfs_event_show() local
108 return sysfs_emit(buf, "event=0x%02llx\n", eattr->id); in starlink_pmu_sysfs_event_show()
A Dfsl_imx9_ddr_perf.c298 struct imx9_pmu_events_attr *eattr; in ddr_perf_events_attrs_is_visible() local
300 eattr = container_of(attr, typeof(*eattr), attr.attr); in ddr_perf_events_attrs_is_visible()
302 if (!eattr->devtype_data) in ddr_perf_events_attrs_is_visible()
305 if (eattr->devtype_data != ddr_pmu->devtype_data) in ddr_perf_events_attrs_is_visible()
A Darm-cci.c302 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show() local
304 return sysfs_emit(buf, "config=0x%lx\n", (unsigned long)eattr->var); in cci400_pmu_cycle_event_show()
520 struct dev_ext_attribute *eattr = container_of(attr, in cci5xx_pmu_global_event_show() local
524 (unsigned long)eattr->var, CCI5xx_PORT_GLOBAL); in cci5xx_pmu_global_event_show()
692 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_event_show() local
696 (unsigned long)eattr->var); in cci_pmu_event_show()
A Dthunderx2_pmu.c176 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()
/linux/drivers/hwtracing/coresight/
A Dcoresight-cti-sysfs.c1013 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 Dcoresight-etm4x-sysfs.c2445 struct dev_ext_attribute *eattr; in coresight_etm4x_attr_to_offset() local
2447 eattr = container_of(attr, struct dev_ext_attribute, attr); in coresight_etm4x_attr_to_offset()
2448 return (u32)(unsigned long)eattr->var; in coresight_etm4x_attr_to_offset()
/linux/drivers/perf/hisilicon/
A Dhns3_pmu.c370 struct dev_ext_attribute *eattr; in hns3_pmu_event_show() local
372 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_event_show()
373 event = eattr->var; in hns3_pmu_event_show()
383 struct dev_ext_attribute *eattr; in hns3_pmu_filter_mode_show() local
386 eattr = container_of(attr, struct dev_ext_attribute, attr); in hns3_pmu_filter_mode_show()
387 event = eattr->var; in hns3_pmu_filter_mode_show()
883 struct dev_ext_attribute *eattr; in hns3_pmu_get_pmu_event() local
891 eattr = container_of(dattr, struct dev_ext_attribute, attr); in hns3_pmu_get_pmu_event()
892 pmu_event = eattr->var; in hns3_pmu_get_pmu_event()
A Dhisi_uncore_pmu.c31 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show() local
33 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
35 return sysfs_emit(page, "config=0x%lx\n", (unsigned long)eattr->var); in hisi_event_sysfs_show()
/linux/drivers/net/phy/
A Dmdio_bus.c237 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show() local
240 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show()
241 sattr = eattr->var; in mdio_bus_stat_field_show()
259 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show() local
263 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show()
264 sattr = eattr->var; in mdio_bus_device_stat_field_show()
/linux/drivers/fpga/
A Ddfl-fme-perf.c525 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/drivers/perf/arm_cspmu/
A Darm_cspmu.c214 struct perf_pmu_events_attr *eattr; in arm_cspmu_event_attr_is_visible() local
216 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cspmu_event_attr_is_visible()
220 eattr->id == ARM_CSPMU_EVT_CYCLES_DEFAULT) in arm_cspmu_event_attr_is_visible()
340 struct dev_ext_attribute *eattr = in arm_cspmu_cpumask_show() local
342 unsigned long mask_id = (unsigned long)eattr->var; in arm_cspmu_cpumask_show()
/linux/drivers/gpu/drm/i915/
A Di915_pmu.c883 struct i915_str_attribute *eattr; in i915_pmu_format_show() local
885 eattr = container_of(attr, struct i915_str_attribute, attr); in i915_pmu_format_show()
886 return sprintf(buf, "%s\n", eattr->str); in i915_pmu_format_show()
913 struct i915_ext_attribute *eattr; in i915_pmu_event_show() local
915 eattr = container_of(attr, struct i915_ext_attribute, attr); in i915_pmu_event_show()
916 return sprintf(buf, "config=0x%lx\n", eattr->val); in i915_pmu_event_show()
/linux/fs/ntfs3/
A Dfrecord.c1100 struct ATTRIB *attr, *eattr; in ni_insert_attr() local
1203 false, &eattr, NULL, NULL); in ni_insert_attr()
1207 id = eattr->id; in ni_insert_attr()
1208 memcpy(eattr, attr, t32); in ni_insert_attr()
1209 eattr->id = id; in ni_insert_attr()

Completed in 78 milliseconds