Lines Matching refs:kcontrol

1989 static int snd_wss_info_mux(struct snd_kcontrol *kcontrol,  in snd_wss_info_mux()  argument
2002 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_info_mux()
2020 static int snd_wss_get_mux(struct snd_kcontrol *kcontrol, in snd_wss_get_mux() argument
2023 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_get_mux()
2033 static int snd_wss_put_mux(struct snd_kcontrol *kcontrol, in snd_wss_put_mux() argument
2036 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_put_mux()
2057 int snd_wss_info_single(struct snd_kcontrol *kcontrol, in snd_wss_info_single() argument
2060 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_wss_info_single()
2070 int snd_wss_get_single(struct snd_kcontrol *kcontrol, in snd_wss_get_single() argument
2073 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_get_single()
2075 int reg = kcontrol->private_value & 0xff; in snd_wss_get_single()
2076 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_wss_get_single()
2077 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_wss_get_single()
2078 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_wss_get_single()
2089 int snd_wss_put_single(struct snd_kcontrol *kcontrol, in snd_wss_put_single() argument
2092 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_put_single()
2094 int reg = kcontrol->private_value & 0xff; in snd_wss_put_single()
2095 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_wss_put_single()
2096 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_wss_put_single()
2097 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_wss_put_single()
2114 int snd_wss_info_double(struct snd_kcontrol *kcontrol, in snd_wss_info_double() argument
2117 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_wss_info_double()
2127 int snd_wss_get_double(struct snd_kcontrol *kcontrol, in snd_wss_get_double() argument
2130 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_get_double()
2132 int left_reg = kcontrol->private_value & 0xff; in snd_wss_get_double()
2133 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_wss_get_double()
2134 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_get_double()
2135 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_wss_get_double()
2136 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_wss_get_double()
2137 int invert = (kcontrol->private_value >> 22) & 1; in snd_wss_get_double()
2151 int snd_wss_put_double(struct snd_kcontrol *kcontrol, in snd_wss_put_double() argument
2154 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); in snd_wss_put_double()
2156 int left_reg = kcontrol->private_value & 0xff; in snd_wss_put_double()
2157 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_wss_put_double()
2158 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_wss_put_double()
2159 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_wss_put_double()
2160 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_wss_put_double()
2161 int invert = (kcontrol->private_value >> 22) & 1; in snd_wss_put_double()