Lines Matching defs:scope
817 if (c->scope != CTL_HW || c->u.hw.dev != d)
2065 switch (c->scope) {
2145 switch (c->scope) {
2200 switch (c->scope) {
2235 ctl_new(int scope, void *arg0, void *arg1,
2271 c->scope = scope;
2273 switch (scope) {
2331 ctl_match(struct ctl *c, int scope, void *arg0, void *arg1)
2333 if (c->type == CTL_NONE || c->scope != scope || c->u.any.arg0 != arg0)
2337 switch (scope) {
2351 ctl_find(int scope, void *arg0, void *arg1)
2356 if (ctl_match(c, scope, arg0, arg1))
2363 ctl_onval(int scope, void *arg0, void *arg1, int val)
2367 c = ctl_find(scope, arg0, arg1);
2376 ctl_del(int scope, void *arg0, void *arg1)
2390 if (ctl_match(c, scope, arg0, arg1)) {
2417 if (c->scope == CTL_HW &&
2439 if (c->scope == CTL_HW &&
2465 if (c->scope != CTL_OPT_DEV ||