• Home
  • Raw
  • Download

Lines Matching refs:kcontrol

146 static int snd_ca0106_shared_spdif_get(struct snd_kcontrol *kcontrol,  in snd_ca0106_shared_spdif_get()  argument
149 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_get()
155 static int snd_ca0106_shared_spdif_put(struct snd_kcontrol *kcontrol, in snd_ca0106_shared_spdif_put() argument
158 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_put()
171 static int snd_ca0106_capture_source_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_info() argument
181 static int snd_ca0106_capture_source_get(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_get() argument
184 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_get()
190 static int snd_ca0106_capture_source_put(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_put() argument
193 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_put()
208 static int snd_ca0106_i2c_capture_source_info(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_info() argument
218 static int snd_ca0106_i2c_capture_source_get(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_get() argument
221 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_get()
227 static int snd_ca0106_i2c_capture_source_put(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_put() argument
230 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_put()
247 static int snd_ca0106_capture_line_in_side_out_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_line_in_side_out_info() argument
255 static int snd_ca0106_capture_mic_line_in_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_info() argument
263 static int snd_ca0106_capture_mic_line_in_get(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_get() argument
266 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_mic_line_in_get()
272 static int snd_ca0106_capture_mic_line_in_put(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_put() argument
275 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_mic_line_in_put()
309 static int snd_ca0106_spdif_info(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_info() argument
325 static int snd_ca0106_spdif_get_default(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_get_default() argument
328 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_get_default()
329 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_get_default()
336 static int snd_ca0106_spdif_get_stream(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_get_stream() argument
339 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_get_stream()
340 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_get_stream()
347 static int snd_ca0106_spdif_get_mask(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_get_mask() argument
365 static int snd_ca0106_spdif_put_default(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_put_default() argument
368 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_put_default()
369 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_put_default()
385 static int snd_ca0106_spdif_put_stream(struct snd_kcontrol *kcontrol, in snd_ca0106_spdif_put_stream() argument
388 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_spdif_put_stream()
389 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_ca0106_spdif_put_stream()
401 static int snd_ca0106_volume_info(struct snd_kcontrol *kcontrol, in snd_ca0106_volume_info() argument
411 static int snd_ca0106_volume_get(struct snd_kcontrol *kcontrol, in snd_ca0106_volume_get() argument
414 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_volume_get()
418 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_get()
419 reg = kcontrol->private_value & 0xff; in snd_ca0106_volume_get()
427 static int snd_ca0106_volume_put(struct snd_kcontrol *kcontrol, in snd_ca0106_volume_put() argument
430 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_volume_put()
434 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_put()
435 reg = kcontrol->private_value & 0xff; in snd_ca0106_volume_put()
448 static int snd_ca0106_i2c_volume_info(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_volume_info() argument
458 static int snd_ca0106_i2c_volume_get(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_volume_get() argument
461 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_volume_get()
464 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_get()
471 static int snd_ca0106_i2c_volume_put(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_volume_put() argument
474 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_volume_put()
480 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_put()
507 static int spi_mute_get(struct snd_kcontrol *kcontrol, in spi_mute_get() argument
510 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in spi_mute_get()
511 unsigned int reg = kcontrol->private_value >> SPI_REG_SHIFT; in spi_mute_get()
512 unsigned int bit = kcontrol->private_value & SPI_REG_MASK; in spi_mute_get()
518 static int spi_mute_put(struct snd_kcontrol *kcontrol, in spi_mute_put() argument
521 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in spi_mute_put()
522 unsigned int reg = kcontrol->private_value >> SPI_REG_SHIFT; in spi_mute_put()
523 unsigned int bit = kcontrol->private_value & SPI_REG_MASK; in spi_mute_put()