Lines Matching refs:kcontrol
578 static int snd_ice1712_ewx_io_sense_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *u… in snd_ice1712_ewx_io_sense_info() argument
586 static int snd_ice1712_ewx_io_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u… in snd_ice1712_ewx_io_sense_get() argument
588 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ewx_io_sense_get()
589 unsigned char mask = kcontrol->private_value & 0xff; in snd_ice1712_ewx_io_sense_get()
597 static int snd_ice1712_ewx_io_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u… in snd_ice1712_ewx_io_sense_put() argument
599 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ewx_io_sense_put()
600 unsigned char mask = kcontrol->private_value & 0xff; in snd_ice1712_ewx_io_sense_put()
603 if (kcontrol->private_value & (1 << 31)) in snd_ice1712_ewx_io_sense_put()
638 static int snd_ice1712_ews88mt_output_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_… in snd_ice1712_ews88mt_output_sense_get() argument
640 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ews88mt_output_sense_get()
655 static int snd_ice1712_ews88mt_output_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_… in snd_ice1712_ews88mt_output_sense_put() argument
657 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ews88mt_output_sense_put()
677 static int snd_ice1712_ews88mt_input_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_v… in snd_ice1712_ews88mt_input_sense_get() argument
679 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ews88mt_input_sense_get()
681 int channel = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ice1712_ews88mt_input_sense_get()
698 static int snd_ice1712_ews88mt_input_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_v… in snd_ice1712_ews88mt_input_sense_put() argument
700 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ews88mt_input_sense_put()
702 int channel = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ice1712_ews88mt_input_sense_put()
746 static int snd_ice1712_ews88d_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value … in snd_ice1712_ews88d_control_get() argument
748 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ews88d_control_get()
750 int shift = kcontrol->private_value & 0xff; in snd_ice1712_ews88d_control_get()
751 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_ews88d_control_get()
767 static int snd_ice1712_ews88d_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value … in snd_ice1712_ews88d_control_put() argument
769 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_ews88d_control_put()
771 int shift = kcontrol->private_value & 0xff; in snd_ice1712_ews88d_control_put()
772 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_ews88d_control_put()
858 static int snd_ice1712_6fire_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *… in snd_ice1712_6fire_control_get() argument
860 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_6fire_control_get()
861 int shift = kcontrol->private_value & 0xff; in snd_ice1712_6fire_control_get()
862 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_6fire_control_get()
874 static int snd_ice1712_6fire_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *… in snd_ice1712_6fire_control_put() argument
876 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_6fire_control_put()
877 int shift = kcontrol->private_value & 0xff; in snd_ice1712_6fire_control_put()
878 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_6fire_control_put()
895 static int snd_ice1712_6fire_select_input_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_i… in snd_ice1712_6fire_select_input_info() argument
903 static int snd_ice1712_6fire_select_input_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_va… in snd_ice1712_6fire_select_input_get() argument
905 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_6fire_select_input_get()
914 static int snd_ice1712_6fire_select_input_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_va… in snd_ice1712_6fire_select_input_put() argument
916 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_6fire_select_input_put()