/linux/sound/i2c/other/ |
A D | ak4xxx-adda.c | 390 if (AK_GET_INVERT(kcontrol->private_value)) in put_ak_reg() 624 knew.private_value = in build_dac_controls() 655 knew.private_value = in build_dac_controls() 662 knew.private_value = in build_dac_controls() 670 knew.private_value = in build_dac_controls() 683 knew.private_value = in build_dac_controls() 690 knew.private_value = in build_dac_controls() 696 knew.private_value = in build_dac_controls() 750 knew.private_value = in build_adc_controls() 771 knew.private_value = in build_adc_controls() [all …]
|
/linux/sound/pci/ |
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/ppc/ |
A D | burgundy.c | 176 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_volume() 187 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_volume() 252 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_get_volume_2b() 263 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_put_volume_2b() 286 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() 300 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_get_gain() 318 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_put_gain() 395 .private_value = ((lbit) | ((rbit) << 8)\ 417 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_get_switch_b() 432 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_put_switch_b() [all …]
|
A D | awacs.c | 334 int index = kcontrol->private_value; in snd_pmac_awacs_get_volume_amp() 346 int index = kcontrol->private_value; in snd_pmac_awacs_put_volume_amp() 361 int index = kcontrol->private_value; in snd_pmac_awacs_get_switch_amp() 375 int index = kcontrol->private_value; in snd_pmac_awacs_put_switch_amp() 400 int index = kcontrol->private_value; in snd_pmac_awacs_get_tone_amp() 473 .private_value = AMP_CH_SPK, 480 .private_value = AMP_CH_HD, 487 .private_value = 0, 494 .private_value = 1, 510 .private_value = AMP_CH_HD, [all …]
|
/linux/sound/isa/cs423x/ |
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() 596 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double1() 618 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double1() 650 .private_value = 71 << 24, \ 694 .private_value = 3 << 24, \ [all …]
|
/linux/sound/usb/ |
A D | mixer_quirks.c | 519 .private_value = 0, 587 .private_value = 0x05, 691 kctl->private_value = err; in snd_mbox1_clk_switch_get() 839 .private_value = 0 850 .private_value = 0 1005 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer() 1926 .private_value = 0, 3030 unsigned long private_value = kctl->private_value; in snd_djm_controls_info() local 3095 unsigned long private_value = kctl->private_value; in snd_djm_controls_put() local 3110 unsigned long private_value = list->kctl->private_value; in snd_djm_controls_resume() local [all …]
|
/linux/drivers/staging/vc04_services/bcm2835-audio/ |
A D | bcm2835-ctl.c | 33 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) { in snd_bcm2835_ctl_info() 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() 77 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_put() 105 .private_value = PCM_PLAYBACK_VOLUME, 115 .private_value = PCM_PLAYBACK_MUTE, 124 .private_value = PCM_PLAYBACK_DEVICE, 242 .private_value = PCM_PLAYBACK_VOLUME, 254 .private_value = PCM_PLAYBACK_MUTE, 276 .private_value = PCM_PLAYBACK_VOLUME, [all …]
|
/linux/sound/spi/ |
A D | at73c213.c | 397 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_get() 398 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_get() 399 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_get() 420 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_put() 467 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get() 472 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_get() 497 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_put() 502 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_put() 546 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_switch_get() 568 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_switch_put() [all …]
|
/linux/sound/pci/oxygen/ |
A D | oxygen_mixer.c | 432 u32 bit = ctl->private_value; in spdif_bit_switch_get() 443 u32 bit = ctl->private_value; in spdif_bit_switch_put() 474 u8 bit = ctl->private_value; in monitor_get() 486 u8 bit = ctl->private_value; in monitor_put() 838 .private_value = OXYGEN_SPDIF_LOOPBACK, 846 .private_value = OXYGEN_SPDIF_SPDVALID, 863 .private_value = OXYGEN_ADC_MONITOR_A, 888 .private_value = OXYGEN_ADC_MONITOR_B, 914 .private_value = OXYGEN_ADC_MONITOR_B, 941 .private_value = OXYGEN_ADC_MONITOR_C, [all …]
|
A D | xonar_wm87x6.c | 504 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get() 518 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put() 622 if (!(ctl->private_value & mode)) in wm8776_field_set_from_ctl() 625 value = ctl->private_value & 0xf; in wm8776_field_set_from_ctl() 626 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set_from_ctl() 654 ctl->private_value = (ctl->private_value & ~0xf) | value; in wm8776_field_set() 877 if (ctl->private_value & mode) in activate_control() 1037 .private_value = 1 << 0, 1045 .private_value = 1 << 1, 1064 .private_value = 0, [all …]
|
/linux/sound/isa/sb/ |
A D | sb_mixer.c | 47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_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() 76 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_single() 78 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single() 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() 409 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_put_input_sw() [all …]
|
/linux/sound/pci/ice1712/ |
A D | aureon.c | 1548 .private_value = 5 1599 .private_value = AC97_CD 1618 .private_value = AC97_AUX, 1637 .private_value = AC97_LINE 1656 .private_value = AC97_MIC 1666 .private_value = AC97_MIC, 1704 .private_value = AC97_AUX 1723 .private_value = AC97_CD 1742 .private_value = AC97_LINE 1761 .private_value = AC97_MIC [all …]
|
A D | maya44.c | 160 unsigned int idx = kcontrol->private_value; in maya_vol_info() 176 unsigned int idx = kcontrol->private_value; in maya_vol_get() 191 unsigned int idx = kcontrol->private_value; in maya_vol_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() 321 if (GET_GPIO_VAL_INV(kcontrol->private_value)) in maya_gpio_sw_put() 437 .private_value = WM_VOL_HP, 449 .private_value = WM_VOL_DAC, 461 .private_value = WM_VOL_ADC, 470 .private_value = COMPOSE_SW_VAL(WM_SW_DAC, [all …]
|
A D | phase.c | 483 ofs = kcontrol->private_value & 0xff; in wm_vol_get() 772 .private_value = (2 << 8) | 0 782 .private_value = (2 << 8) | 0, 791 .private_value = (2 << 8) | 2 801 .private_value = (2 << 8) | 2, 810 .private_value = (1 << 8) | 4 820 .private_value = (1 << 8) | 4, 829 .private_value = (1 << 8) | 5 839 .private_value = (1 << 8) | 5, 848 .private_value = (2 << 8) | 6 [all …]
|
/linux/sound/soc/ |
A D | soc-ops.c | 179 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw() 214 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx() 241 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw() 301 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw() 448 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range() 478 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range() 531 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range() 777 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx() 805 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx() 850 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx() [all …]
|
/linux/sound/isa/ |
A D | opl3sa2.c | 343 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_single() 344 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_get_single() 345 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_get_single() 360 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_single() 361 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_put_single() 362 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_put_single() 398 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_double() 402 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_double() 403 int invert = (kcontrol->private_value >> 22) & 1; in snd_opl3sa2_get_double() 420 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_double() [all …]
|
/linux/include/sound/ |
A D | soc.h | 68 .private_value = (unsigned long)&(struct soc_mixer_control) \ 88 .private_value = (unsigned long)&(struct soc_mixer_control) \ 221 .private_value = (unsigned long)&xenum } 233 .private_value = \ 287 .private_value = xdata } 292 .private_value = (unsigned long)&xenum } 299 .put = snd_soc_bytes_put, .private_value = \ 305 .put = xhandler_put, .private_value = \ 312 .put = snd_soc_bytes_put, .private_value = \ 324 .private_value = (unsigned long)&(struct soc_bytes_ext) \ [all …]
|
/linux/sound/isa/es1688/ |
A D | es1688_lib.c | 762 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_info_single() 775 int reg = kcontrol->private_value & 0xff; in snd_es1688_get_single() 776 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_get_single() 777 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_get_single() 792 int reg = kcontrol->private_value & 0xff; in snd_es1688_put_single() 793 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_put_single() 794 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_put_single() 834 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_get_double() 839 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1688_get_double() 868 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_put_double() [all …]
|
/linux/sound/isa/ad1816a/ |
A D | ad1816a_lib.c | 726 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_single() 739 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_single() 740 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_get_single() 741 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_single() 756 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_put_single() 757 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_put_single() 758 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_single() 791 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_double() 804 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_double() 807 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_double() [all …]
|
/linux/sound/isa/gus/ |
A D | gus_mixer.c | 21 .private_value = shift | (invert << 8) } 28 int shift = kcontrol->private_value & 0xff; in snd_gf1_get_single() 29 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_get_single() 41 int shift = kcontrol->private_value & 0xff; in snd_gf1_put_single() 42 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_put_single() 64 .private_value = addr } 79 int addr = kcontrol->private_value & 0xff; in snd_ics_get_double() 95 int addr = kcontrol->private_value & 0xff; in snd_ics_put_double()
|
/linux/sound/pci/mixart/ |
A D | mixart_mixer.c | 334 if(kcontrol->private_value == 0) { /* playback */ in mixart_analog_vol_info() 348 if(kcontrol->private_value == 0) { /* playback */ in mixart_analog_vol_get() 366 is_capture = (kcontrol->private_value != 0); in mixart_analog_vol_put() 826 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; in mixart_pcm_vol_get() 827 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_vol_get() 849 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_vol_put() 919 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_sw_put() 1116 temp.private_value = 0; /* playback */ in snd_mixart_create_mixer() 1129 temp.private_value = 1; /* capture */ in snd_mixart_create_mixer() 1138 temp.private_value = 0; /* playback analog */ in snd_mixart_create_mixer() [all …]
|
/linux/sound/drivers/vx/ |
A D | vx_mixer.c | 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() 924 temp.private_value = val; in snd_vx_mixer_new() 930 temp.private_value = val; in snd_vx_mixer_new() 936 temp.private_value = val; in snd_vx_mixer_new() 942 temp.private_value = val; in snd_vx_mixer_new() 951 temp.private_value = (i * 2) | (1 << 8); in snd_vx_mixer_new() 980 temp.private_value = val; in snd_vx_mixer_new() 989 temp.private_value = val; in snd_vx_mixer_new() [all …]
|
/linux/sound/pci/ac97/ |
A D | ac97_codec.c | 892 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_get_bits() 924 .private_value = codec } 1190 tmp.private_value |= (1 << 30); in snd_ac97_cmute_new_stereo() 1196 tmp.private_value |= (1 << 30); in snd_ac97_cmute_new_stereo() 1345 kctl->private_value &= ~(0xff << 16); in snd_ac97_mixer_build() 1346 kctl->private_value |= (int)max << 16; in snd_ac97_mixer_build() 1361 kctl->private_value &= ~(0xff << 16); in snd_ac97_mixer_build() 1362 kctl->private_value |= (int)max << 16; in snd_ac97_mixer_build() 1405 kctl->private_value |= 7 << 16; in snd_ac97_mixer_build() 2726 kcontrol->private_value = (kcontrol->private_value & ~0xff) | AC97_HEADPHONE; in bind_hp_volsw_put() [all …]
|
/linux/sound/pci/lola/ |
A D | lola_mixer.c | 503 int dir = kcontrol->private_value; in lola_analog_vol_info() 516 int dir = kcontrol->private_value; in lola_analog_vol_get() 529 int dir = kcontrol->private_value; in lola_analog_vol_put() 546 int dir = kcontrol->private_value; in lola_analog_vol_tlv() 589 lola_analog_mixer.private_value = dir; in create_analog_mixer() 675 unsigned int ofs = kcontrol->private_value & 0xff; in lola_src_gain_get() 698 unsigned int ofs = kcontrol->private_value & 0xff; in lola_src_gain_put() 731 lola_src_gain_mixer.private_value = ofs + (num << 8); in create_src_gain_mixer() 756 unsigned int src_ofs = kcontrol->private_value & 0xff; 781 unsigned int src_ofs = kcontrol->private_value & 0xff; [all …]
|
/linux/sound/soc/sof/ |
A D | control.c | 106 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get() 126 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put() 179 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get() 231 (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_get() 249 (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_put() 280 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_get() 316 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_put() 359 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_put() 511 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_get() 651 be = (struct soc_bytes_ext *)kc->private_value; in snd_sof_control_notify() [all …]
|