Home
last modified time | relevance | path

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

/drivers/video/console/
Dmdacon.c449 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()
/drivers/perf/
Darm-cmn.c346 struct arm_cmn_event_attr *eattr; in arm_cmn_event_show() local
348 eattr = container_of(attr, typeof(*eattr), attr); in arm_cmn_event_show()
350 if (eattr->type == CMN_TYPE_DTC) in arm_cmn_event_show()
351 return snprintf(buf, PAGE_SIZE, "type=0x%x\n", eattr->type); in arm_cmn_event_show()
353 if (eattr->type == CMN_TYPE_WP) in arm_cmn_event_show()
356 eattr->type, eattr->eventid); in arm_cmn_event_show()
358 if (arm_cmn_is_occup_event(eattr->type, eattr->eventid)) in arm_cmn_event_show()
360 eattr->type, eattr->eventid, eattr->occupid); in arm_cmn_event_show()
363 eattr->type, eattr->eventid); in arm_cmn_event_show()
372 struct arm_cmn_event_attr *eattr; in arm_cmn_event_attr_is_visible() local
[all …]
Darm_dsu_pmu.c137 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show() local
140 (unsigned long)eattr->var); in dsu_pmu_sysfs_event_show()
147 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show() local
149 return snprintf(buf, PAGE_SIZE, "%s\n", (char *)eattr->var); in dsu_pmu_sysfs_format_show()
158 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show() local
160 unsigned long mask_id = (unsigned long)eattr->var; in dsu_pmu_cpumask_show()
204 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible() local
206 unsigned long evt = (unsigned long)eattr->var; in dsu_pmu_event_attr_is_visible()
Darm-cci.c307 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show() local
309 return snprintf(buf, PAGE_SIZE, "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 snprintf(buf, PAGE_SIZE, "%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()
Dqcom_l3_pmu.c615 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 sprintf(buf, "%s\n", (char *) eattr->var); in l3cache_pmu_format_show()
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 sprintf(buf, "event=0x%lx\n", (unsigned long) eattr->var); in tx2_pmu_event_show()
Dxgene_pmu.c170 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 sprintf(buf, "%s\n", (char *) eattr->var); in xgene_pmu_format_show()
281 struct dev_ext_attribute *eattr; in xgene_pmu_event_show() local
283 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_event_show()
284 return sprintf(buf, "config=0x%lx\n", (unsigned long) eattr->var); in xgene_pmu_event_show()
/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c32 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 sprintf(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 sprintf(page, "config=0x%lx\n", (unsigned long)eattr->var); in hisi_event_sysfs_show()
/drivers/net/phy/
Dmdio_bus.c225 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show() local
228 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show()
229 sattr = eattr->var; in mdio_bus_stat_field_show()
247 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show() local
251 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show()
252 sattr = eattr->var; in mdio_bus_device_stat_field_show()
/drivers/usb/misc/sisusbvga/
Dsisusb_con.c423 u16 eattr = c->vc_video_erase_char; in sisusbcon_clear() local
449 sisusbcon_memsetw(dest, eattr, height * cols * 2); in sisusbcon_clear()
454 sisusbcon_memsetw(dest, eattr, width * 2); in sisusbcon_clear()
772 u16 eattr = c->vc_video_erase_char; in sisusbcon_scroll_area() local
789 eattr, lines * cols * 2); in sisusbcon_scroll_area()
796 sisusbcon_memsetw(sisusb_vaddr(sisusb, c, 0, t), eattr, in sisusbcon_scroll_area()
815 u16 eattr = c->vc_video_erase_char; in sisusbcon_scroll() local
873 eattr, delta); in sisusbcon_scroll()
894 scr_memsetw((u16 *)(c->vc_origin), eattr, delta); in sisusbcon_scroll()
/drivers/hwtracing/coresight/
Dcoresight-cti-sysfs.c1045 struct dev_ext_attribute *eattr; in cti_create_con_sysfs_attr() local
1048 eattr = devm_kzalloc(dev, sizeof(struct dev_ext_attribute), in cti_create_con_sysfs_attr()
1050 if (eattr) { in cti_create_con_sysfs_attr()
1055 eattr->attr.attr.name = name; in cti_create_con_sysfs_attr()
1056 eattr->attr.attr.mode = 0444; in cti_create_con_sysfs_attr()
1059 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr()
1066 eattr->var = con; in cti_create_con_sysfs_attr()
1067 con->con_attrs[attr_idx] = &eattr->attr.attr; in cti_create_con_sysfs_attr()
Dcoresight-etm4x-sysfs.c2355 struct dev_ext_attribute *eattr; in coresight_etm4x_attr_to_offset() local
2357 eattr = container_of(attr, struct dev_ext_attribute, attr); in coresight_etm4x_attr_to_offset()
2358 return (u32)(unsigned long)eattr->var; in coresight_etm4x_attr_to_offset()
/drivers/fpga/
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()
/drivers/gpu/drm/i915/
Di915_pmu.c766 struct i915_str_attribute *eattr; in i915_pmu_format_show() local
768 eattr = container_of(attr, struct i915_str_attribute, attr); in i915_pmu_format_show()
769 return sprintf(buf, "%s\n", eattr->str); in i915_pmu_format_show()
796 struct i915_ext_attribute *eattr; in i915_pmu_event_show() local
798 eattr = container_of(attr, struct i915_ext_attribute, attr); in i915_pmu_event_show()
799 return sprintf(buf, "config=0x%lx\n", eattr->val); in i915_pmu_event_show()