• Home
  • Raw
  • Download

Lines Matching refs:kcontrol

160 static int snd_ca0106_shared_spdif_get(struct snd_kcontrol *kcontrol,  in snd_ca0106_shared_spdif_get()  argument
163 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_get()
169 static int snd_ca0106_shared_spdif_put(struct snd_kcontrol *kcontrol, in snd_ca0106_shared_spdif_put() argument
172 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_put()
185 static int snd_ca0106_capture_source_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_info() argument
201 static int snd_ca0106_capture_source_get(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_get() argument
204 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_get()
210 static int snd_ca0106_capture_source_put(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_put() argument
213 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_put()
228 static int snd_ca0106_i2c_capture_source_info(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_info() argument
244 static int snd_ca0106_i2c_capture_source_get(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_get() argument
247 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_get()
253 static int snd_ca0106_i2c_capture_source_put(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_put() argument
256 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_put()
273 static int snd_ca0106_capture_line_in_side_out_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_line_in_side_out_info() argument
287 static int snd_ca0106_capture_mic_line_in_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_info() argument
301 static int snd_ca0106_capture_mic_line_in_get(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_get() argument
304 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_mic_line_in_get()
310 static int snd_ca0106_capture_mic_line_in_put(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_put() argument
313 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_mic_line_in_put()
347 static int snd_ca0106_spdif_info(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_info() argument
363 static int snd_ca0106_spdif_get_default(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_get_default() argument
366 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_get_default()
367 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_get_default()
374 static int snd_ca0106_spdif_get_stream(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_get_stream() argument
377 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_get_stream()
378 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_get_stream()
385 static int snd_ca0106_spdif_get_mask(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_get_mask() argument
403 static int snd_ca0106_spdif_put_default(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_put_default() argument
406 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_put_default()
407 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_put_default()
423 static int snd_ca0106_spdif_put_stream(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_put_stream() argument
426 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_put_stream()
427 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_put_stream()
439 static int snd_ca0106_volume_info(struct snd_kcontrol *kcontrol, in snd_ca0106_volume_info() argument
449 static int snd_ca0106_volume_get(struct snd_kcontrol *kcontrol, in snd_ca0106_volume_get() argument
452 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_volume_get()
456 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_get()
457 reg = kcontrol->private_value & 0xff; in snd_ca0106_volume_get()
465 static int snd_ca0106_volume_put(struct snd_kcontrol *kcontrol, in snd_ca0106_volume_put() argument
468 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_volume_put()
472 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_put()
473 reg = kcontrol->private_value & 0xff; in snd_ca0106_volume_put()
486 static int snd_ca0106_i2c_volume_info(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_volume_info() argument
496 static int snd_ca0106_i2c_volume_get(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_volume_get() argument
499 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_volume_get()
502 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_get()
509 static int snd_ca0106_i2c_volume_put(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_volume_put() argument
512 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_volume_put()
518 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_put()
545 static int spi_mute_get(struct snd_kcontrol *kcontrol, in spi_mute_get() argument
548 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in spi_mute_get()
549 unsigned int reg = kcontrol->private_value >> SPI_REG_SHIFT; in spi_mute_get()
550 unsigned int bit = kcontrol->private_value & SPI_REG_MASK; in spi_mute_get()
556 static int spi_mute_put(struct snd_kcontrol *kcontrol, in spi_mute_put() argument
559 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in spi_mute_put()
560 unsigned int reg = kcontrol->private_value >> SPI_REG_SHIFT; in spi_mute_put()
561 unsigned int bit = kcontrol->private_value & SPI_REG_MASK; in spi_mute_put()