Lines Matching refs:kcontrol
45 static int snd_sbmixer_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sbmixer_info_single() argument
47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single()
56 static int snd_sbmixer_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_get_single() argument
58 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_get_single()
60 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_single()
61 int shift = (kcontrol->private_value >> 16) & 0xff; in snd_sbmixer_get_single()
62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single()
72 static int snd_sbmixer_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_put_single() argument
74 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_put_single()
76 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_single()
77 int shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_put_single()
78 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single()
97 static int snd_sbmixer_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sbmixer_info_double() argument
99 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_double()
108 static int snd_sbmixer_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_get_double() argument
110 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_get_double()
112 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_double()
113 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_get_double()
114 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_get_double()
115 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_sbmixer_get_double()
116 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_double()
128 static int snd_sbmixer_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_put_double() argument
130 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_put_double()
132 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_double()
133 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_put_double()
134 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_put_double()
135 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_sbmixer_put_double()
136 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_double()
168 static int snd_dt019x_input_sw_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_dt019x_input_sw_info() argument
177 static int snd_dt019x_input_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in snd_dt019x_input_sw_get() argument
179 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_dt019x_input_sw_get()
213 static int snd_dt019x_input_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in snd_dt019x_input_sw_put() argument
215 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_dt019x_input_sw_put()
254 static int snd_als4k_mono_capture_route_info(struct snd_kcontrol *kcontrol, in snd_als4k_mono_capture_route_info() argument
264 static int snd_als4k_mono_capture_route_get(struct snd_kcontrol *kcontrol, in snd_als4k_mono_capture_route_get() argument
267 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_als4k_mono_capture_route_get()
282 static int snd_als4k_mono_capture_route_put(struct snd_kcontrol *kcontrol, in snd_als4k_mono_capture_route_put() argument
285 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_als4k_mono_capture_route_put()
308 static int snd_sb8mixer_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sb8mixer_info_mux() argument
318 static int snd_sb8mixer_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_sb8mixer_get_mux() argument
320 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb8mixer_get_mux()
341 static int snd_sb8mixer_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_sb8mixer_put_mux() argument
343 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb8mixer_put_mux()
375 static int snd_sb16mixer_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uin… in snd_sb16mixer_info_input_sw() argument
384 static int snd_sb16mixer_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *uco… in snd_sb16mixer_get_input_sw() argument
386 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb16mixer_get_input_sw()
388 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_get_input_sw()
389 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_get_input_sw()
390 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_sb16mixer_get_input_sw()
391 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_sb16mixer_get_input_sw()
405 static int snd_sb16mixer_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *uco… in snd_sb16mixer_put_input_sw() argument
407 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb16mixer_put_input_sw()
409 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_put_input_sw()
410 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_put_input_sw()
411 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_sb16mixer_put_input_sw()
412 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_sb16mixer_put_input_sw()