Lines Matching refs:ucontrol
706 struct snd_ctl_elem_value *ucontrol) in snd_p16v_volume_get() argument
715 ucontrol->value.integer.value[0] = 0xff - ((value >> 24) & 0xff); /* Left */ in snd_p16v_volume_get()
716 ucontrol->value.integer.value[1] = 0xff - ((value >> 16) & 0xff); /* Right */ in snd_p16v_volume_get()
718 ucontrol->value.integer.value[0] = 0xff - ((value >> 8) & 0xff); /* Left */ in snd_p16v_volume_get()
719 ucontrol->value.integer.value[1] = 0xff - ((value >> 0) & 0xff); /* Right */ in snd_p16v_volume_get()
725 struct snd_ctl_elem_value *ucontrol) in snd_p16v_volume_put() argument
735 value |= ((0xff - ucontrol->value.integer.value[0]) << 24) | in snd_p16v_volume_put()
736 ((0xff - ucontrol->value.integer.value[1]) << 16); in snd_p16v_volume_put()
739 value |= ((0xff - ucontrol->value.integer.value[0]) << 8) | in snd_p16v_volume_put()
740 ((0xff - ucontrol->value.integer.value[1]) ); in snd_p16v_volume_put()
761 struct snd_ctl_elem_value *ucontrol) in snd_p16v_capture_source_get() argument
765 ucontrol->value.enumerated.item[0] = emu->p16v_capture_source; in snd_p16v_capture_source_get()
770 struct snd_ctl_elem_value *ucontrol) in snd_p16v_capture_source_put() argument
778 val = ucontrol->value.enumerated.item[0] ; in snd_p16v_capture_source_put()
800 struct snd_ctl_elem_value *ucontrol) in snd_p16v_capture_channel_get() argument
804 ucontrol->value.enumerated.item[0] = emu->p16v_capture_channel; in snd_p16v_capture_channel_get()
809 struct snd_ctl_elem_value *ucontrol) in snd_p16v_capture_channel_put() argument
816 val = ucontrol->value.enumerated.item[0] ; in snd_p16v_capture_channel_put()