Lines Matching defs:scope
32 * @scope: Counter scope of the attribute
40 enum counter_scope scope;
113 switch (a->scope) {
154 switch (a->scope) {
182 switch (a->scope) {
279 switch (a->scope) {
310 switch (a->scope) {
342 switch (a->scope) {
371 if (a->scope != COUNTER_SCOPE_SIGNAL ||
394 a->scope != COUNTER_SCOPE_SIGNAL)
421 switch (a->scope) {
457 switch (a->scope) {
570 const enum counter_scope scope,
583 counter_attr->scope = scope;
749 const enum counter_scope scope,
755 err = counter_attr_create(dev, group, ext, scope, parent);
766 const enum counter_scope scope,
793 err = counter_ext_attrs_create(dev, group, &ext, scope, parent,
806 const enum counter_scope scope,
819 err = counter_array_attrs_create(dev, group, ext, scope,
824 err = counter_ext_attrs_create(dev, group, ext, scope,
844 const enum counter_scope scope = COUNTER_SCOPE_SIGNAL;
852 err = counter_attr_create(dev, cattr_group, &comp, scope, signal);
863 signal->num_ext, scope, signal);
944 const enum counter_scope scope = COUNTER_SCOPE_COUNT;
953 err = counter_attr_create(dev, cattr_group, &comp, scope, count);
966 err = counter_attr_create(dev, cattr_group, &comp, scope, count);
972 count->num_ext, scope, count);
1062 const enum counter_scope scope = COUNTER_SCOPE_DEVICE;
1085 scope, NULL);
1091 scope, NULL);
1097 &counter_events_queue_size_comp, scope, NULL);
1103 counter->num_ext, scope, NULL);