• Home
  • Raw
  • Download

Lines Matching refs:kcontrol

122 static int snd_pmac_awacs_info_volume(struct snd_kcontrol *kcontrol,  in snd_pmac_awacs_info_volume()  argument
132 static int snd_pmac_awacs_get_volume(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_get_volume() argument
135 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_get_volume()
136 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_get_volume()
137 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_get_volume()
138 int inverted = (kcontrol->private_value >> 16) & 1; in snd_pmac_awacs_get_volume()
155 static int snd_pmac_awacs_put_volume(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_put_volume() argument
158 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_put_volume()
159 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_put_volume()
160 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_put_volume()
161 int inverted = (kcontrol->private_value >> 16) & 1; in snd_pmac_awacs_put_volume()
198 static int snd_pmac_awacs_get_switch(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_get_switch() argument
201 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_get_switch()
202 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_get_switch()
203 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_get_switch()
204 int invert = (kcontrol->private_value >> 16) & 1; in snd_pmac_awacs_get_switch()
217 static int snd_pmac_awacs_put_switch(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_put_switch() argument
220 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_put_switch()
221 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_put_switch()
222 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_put_switch()
223 int invert = (kcontrol->private_value >> 16) & 1; in snd_pmac_awacs_put_switch()
320 static int snd_pmac_awacs_info_volume_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_info_volume_amp() argument
330 static int snd_pmac_awacs_get_volume_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_get_volume_amp() argument
333 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_get_volume_amp()
334 int index = kcontrol->private_value; in snd_pmac_awacs_get_volume_amp()
342 static int snd_pmac_awacs_put_volume_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_put_volume_amp() argument
345 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_put_volume_amp()
346 int index = kcontrol->private_value; in snd_pmac_awacs_put_volume_amp()
357 static int snd_pmac_awacs_get_switch_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_get_switch_amp() argument
360 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_get_switch_amp()
361 int index = kcontrol->private_value; in snd_pmac_awacs_get_switch_amp()
371 static int snd_pmac_awacs_put_switch_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_put_switch_amp() argument
374 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_put_switch_amp()
375 int index = kcontrol->private_value; in snd_pmac_awacs_put_switch_amp()
386 static int snd_pmac_awacs_info_tone_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_info_tone_amp() argument
396 static int snd_pmac_awacs_get_tone_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_get_tone_amp() argument
399 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_get_tone_amp()
400 int index = kcontrol->private_value; in snd_pmac_awacs_get_tone_amp()
407 static int snd_pmac_awacs_put_tone_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_put_tone_amp() argument
410 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_put_tone_amp()
411 int index = kcontrol->private_value; in snd_pmac_awacs_put_tone_amp()
426 static int snd_pmac_awacs_info_master_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_info_master_amp() argument
436 static int snd_pmac_awacs_get_master_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_get_master_amp() argument
439 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_get_master_amp()
446 static int snd_pmac_awacs_put_master_amp(struct snd_kcontrol *kcontrol, in snd_pmac_awacs_put_master_amp() argument
449 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_awacs_put_master_amp()
528 static int snd_pmac_screamer_mic_boost_info(struct snd_kcontrol *kcontrol, in snd_pmac_screamer_mic_boost_info() argument
538 static int snd_pmac_screamer_mic_boost_get(struct snd_kcontrol *kcontrol, in snd_pmac_screamer_mic_boost_get() argument
541 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_screamer_mic_boost_get()
555 static int snd_pmac_screamer_mic_boost_put(struct snd_kcontrol *kcontrol, in snd_pmac_screamer_mic_boost_put() argument
558 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_screamer_mic_boost_put()