/linux/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 368 int chip = AK_GET_CHIP(kcontrol->private_value); in snd_akm4xxx_volume_get() 369 int addr = AK_GET_ADDR(kcontrol->private_value); in snd_akm4xxx_volume_get() 380 int chip = AK_GET_CHIP(kcontrol->private_value); in put_ak_reg() 390 if (AK_GET_INVERT(kcontrol->private_value)) in put_ak_reg() 392 if (AK_GET_NEEDSMSB(kcontrol->private_value)) in put_ak_reg() 407 return put_ak_reg(kcontrol, AK_GET_ADDR(kcontrol->private_value), val); in snd_akm4xxx_volume_put() 426 int chip = AK_GET_CHIP(kcontrol->private_value); in snd_akm4xxx_stereo_volume_get() 427 int addr = AK_GET_ADDR(kcontrol->private_value); in snd_akm4xxx_stereo_volume_get() 437 int addr = AK_GET_ADDR(kcontrol->private_value); in snd_akm4xxx_stereo_volume_put() 446 change = put_ak_reg(kcontrol, addr, val[0]); in snd_akm4xxx_stereo_volume_put() [all …]
|
/linux/sound/ppc/ |
H A D | burgundy.c | 177 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_volume() 188 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_volume() 253 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_get_volume_2b() 264 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_put_volume_2b() 287 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() 300 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain() 301 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_get_gain() 318 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain() 319 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_put_gain() 418 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_get_switch_b() [all …]
|
H A D | awacs.c | 137 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_get_volume() 160 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_put_volume() 203 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_get_switch() 205 int invert = (kcontrol->private_value >> 16) & 1; in snd_pmac_awacs_get_switch() 222 int reg = kcontrol->private_value & 0xff; in snd_pmac_awacs_put_switch() 335 int index = kcontrol->private_value; in snd_pmac_awacs_get_volume_amp() 347 int index = kcontrol->private_value; in snd_pmac_awacs_put_volume_amp() 362 int index = kcontrol->private_value; in snd_pmac_awacs_get_switch_amp() 376 int index = kcontrol->private_value; in snd_pmac_awacs_put_switch_amp() 401 int index = kcontrol->private_value; in snd_pmac_awacs_get_tone_amp() [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 149 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_get() 158 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_put() 184 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_get() 193 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_put() 221 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_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() 434 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_put() 435 reg = kcontrol->private_value & 0xff; in snd_ca0106_volume_put() 464 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_get() [all …]
|
/linux/sound/pci/ |
H A D | ak4531_codec.c | 62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single() 74 int reg = kcontrol->private_value & 0xff; in snd_ak4531_get_single() 76 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_single() 77 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_get_single() 93 int reg = kcontrol->private_value & 0xff; in snd_ak4531_put_single() 95 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single() 96 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_put_single() 141 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_get_double() 165 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_put_double() 216 int reg1 = kcontrol->private_value & 0xff; in snd_ak4531_get_input_sw() [all …]
|
/linux/sound/isa/cs423x/ |
H A D | cs4236_lib.c | 407 int reg = kcontrol->private_value & 0xff; in snd_cs4236_get_single() 424 int reg = kcontrol->private_value & 0xff; in snd_cs4236_put_single() 453 int reg = kcontrol->private_value & 0xff; in snd_cs4236_get_singlec() 470 int reg = kcontrol->private_value & 0xff; in snd_cs4236_put_singlec() 520 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double() 542 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double() 1021 const struct snd_kcontrol_new *kcontrol; in snd_cs4236_mixer() local 1046 kcontrol = snd_cs4236_3d_controls_cs4235; in snd_cs4236_mixer() 1050 kcontrol = snd_cs4236_3d_controls_cs4237; in snd_cs4236_mixer() 1054 kcontrol = snd_cs4236_3d_controls_cs4238; in snd_cs4236_mixer() [all …]
|
/linux/sound/soc/ |
H A D | soc-ops.c | 174 int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw() argument 178 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw() 188 vol_string = strstr(kcontrol->id.name, " Volume"); in snd_soc_info_volsw() 222 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx() 253 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw() argument 258 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw() 313 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw() argument 686 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol, in snd_soc_bytes_get() argument 723 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol, in snd_soc_bytes_put() argument 828 ret = params->get(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback() [all …]
|
/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-ctl.c | 33 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) { in snd_bcm2835_ctl_info() 38 } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) { in snd_bcm2835_ctl_info() 55 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_get() 59 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_get() 61 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_get() 63 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_get() 73 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_put() 77 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_put() 79 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_put() 81 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_put() [all …]
|
/linux/sound/soc/sof/ |
H A D | control.c | 18 int snd_sof_volume_get(struct snd_kcontrol *kcontrol, in snd_sof_volume_get() argument 33 int snd_sof_volume_put(struct snd_kcontrol *kcontrol, in snd_sof_volume_put() argument 59 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_sof_volume_info() 70 int snd_sof_switch_get(struct snd_kcontrol *kcontrol, in snd_sof_switch_get() argument 85 int snd_sof_switch_put(struct snd_kcontrol *kcontrol, in snd_sof_switch_put() argument 100 int snd_sof_enum_get(struct snd_kcontrol *kcontrol, in snd_sof_enum_get() argument 115 int snd_sof_enum_put(struct snd_kcontrol *kcontrol, in snd_sof_enum_put() argument 130 int snd_sof_bytes_get(struct snd_kcontrol *kcontrol, in snd_sof_bytes_get() argument 145 int snd_sof_bytes_put(struct snd_kcontrol *kcontrol, in snd_sof_bytes_put() argument 160 int snd_sof_bytes_ext_put(struct snd_kcontrol *kcontrol, in snd_sof_bytes_ext_put() argument [all …]
|
/linux/sound/isa/sb/ |
H A D | sb_mixer.c | 47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single() 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() 62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single() 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() 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() 132 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_double() 388 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_get_input_sw() [all …]
|
/linux/sound/pci/ice1712/ |
H A D | maya44.c | 160 unsigned int idx = kcontrol->private_value; in maya_vol_info() 170 static int maya_vol_get(struct snd_kcontrol *kcontrol, in maya_vol_get() argument 176 unsigned int idx = kcontrol->private_value; in maya_vol_get() 185 static int maya_vol_put(struct snd_kcontrol *kcontrol, in maya_vol_put() argument 191 unsigned int idx = kcontrol->private_value; in maya_vol_put() 231 static int maya_sw_get(struct snd_kcontrol *kcontrol, in maya_sw_get() argument 243 static int maya_sw_put(struct snd_kcontrol *kcontrol, in maya_sw_put() argument 259 mask = GET_SW_VAL_MASK(kcontrol->private_value); in maya_sw_put() 261 GET_SW_VAL_REG(kcontrol->private_value), in maya_sw_put() 304 if (GET_GPIO_VAL_INV(kcontrol->private_value)) in maya_gpio_sw_get() [all …]
|
H A D | aureon.c | 365 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_get() 784 int voices = kcontrol->private_value >> 8; in wm_vol_info() 798 voices = kcontrol->private_value >> 8; in wm_vol_get() 799 ofs = kcontrol->private_value & 0xff; in wm_vol_get() 813 voices = kcontrol->private_value >> 8; in wm_vol_put() 814 ofs = kcontrol->private_value & 0xff; in wm_vol_put() 839 uinfo->count = kcontrol->private_value >> 8; in wm_mute_info() 851 voices = kcontrol->private_value >> 8; in wm_mute_get() 852 ofs = kcontrol->private_value & 0xFF; in wm_mute_get() 866 voices = kcontrol->private_value >> 8; in wm_mute_put() [all …]
|
H A D | wtm.c | 123 if (kcontrol->private_value) { in stac9460_dac_mute_get() 127 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_get() 148 if (kcontrol->private_value) { in stac9460_dac_mute_put() 159 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_put() 198 if (kcontrol->private_value) { in stac9460_dac_vol_get() 202 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_vol_get() 221 if (kcontrol->private_value) { in stac9460_dac_vol_put() 265 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_mute_get() 288 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_mute_put() 333 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_vol_get() [all …]
|
H A D | phase.c | 467 int voices = kcontrol->private_value >> 8; in wm_vol_info() 475 static int wm_vol_get(struct snd_kcontrol *kcontrol, in wm_vol_get() argument 482 voices = kcontrol->private_value >> 8; in wm_vol_get() 483 ofs = kcontrol->private_value & 0xff; in wm_vol_get() 498 voices = kcontrol->private_value >> 8; in wm_vol_put() 499 ofs = kcontrol->private_value & 0xff; in wm_vol_put() 525 uinfo->count = kcontrol->private_value >> 8; in wm_mute_info() 538 voices = kcontrol->private_value >> 8; in wm_mute_get() 539 ofs = kcontrol->private_value & 0xFF; in wm_mute_get() 554 voices = kcontrol->private_value >> 8; in wm_mute_put() [all …]
|
H A D | pontis.c | 111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_get() 127 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_put() 166 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_get() 182 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_put() 208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_get() 209 int bit = kcontrol->private_value; in wm_adc_mux_get() 219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_put() 220 int bit = kcontrol->private_value; in wm_adc_mux_put() 245 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_bypass_get() 255 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_bypass_put() [all …]
|
H A D | prodigy192.c | 96 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get() 100 if (kcontrol->private_value) in stac9460_dac_mute_get() 111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put() 115 if (kcontrol->private_value) in stac9460_dac_mute_put() 144 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get() 148 if (kcontrol->private_value) in stac9460_dac_vol_get() 160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put() 165 if (kcontrol->private_value) in stac9460_dac_vol_put() 191 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get() 205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put() [all …]
|
/linux/sound/drivers/pcsp/ |
H A D | pcsp_mixer.c | 14 static int pcsp_enable_info(struct snd_kcontrol *kcontrol, in pcsp_enable_info() argument 24 static int pcsp_enable_get(struct snd_kcontrol *kcontrol, in pcsp_enable_get() argument 27 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_enable_get() 32 static int pcsp_enable_put(struct snd_kcontrol *kcontrol, in pcsp_enable_put() argument 35 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_enable_put() 45 static int pcsp_treble_info(struct snd_kcontrol *kcontrol, in pcsp_treble_info() argument 48 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_treble_info() 62 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_treble_get() 70 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_treble_put() 96 struct snd_pcsp *chip = snd_kcontrol_chip(kcontrol); in pcsp_pcspkr_get() [all …]
|
/linux/sound/drivers/vx/ |
H A D | vx_mixer.c | 413 int codec = kcontrol->id.index; in vx_output_level_get() 424 int codec = kcontrol->id.index; in vx_output_level_put() 571 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_get() 584 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_put() 607 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_get() 619 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_put() 646 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_get() 658 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_put() 677 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_get() 689 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_put() [all …]
|
/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 54 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() 626 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() 636 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() 639 unsigned channel = kcontrol->private_value; in snd_emu1010_output_source_get() 650 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put() 654 unsigned channel = kcontrol->private_value; in snd_emu1010_output_source_put() 682 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get() 685 unsigned channel = kcontrol->private_value; in snd_emu1010_input_source_get() 700 unsigned channel = kcontrol->private_value; in snd_emu1010_input_source_put() 1262 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_get() [all …]
|
/linux/sound/usb/6fire/ |
H A D | control.c | 188 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); in usb6fire_control_output_vol_put() 189 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_vol_put() 218 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); in usb6fire_control_output_vol_get() 219 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_vol_get() 235 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); in usb6fire_control_output_mute_put() 236 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_mute_put() 262 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); in usb6fire_control_output_mute_get() 263 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_mute_get() 292 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); in usb6fire_control_input_vol_put() 315 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); in usb6fire_control_input_vol_get() [all …]
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-misc-control.c | 74 static int mt8186_sgen_get(struct snd_kcontrol *kcontrol, in mt8186_sgen_get() argument 77 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_get() 86 static int mt8186_sgen_set(struct snd_kcontrol *kcontrol, in mt8186_sgen_set() argument 89 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_set() 92 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in mt8186_sgen_set() 128 static int mt8186_sgen_rate_get(struct snd_kcontrol *kcontrol, in mt8186_sgen_rate_get() argument 140 static int mt8186_sgen_rate_set(struct snd_kcontrol *kcontrol, in mt8186_sgen_rate_set() argument 146 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in mt8186_sgen_rate_set() 172 static int mt8186_sgen_amplitude_get(struct snd_kcontrol *kcontrol, in mt8186_sgen_amplitude_get() argument 183 static int mt8186_sgen_amplitude_set(struct snd_kcontrol *kcontrol, in mt8186_sgen_amplitude_set() argument [all …]
|
/linux/sound/pci/mixart/ |
H A D | mixart_mixer.c | 334 if(kcontrol->private_value == 0) { /* playback */ in mixart_analog_vol_info() 346 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_analog_vol_get() 348 if(kcontrol->private_value == 0) { /* playback */ in mixart_analog_vol_get() 361 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_analog_vol_put() 366 is_capture = (kcontrol->private_value != 0); in mixart_analog_vol_put() 410 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_audio_sw_get() 421 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_audio_sw_put() 823 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_pcm_vol_get() 845 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_pcm_vol_put() 903 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); in mixart_pcm_sw_get() [all …]
|
/linux/sound/pci/pcxhr/ |
H A D | pcxhr_mixer.c | 77 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_info() 81 if (kcontrol->private_value == 0) { /* playback */ in pcxhr_analog_vol_info() 112 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_get() 114 if (kcontrol->private_value == 0) { /* playback */ in pcxhr_analog_vol_get() 128 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_put() 133 is_capture = (kcontrol->private_value != 0); in pcxhr_analog_vol_put() 193 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_get() 205 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_put() 353 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_get() 372 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_put() [all …]
|
/linux/sound/soc/codecs/aw88395/ |
H A D | aw88395.c | 122 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_set_fade_in_time() 157 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_set_fade_out_time() 210 static int aw88395_profile_get(struct snd_kcontrol *kcontrol, in aw88395_profile_get() argument 221 static int aw88395_profile_set(struct snd_kcontrol *kcontrol, in aw88395_profile_set() argument 247 static int aw88395_volume_get(struct snd_kcontrol *kcontrol, in aw88395_volume_get() argument 259 static int aw88395_volume_set(struct snd_kcontrol *kcontrol, in aw88395_volume_set() argument 266 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_volume_set() 300 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_set_fade_step() 315 static int aw88395_re_get(struct snd_kcontrol *kcontrol, in aw88395_re_get() argument 327 static int aw88395_re_set(struct snd_kcontrol *kcontrol, in aw88395_re_set() argument [all …]
|
/linux/sound/usb/ |
H A D | mixer_us16x08.c | 273 if (val < SND_US16X08_KCMIN(kcontrol) in snd_us16x08_master_put() 274 || val > SND_US16X08_KCMAX(kcontrol)) in snd_us16x08_master_put() 382 if (val < SND_US16X08_KCMIN(kcontrol) in snd_us16x08_channel_put() 383 || val > SND_US16X08_KCMAX(kcontrol)) in snd_us16x08_channel_put() 444 if (val < SND_US16X08_KCMIN(kcontrol) in snd_us16x08_comp_put() 575 if (val < SND_US16X08_KCMIN(kcontrol) in snd_us16x08_eq_put() 692 switch (kcontrol->private_value) { in snd_us16x08_meter_get() 700 kcontrol->private_value++; in snd_us16x08_meter_get() 706 kcontrol->private_value++; in snd_us16x08_meter_get() 711 kcontrol->private_value++; in snd_us16x08_meter_get() [all …]
|