Lines Matching refs:scope
40 enum counter_scope scope; member
113 switch (a->scope) { in counter_comp_u8_show()
154 switch (a->scope) { in counter_comp_u8_store()
182 switch (a->scope) { in counter_comp_u32_show()
279 switch (a->scope) { in counter_comp_u32_store()
310 switch (a->scope) { in counter_comp_u64_show()
342 switch (a->scope) { in counter_comp_u64_store()
371 if (a->scope != COUNTER_SCOPE_SIGNAL || in counter_comp_array_u32_show()
394 a->scope != COUNTER_SCOPE_SIGNAL) in counter_comp_array_u32_store()
421 switch (a->scope) { in counter_comp_array_u64_show()
457 switch (a->scope) { in counter_comp_array_u64_store()
570 const enum counter_scope scope, in counter_attr_create() argument
583 counter_attr->scope = scope; in counter_attr_create()
749 const enum counter_scope scope, in counter_ext_attrs_create() argument
755 err = counter_attr_create(dev, group, ext, scope, parent); in counter_ext_attrs_create()
766 const enum counter_scope scope, in counter_array_attrs_create() argument
793 err = counter_ext_attrs_create(dev, group, &ext, scope, parent, in counter_array_attrs_create()
806 const enum counter_scope scope, in counter_sysfs_exts_add() argument
819 err = counter_array_attrs_create(dev, group, ext, scope, in counter_sysfs_exts_add()
824 err = counter_ext_attrs_create(dev, group, ext, scope, in counter_sysfs_exts_add()
844 const enum counter_scope scope = COUNTER_SCOPE_SIGNAL; in counter_signal_attrs_create() local
852 err = counter_attr_create(dev, cattr_group, &comp, scope, signal); in counter_signal_attrs_create()
863 signal->num_ext, scope, signal); in counter_signal_attrs_create()
944 const enum counter_scope scope = COUNTER_SCOPE_COUNT; in counter_count_attrs_create() local
953 err = counter_attr_create(dev, cattr_group, &comp, scope, count); in counter_count_attrs_create()
966 err = counter_attr_create(dev, cattr_group, &comp, scope, count); in counter_count_attrs_create()
972 count->num_ext, scope, count); in counter_count_attrs_create()
1062 const enum counter_scope scope = COUNTER_SCOPE_DEVICE; in counter_sysfs_attr_add() local
1085 scope, NULL); in counter_sysfs_attr_add()
1091 scope, NULL); in counter_sysfs_attr_add()
1097 &counter_events_queue_size_comp, scope, NULL); in counter_sysfs_attr_add()
1103 counter->num_ext, scope, NULL); in counter_sysfs_attr_add()