Lines Matching refs:ucontrol

346 				  struct snd_ctl_elem_value *ucontrol)  in ct_alsa_mix_volume_get()  argument
361 ucontrol->value.integer.value[i] = val; in ct_alsa_mix_volume_get()
368 struct snd_ctl_elem_value *ucontrol) in ct_alsa_mix_volume_put() argument
377 val = ucontrol->value.integer.value[i]; in ct_alsa_mix_volume_put()
425 struct snd_ctl_elem_value *ucontrol) in output_switch_get() argument
428 ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); in output_switch_get()
433 struct snd_ctl_elem_value *ucontrol) in output_switch_put() argument
436 if (ucontrol->value.enumerated.item[0] > 2) in output_switch_put()
438 return atc->output_switch_put(atc, ucontrol->value.enumerated.item[0]); in output_switch_put()
460 struct snd_ctl_elem_value *ucontrol) in mic_source_switch_get() argument
463 ucontrol->value.enumerated.item[0] = atc->mic_source_switch_get(atc); in mic_source_switch_get()
468 struct snd_ctl_elem_value *ucontrol) in mic_source_switch_put() argument
471 if (ucontrol->value.enumerated.item[0] > 2) in mic_source_switch_put()
474 ucontrol->value.enumerated.item[0]); in mic_source_switch_put()
583 struct snd_ctl_elem_value *ucontrol) in ct_alsa_mix_switch_get() argument
589 ucontrol->value.integer.value[0] = get_switch_state(mixer, type); in ct_alsa_mix_switch_get()
594 struct snd_ctl_elem_value *ucontrol) in ct_alsa_mix_switch_put() argument
601 state = ucontrol->value.integer.value[0]; in ct_alsa_mix_switch_put()
628 struct snd_ctl_elem_value *ucontrol) in ct_spdif_get_mask() argument
630 ucontrol->value.iec958.status[0] = 0xff; in ct_spdif_get_mask()
631 ucontrol->value.iec958.status[1] = 0xff; in ct_spdif_get_mask()
632 ucontrol->value.iec958.status[2] = 0xff; in ct_spdif_get_mask()
633 ucontrol->value.iec958.status[3] = 0xff; in ct_spdif_get_mask()
638 struct snd_ctl_elem_value *ucontrol) in ct_spdif_get() argument
648 ucontrol->value.iec958.status[0] = (status >> 0) & 0xff; in ct_spdif_get()
649 ucontrol->value.iec958.status[1] = (status >> 8) & 0xff; in ct_spdif_get()
650 ucontrol->value.iec958.status[2] = (status >> 16) & 0xff; in ct_spdif_get()
651 ucontrol->value.iec958.status[3] = (status >> 24) & 0xff; in ct_spdif_get()
657 struct snd_ctl_elem_value *ucontrol) in ct_spdif_put() argument
663 status = (ucontrol->value.iec958.status[0] << 0) | in ct_spdif_put()
664 (ucontrol->value.iec958.status[1] << 8) | in ct_spdif_put()
665 (ucontrol->value.iec958.status[2] << 16) | in ct_spdif_put()
666 (ucontrol->value.iec958.status[3] << 24); in ct_spdif_put()