/sound/i2c/other/ |
D | ak4xxx-adda.c | 355 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_volume_info() 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() 379 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in put_ak_reg() 380 int chip = AK_GET_CHIP(kcontrol->private_value); in put_ak_reg() 386 if (AK_GET_VOL_CVT(kcontrol->private_value) && nval < 128) in put_ak_reg() 388 if (AK_GET_IPGA(kcontrol->private_value) && nval >= 128) 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() 403 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_volume_put() [all …]
|
/sound/pci/ |
D | ak4531_codec.c | 50 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22) } 57 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22), \ 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() 75 int shift = (kcontrol->private_value >> 16) & 0x07; 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() 94 int shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_put_single() 95 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single() [all …]
|
/sound/ppc/ |
D | burgundy.c | 175 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_volume() 176 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_volume() 186 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_volume() 187 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_volume() 202 .private_value = ((ADDR2BASE(addr) & 0xff) | ((shift) << 8)) } 251 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_volume_2b() 252 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_get_volume_2b() 262 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_volume_2b() 263 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_put_volume_2b() 278 .private_value = ((ADDR2BASE(addr) & 0xff) | ((off) << 8)) } [all …]
|
D | awacs.c | 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() 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() 193 .private_value = (xreg) | ((xshift) << 8) | ((xinverted) << 16) } 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() [all …]
|
/sound/isa/cs423x/ |
D | cs4236_lib.c | 384 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 391 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 396 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_info_single() 409 int reg = kcontrol->private_value & 0xff; in snd_cs4236_get_single() 410 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_get_single() 411 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_single() 412 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_cs4236_get_single() 426 int reg = kcontrol->private_value & 0xff; in snd_cs4236_put_single() 427 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_put_single() 428 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_single() [all …]
|
/sound/usb/ |
D | mixer_quirks.c | 293 ucontrol->value.integer.value[0] = kcontrol->private_value >> 8; in snd_audigy2nx_led_get() 332 int index = kcontrol->private_value & 0xff; in snd_audigy2nx_led_put() 334 int old_value = kcontrol->private_value >> 8; in snd_audigy2nx_led_put() 341 kcontrol->private_value = (value << 8) | index; in snd_audigy2nx_led_put() 348 int priv_value = list->kctl->private_value; in snd_audigy2nx_led_resume() 390 knew.private_value = (1 << 8) | i; /* LED on as default */ in snd_audigy2nx_controls_create() 462 ucontrol->value.enumerated.item[0] = kcontrol->private_value; in snd_emu0204_ch_switch_get() 498 if (value == kcontrol->private_value) in snd_emu0204_ch_switch_put() 501 kcontrol->private_value = value; in snd_emu0204_ch_switch_put() 509 list->kctl->private_value); in snd_emu0204_ch_switch_resume() [all …]
|
/sound/spi/ |
D | at73c213.c | 407 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_get() 408 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_get() 409 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_get() 410 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_get() 430 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_put() 431 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_put() 432 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_put() 433 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_put() 459 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_info() 477 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get() [all …]
|
/sound/pci/oxygen/ |
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() 475 int invert = ctl->private_value & (1 << 8); in monitor_get() 486 u8 bit = ctl->private_value; in monitor_put() 487 int invert = ctl->private_value & (1 << 8); in monitor_put() 508 unsigned int codec = (ctl->private_value >> 24) & 1; in ac97_switch_get() 509 unsigned int index = ctl->private_value & 0xff; in ac97_switch_get() 510 unsigned int bitnr = (ctl->private_value >> 8) & 0xff; in ac97_switch_get() 511 int invert = ctl->private_value & (1 << 16); in ac97_switch_get() [all …]
|
D | xonar_wm87x6.c | 502 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get() 503 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get() 504 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_get() 516 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put() 518 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put() 519 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_put() 569 max = (ctl->private_value >> 12) & 0xf; in wm8776_field_enum_info() 570 switch ((ctl->private_value >> 24) & 0x1f) { in wm8776_field_enum_info() 575 if (((ctl->private_value >> 20) & 0xf) == 0) { in wm8776_field_enum_info() 576 if (ctl->private_value & LC_CONTROL_LIMITER) in wm8776_field_enum_info() [all …]
|
/sound/isa/sb/ |
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() 77 int shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_put_single() 78 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single() 99 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_double() 112 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_double() 113 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_get_double() [all …]
|
/sound/pci/ice1712/ |
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() 237 unsigned int idx = GET_SW_VAL_IDX(kcontrol->private_value); in maya_sw_get() 249 unsigned int idx = GET_SW_VAL_IDX(kcontrol->private_value); in maya_sw_put() 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() 300 unsigned int shift = GET_GPIO_VAL_SHIFT(kcontrol->private_value); in maya_gpio_sw_get() 304 if (GET_GPIO_VAL_INV(kcontrol->private_value)) in maya_gpio_sw_get() 314 unsigned int shift = GET_GPIO_VAL_SHIFT(kcontrol->private_value); in maya_gpio_sw_put() [all …]
|
D | aureon.c | 350 uinfo->count = kcontrol->private_value & AUREON_AC97_STEREO ? 2 : 1; in aureon_ac97_vol_info() 363 vol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_get() 365 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_get() 380 ovol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_put() 382 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_put() 388 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_vol_put() 407 kcontrol->private_value & 0x7F) & 0x8000 ? 0 : 1; in aureon_ac97_mute_get() 421 ovol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_mute_put() 426 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_mute_put() 784 int voices = kcontrol->private_value >> 8; in wm_vol_info() [all …]
|
D | phase.c | 467 int voices = kcontrol->private_value >> 8; in wm_vol_info() 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() 555 ofs = kcontrol->private_value & 0xFF; in wm_mute_put() [all …]
|
/sound/isa/gus/ |
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()
|
/sound/soc/ |
D | soc-ops.c | 43 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_info_enum_double() 63 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_get_enum_double() 97 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_put_enum_double() 185 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw() 220 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx() 247 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw() 307 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw() 389 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_sx() 433 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_sx() 493 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range() [all …]
|
/sound/isa/ |
D | opl3sa2.c | 330 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 337 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 344 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_single() 345 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_get_single() 346 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_get_single() 347 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_single() 361 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_single() 362 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_put_single() 363 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_put_single() 364 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_put_single() [all …]
|
/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 763 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 768 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 772 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_single() 785 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_single() 786 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_get_single() 787 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_single() 788 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_get_single() 802 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_put_single() 803 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_put_single() 804 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_single() [all …]
|
/sound/pci/mixart/ |
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() 848 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; in mixart_pcm_vol_put() 849 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_vol_put() 907 if(kcontrol->private_value & MIXART_VOL_AES_MASK) /* AES playback */ in mixart_pcm_sw_get() 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() [all …]
|
/sound/isa/es1688/ |
D | es1688_lib.c | 781 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 785 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_info_single() 798 int reg = kcontrol->private_value & 0xff; in snd_es1688_get_single() 799 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_get_single() 800 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_get_single() 801 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_get_single() 815 int reg = kcontrol->private_value & 0xff; in snd_es1688_put_single() 816 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_put_single() 817 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_put_single() 818 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_put_single() [all …]
|
/sound/drivers/vx/ |
D | vx_mixer.c | 571 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_get() 572 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_get() 584 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_put() 585 int capture = (kcontrol->private_value >> 8) & 1; 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 …]
|
/sound/soc/sof/ |
D | control.c | 40 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get() 58 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put() 89 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get() 105 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_put() 136 (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_get() 152 (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_put() 183 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_get() 218 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_put() 258 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_put() 326 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_get()
|
/sound/core/ |
D | ctljack.c | 18 ucontrol->value.integer.value[0] = kcontrol->private_value; in jack_detect_kctl_get() 73 kctl->private_value = 0; in snd_kctl_jack_new() 80 if (kctl->private_value == status) in snd_kctl_jack_report() 82 kctl->private_value = status; in snd_kctl_jack_report()
|
/sound/pci/ac97/ |
D | ac97_codec.c | 450 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_info_enum_double() 460 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_get_enum_double() 477 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_put_enum_double() 500 if ((kcontrol->private_value & (1<<25)) && in snd_ac97_page_save() 503 unsigned short page = (kcontrol->private_value >> 26) & 0x0f; in snd_ac97_page_save() 523 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_info_volsw() 524 int shift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_info_volsw() 525 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_info_volsw() 538 int reg = kcontrol->private_value & 0xff; in snd_ac97_get_volsw() 539 int shift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_get_volsw() [all …]
|
/sound/pci/lola/ |
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() 662 unsigned int count = (kcontrol->private_value >> 8) & 0xff; in lola_src_gain_info() 675 unsigned int ofs = kcontrol->private_value & 0xff; in lola_src_gain_get() 676 unsigned int count = (kcontrol->private_value >> 8) & 0xff; in lola_src_gain_get() 698 unsigned int ofs = kcontrol->private_value & 0xff; in lola_src_gain_put() 699 unsigned int count = (kcontrol->private_value >> 8) & 0xff; in lola_src_gain_put() [all …]
|
/sound/drivers/opl4/ |
D | opl4_mixer.c | 23 u8 reg = kcontrol->private_value; in snd_opl4_ctl_get() 38 u8 reg = kcontrol->private_value; in snd_opl4_ctl_put() 57 .private_value = OPL4_REG_MIX_CONTROL_FM 65 .private_value = OPL4_REG_MIX_CONTROL_PCM
|