Home
last modified time | relevance | path

Searched refs:dev_ext_attribute (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/bus/
Darm-cci.c126 struct dev_ext_attribute *format_attrs;
127 struct dev_ext_attribute *event_attrs;
245 static struct dev_ext_attribute cci400_pmu_format_attrs[] = {
250 static struct dev_ext_attribute cci400_r0_pmu_event_attrs[] = {
284 static struct dev_ext_attribute cci400_r1_pmu_event_attrs[] = {
333 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show()
334 struct dev_ext_attribute, attr); in cci400_pmu_cycle_event_show()
483 static struct dev_ext_attribute cci500_pmu_format_attrs[] = {
488 static struct dev_ext_attribute cci500_pmu_event_attrs[] = {
554 struct dev_ext_attribute *eattr = container_of(attr, in cci500_pmu_global_event_show()
[all …]
Darm-ccn.c226 struct dev_ext_attribute *ea = container_of(attr, in arm_ccn_pmu_format_show()
227 struct dev_ext_attribute, attr); in arm_ccn_pmu_format_show()
233 struct dev_ext_attribute arm_ccn_pmu_format_attr_##_name = \
/linux-4.4.14/drivers/input/misc/
Daxp20x-pek.c74 return container_of(attr, struct dev_ext_attribute, attr)->var; in get_axp_ext_attr()
145 static struct dev_ext_attribute axp20x_dev_attr_startup = {
150 static struct dev_ext_attribute axp20x_dev_attr_shutdown = {
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c92 struct dev_ext_attribute *ea = in pt_cap_show()
93 container_of(attr, struct dev_ext_attribute, attr); in pt_cap_show()
135 struct dev_ext_attribute *de_attrs; in pt_pmu_hw_init()
157 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
163 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
/linux-4.4.14/arch/powerpc/perf/
Dhv-24x7.c318 struct dev_ext_attribute *d; in device_show_string()
320 d = container_of(attr, struct dev_ext_attribute, attr); in device_show_string()
327 struct dev_ext_attribute *attr = kzalloc(sizeof(*attr), GFP_KERNEL); in device_str_attr_create_()
375 struct dev_ext_attribute *d; in device_str_attr_destroy()
377 d = container_of(attr, struct dev_ext_attribute, attr.attr); in device_str_attr_destroy()
/linux-4.4.14/drivers/base/
Dcore.c146 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr)
152 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong()
167 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong()
176 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int()
191 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int()
200 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool()
212 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
/linux-4.4.14/include/linux/
Ddevice.h552 struct dev_ext_attribute { struct
579 struct dev_ext_attribute dev_attr_##_name = \
582 struct dev_ext_attribute dev_attr_##_name = \
585 struct dev_ext_attribute dev_attr_##_name = \
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce.c2270 static struct dev_ext_attribute dev_attr_check_interval = {
2275 static struct dev_ext_attribute dev_attr_ignore_ce = {
2280 static struct dev_ext_attribute dev_attr_cmci_disabled = {