Lines Matching refs:ctl_handle
74 snd_hctl_t *ctl_handle;
125 if (space->ctl_handle) {
126 snd_hctl_close(space->ctl_handle);
127 space->ctl_handle = NULL;
190 err = snd_hctl_open(&res->ctl_handle, device, 0);
193 err = snd_hctl_load(res->ctl_handle);
199 err = snd_ctl_card_info(snd_hctl_ctl(res->ctl_handle), res->ctl_card_info);
248 elem = snd_hctl_find_elem(space->ctl_handle, space->ctl_id);
258 elem = snd_hctl_find_elem(space->ctl_handle, space->ctl_id);
396 val = snd_ctl_convert_from_dB(snd_hctl_ctl(space->ctl_handle), space->ctl_id, val, &lval, -1);
435 elem = snd_hctl_find_elem(space->ctl_handle, space->ctl_id);
654 if (snd_ctl_get_dB_range(snd_hctl_ctl(space->ctl_handle), space->ctl_id, &min, &max) < 0)
665 if (snd_ctl_get_dB_range(snd_hctl_ctl(space->ctl_handle), space->ctl_id, &min, &max) < 0)
681 elem = snd_hctl_find_elem(space->ctl_handle, space->ctl_id);
701 elem = snd_hctl_first_elem(space->ctl_handle);
729 elem = snd_hctl_first_elem(space->ctl_handle);
821 err = snd_ctl_elem_write(snd_hctl_ctl(space->ctl_handle), space->ctl_value);