Lines Matching defs:kcontrol
564 static int snd_ice1712_ewx_io_sense_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo){
572 static int snd_ice1712_ewx_io_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
574 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
575 unsigned char mask = kcontrol->private_value & 0xff;
583 static int snd_ice1712_ewx_io_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
585 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
586 unsigned char mask = kcontrol->private_value & 0xff;
589 if (kcontrol->private_value & (1 << 31))
624 static int snd_ice1712_ews88mt_output_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
626 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
641 static int snd_ice1712_ews88mt_output_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
643 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
663 static int snd_ice1712_ews88mt_input_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
665 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
667 int channel = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
684 static int snd_ice1712_ews88mt_input_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
686 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
688 int channel = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
732 static int snd_ice1712_ews88d_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
734 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
736 int shift = kcontrol->private_value & 0xff;
737 int invert = (kcontrol->private_value >> 8) & 1;
753 static int snd_ice1712_ews88d_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
755 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
757 int shift = kcontrol->private_value & 0xff;
758 int invert = (kcontrol->private_value >> 8) & 1;
849 static int snd_ice1712_6fire_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
851 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
852 int shift = kcontrol->private_value & 0xff;
853 int invert = (kcontrol->private_value >> 8) & 1;
865 static int snd_ice1712_6fire_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
867 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
868 int shift = kcontrol->private_value & 0xff;
869 int invert = (kcontrol->private_value >> 8) & 1;
886 static int snd_ice1712_6fire_select_input_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
894 static int snd_ice1712_6fire_select_input_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
896 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
905 static int snd_ice1712_6fire_select_input_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
907 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);