Lines Matching refs:ucontrol

300 static int snd_audigy2nx_led_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)  in snd_audigy2nx_led_get()  argument
302 ucontrol->value.integer.value[0] = kcontrol->private_value >> 8; in snd_audigy2nx_led_get()
337 struct snd_ctl_elem_value *ucontrol) in snd_audigy2nx_led_put() argument
342 unsigned int value = ucontrol->value.integer.value[0]; in snd_audigy2nx_led_put()
469 struct snd_ctl_elem_value *ucontrol) in snd_emu0204_ch_switch_get() argument
471 ucontrol->value.enumerated.item[0] = kcontrol->private_value; in snd_emu0204_ch_switch_get()
497 struct snd_ctl_elem_value *ucontrol) in snd_emu0204_ch_switch_put() argument
501 unsigned int value = ucontrol->value.enumerated.item[0]; in snd_emu0204_ch_switch_put()
540 struct snd_ctl_elem_value *ucontrol) in snd_xonar_u1_switch_get() argument
542 ucontrol->value.integer.value[0] = !!(kcontrol->private_value & 0x02); in snd_xonar_u1_switch_get()
564 struct snd_ctl_elem_value *ucontrol) in snd_xonar_u1_switch_put() argument
571 if (ucontrol->value.integer.value[0]) in snd_xonar_u1_switch_put()
608 struct snd_ctl_elem_value *ucontrol) in snd_mbox1_switch_get() argument
610 ucontrol->value.enumerated.item[0] = kctl->private_value; in snd_mbox1_switch_get()
683 struct snd_ctl_elem_value *ucontrol) in snd_mbox1_switch_put() argument
691 new_val = ucontrol->value.enumerated.item[0]; in snd_mbox1_switch_put()
761 struct snd_ctl_elem_value *ucontrol) in snd_nativeinstruments_control_get() argument
763 ucontrol->value.integer.value[0] = kcontrol->private_value >> 24; in snd_nativeinstruments_control_get()
785 struct snd_ctl_elem_value *ucontrol) in snd_nativeinstruments_control_put() argument
789 u8 newval = ucontrol->value.integer.value[0]; in snd_nativeinstruments_control_put()
922 struct snd_ctl_elem_value *ucontrol) in snd_ftu_eff_switch_get() argument
924 ucontrol->value.enumerated.item[0] = kctl->private_value >> 24; in snd_ftu_eff_switch_get()
953 struct snd_ctl_elem_value *ucontrol) in snd_ftu_eff_switch_put() argument
960 new_val = ucontrol->value.enumerated.item[0]; in snd_ftu_eff_switch_put()
1501 struct snd_ctl_elem_value *ucontrol) in snd_microii_spdif_default_get() argument
1516 ucontrol->value.iec958.status[0] = kcontrol->private_value & 0xff; in snd_microii_spdif_default_get()
1517 ucontrol->value.iec958.status[1] = (kcontrol->private_value >> 8) & 0xff; in snd_microii_spdif_default_get()
1518 ucontrol->value.iec958.status[2] = 0x00; in snd_microii_spdif_default_get()
1541 ucontrol->value.iec958.status[3] = (rate == 48000) ? in snd_microii_spdif_default_get()
1592 struct snd_ctl_elem_value *ucontrol) in snd_microii_spdif_default_put() argument
1600 pval |= (ucontrol->value.iec958.status[1] & 0x0f) << 8; in snd_microii_spdif_default_put()
1601 pval |= (ucontrol->value.iec958.status[0] & 0x0f); in snd_microii_spdif_default_put()
1604 pval |= (ucontrol->value.iec958.status[1] & 0xf0) << 8; in snd_microii_spdif_default_put()
1619 struct snd_ctl_elem_value *ucontrol) in snd_microii_spdif_mask_get() argument
1621 ucontrol->value.iec958.status[0] = 0x0f; in snd_microii_spdif_mask_get()
1622 ucontrol->value.iec958.status[1] = 0xff; in snd_microii_spdif_mask_get()
1623 ucontrol->value.iec958.status[2] = 0x00; in snd_microii_spdif_mask_get()
1624 ucontrol->value.iec958.status[3] = 0x00; in snd_microii_spdif_mask_get()
1630 struct snd_ctl_elem_value *ucontrol) in snd_microii_spdif_switch_get() argument
1632 ucontrol->value.integer.value[0] = !(kcontrol->private_value & 0x02); in snd_microii_spdif_switch_get()
1661 struct snd_ctl_elem_value *ucontrol) in snd_microii_spdif_switch_put() argument
1667 reg = ucontrol->value.integer.value[0] ? 0x28 : 0x2a; in snd_microii_spdif_switch_put()