Lines Matching refs:ctl
54 snd_ctl_t *ctl; member
73 err = snd_ctl_close(h->ctl); in free_elems()
94 err = snd_ctl_elem_lock(h->ctl, elem->id); in snd_sctl_install()
100 err = snd_ctl_elem_read(h->ctl, elem->old); in snd_sctl_install()
167 err = snd_ctl_elem_write(h->ctl, elem->val); in snd_sctl_install()
189 err = snd_ctl_elem_unlock(h->ctl, elem->id); in snd_sctl_remove()
206 err = snd_ctl_elem_write(h->ctl, elem->old); in snd_sctl_remove()
216 static int snd_config_get_ctl_elem_enumerated(snd_config_t *n, snd_ctl_t *ctl, in snd_config_get_ctl_elem_enumerated() argument
236 err = snd_ctl_elem_info(ctl, info); in snd_config_get_ctl_elem_enumerated()
248 snd_ctl_t *ctl, in snd_config_get_ctl_elem_value() argument
284 v = snd_config_get_ctl_elem_enumerated(conf, ctl, info); in snd_config_get_ctl_elem_value()
375 v = snd_config_get_ctl_elem_enumerated(n, ctl, info); in snd_config_get_ctl_elem_value()
544 err = snd_ctl_elem_info(h->ctl, elem->info); in add_elem()
556 err = snd_config_get_ctl_elem_value(value, h->ctl, elem->val, NULL, elem->info); in add_elem()
559 err = snd_config_get_ctl_elem_value(mask, h->ctl, elem->mask, NULL, elem->info); in add_elem()
563 err = snd_config_get_ctl_elem_value(value, h->ctl, elem->val, elem->mask, elem->info); in add_elem()
568 err = snd_config_get_ctl_elem_value(value, h->ctl, elem->val, elem->mask, elem->info); in add_elem()
623 h->ctl = handle; in snd_sctl_build()