/sound/pci/ac97/ |
D | ac97_patch.h | 25 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument 27 ((invert) << 24)) 28 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument 29 (AC97_SINGLE_VALUE(reg,shift,mask,invert) | (1<<25) | ((page) << 26)) 30 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument 34 .private_value = AC97_SINGLE_VALUE(reg, shift, mask, invert) } 35 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument 39 .private_value = AC97_PAGE_SINGLE_VALUE(reg, shift, mask, invert, page) } 40 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 44 ….private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) | ((mask) << 16) | ((invert) …
|
/sound/soc/ |
D | soc-ops.c | 261 unsigned int invert = mc->invert; in snd_soc_get_volsw() local 273 if (invert) in snd_soc_get_volsw() 288 if (invert) in snd_soc_get_volsw() 321 unsigned int invert = mc->invert; in snd_soc_put_volsw() local 331 if (invert) in snd_soc_put_volsw() 337 if (invert) in snd_soc_put_volsw() 502 unsigned int invert = mc->invert; in snd_soc_put_volsw_range() local 506 if (invert) in snd_soc_put_volsw_range() 518 if (invert) in snd_soc_put_volsw_range() 554 unsigned int invert = mc->invert; in snd_soc_get_volsw_range() local [all …]
|
/sound/isa/cs423x/ |
D | cs4236_lib.c | 394 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 398 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 400 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 405 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 426 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_cs4236_get_single() local 431 if (invert) in snd_cs4236_get_single() 443 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_cs4236_put_single() local 448 if (invert) in snd_cs4236_put_single() 459 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \ argument 463 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } [all …]
|
/sound/pci/ |
D | ak4531_codec.c | 61 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 65 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22) } 66 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 72 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22), \ 92 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_get_single() local 98 if (invert) { in snd_ak4531_get_single() 111 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_put_single() local 116 if (invert) { in snd_ak4531_put_single() 128 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument 132 …reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask << 24) | (invert << 22) } [all …]
|
D | fm801.c | 845 #define FM801_SINGLE(xname, reg, shift, mask, invert) \ argument 848 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 869 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_fm801_get_single() local 873 if (invert) in snd_fm801_get_single() 885 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_fm801_put_single() local 889 if (invert) in snd_fm801_put_single() 894 #define FM801_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 897 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24) } 898 #define FM801_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 903 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ [all …]
|
D | es1938.c | 1157 #define ES1938_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 1163 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 1165 #define ES1938_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 1169 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 1190 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_get_single() local 1195 if (invert) in snd_es1938_get_single() 1207 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_put_single() local 1211 if (invert) in snd_es1938_put_single() 1218 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument 1224 …eg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask << 24) | (invert << 22), \ [all …]
|
D | sonicvibes.c | 958 #define SONICVIBES_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 962 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 981 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_get_single() local 986 if (invert) in snd_sonicvibes_get_single() 997 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_put_single() local 1002 if (invert) in snd_sonicvibes_put_single() 1014 #define SONICVIBES_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument 1018 …reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask << 24) | (invert << 22) } 1039 int invert = (kcontrol->private_value >> 22) & 1; in snd_sonicvibes_get_double() local 1045 if (invert) { in snd_sonicvibes_get_double() [all …]
|
D | azt3328.c | 871 unsigned int invert: 1; member 876 #define COMPOSE_MIXER_REG(reg,lchan_shift,rchan_shift,mask,invert,stereo,enum_c) \ argument 879 (invert << 24) | \ 889 r->invert = (val >> 24) & 1; in snd_azf3328_mixer_reg_decode() 898 #define AZF3328_MIXER_SWITCH(xname, reg, shift, invert) \ argument 902 .private_value = COMPOSE_MIXER_REG(reg, shift, 0, 0x1, invert, 0, 0), \ 905 #define AZF3328_MIXER_VOL_STEREO(xname, reg, mask, invert) \ argument 909 .private_value = COMPOSE_MIXER_REG(reg, 8, 0, mask, invert, 1, 0), \ 919 #define AZF3328_MIXER_VOL_SPECIAL(xname, reg, mask, shift, invert) \ argument 923 .private_value = COMPOSE_MIXER_REG(reg, shift, 0, mask, invert, 0, 0), \ [all …]
|
/sound/isa/gus/ |
D | gus_mixer.c | 32 #define GF1_SINGLE(xname, xindex, shift, invert) \ argument 36 .private_value = shift | (invert << 8) } 44 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_get_single() local 47 if (invert) in snd_gf1_get_single() 57 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_put_single() local 62 if (invert) in snd_gf1_put_single()
|
D | gus_pcm.c | 306 int w16, int invert) in snd_gf1_pcm_poke_block() argument 323 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, 0x01 | (invert ? 0x08 : 0x00)); in snd_gf1_pcm_poke_block() 335 invert = invert ? 0x80 : 0x00; in snd_gf1_pcm_poke_block() 340 snd_gf1_poke(gus, pos++, *buf++ ^ invert); in snd_gf1_pcm_poke_block() 344 snd_gf1_poke(gus, pos++, *buf++ ^ invert); in snd_gf1_pcm_poke_block() 378 int err, w16, invert; in snd_gf1_pcm_playback_copy() local 381 invert = snd_pcm_format_unsigned(runtime->format); in snd_gf1_pcm_playback_copy() 382 … snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, invert)) < 0) in snd_gf1_pcm_playback_copy() 408 int err, w16, invert; in snd_gf1_pcm_playback_silence() local 411 invert = snd_pcm_format_unsigned(runtime->format); in snd_gf1_pcm_playback_silence() [all …]
|
/sound/pci/oxygen/ |
D | xonar_lib.c | 107 bool invert = ctl->private_value & XONAR_GPIO_BIT_INVERT; in xonar_gpio_bit_switch_get() local 110 !!(oxygen_read16(chip, OXYGEN_GPIO_DATA) & bit) ^ invert; in xonar_gpio_bit_switch_get() 119 bool invert = ctl->private_value & XONAR_GPIO_BIT_INVERT; in xonar_gpio_bit_switch_put() local 125 if (!!value->value.integer.value[0] ^ invert) in xonar_gpio_bit_switch_put()
|
D | oxygen_mixer.c | 487 int invert = ctl->private_value & (1 << 8); in monitor_get() local 490 !!invert ^ !!(oxygen_read8(chip, OXYGEN_ADC_MONITOR) & bit); in monitor_get() 499 int invert = ctl->private_value & (1 << 8); in monitor_put() local 505 if ((!!value->value.integer.value[0] ^ !!invert) != 0) in monitor_put() 523 int invert = ctl->private_value & (1 << 16); in ac97_switch_get() local 529 if (!(reg & (1 << bitnr)) ^ !invert) in ac97_switch_get() 561 int invert = ctl->private_value & (1 << 16); in ac97_switch_put() local 568 if (!value->value.integer.value[0] ^ !invert) in ac97_switch_put() 741 #define AC97_SWITCH(xname, codec, index, bitnr, invert) { \ argument 747 .private_value = ((codec) << 24) | ((invert) << 16) | \
|
/sound/spi/ |
D | at73c213.c | 411 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_get() local 418 if (invert) in snd_at73c213_mono_get() 434 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_put() local 439 if (invert) in snd_at73c213_mono_put() 483 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_get() local 492 if (invert) { in snd_at73c213_stereo_get() 513 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_put() local 519 if (invert) { in snd_at73c213_stereo_put() 559 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_switch_get() local 566 if (invert) in snd_at73c213_mono_switch_get() [all …]
|
/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 770 #define AD1816A_SINGLE_TLV(xname, reg, shift, mask, invert, xtlv) \ argument 775 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 777 #define AD1816A_SINGLE(xname, reg, shift, mask, invert) \ argument 780 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 800 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_get_single() local 805 if (invert) in snd_ad1816a_get_single() 817 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_put_single() local 822 if (invert) in snd_ad1816a_put_single() 834 #define AD1816A_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument 839 .private_value = reg | (shift_left << 8) | (shift_right << 12) | (mask << 16) | (invert << 24), \ [all …]
|
/sound/isa/ |
D | opl3sa2.c | 341 #define OPL3SA2_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 345 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 346 #define OPL3SA2_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 352 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 362 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_single() local 367 if (invert) in snd_opl3sa2_get_single() 379 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_put_single() local 384 if (invert) in snd_opl3sa2_put_single() 396 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 400 …reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask << 24) | (invert << 22) } [all …]
|
/sound/soc/codecs/ |
D | max98926.c | 341 unsigned int invert = 0; in max98926_dai_set_fmt() local 358 invert = MAX98926_DAI_WCI_MASK; in max98926_dai_set_fmt() 361 invert = MAX98926_DAI_BCI_MASK; in max98926_dai_set_fmt() 364 invert = MAX98926_DAI_BCI_MASK | MAX98926_DAI_WCI_MASK; in max98926_dai_set_fmt() 374 MAX98926_DAI_BCI_MASK, invert); in max98926_dai_set_fmt()
|
D | max98925.c | 302 unsigned int invert = 0; in max98925_dai_set_fmt() local 333 invert = M98925_DAI_WCI_MASK; in max98925_dai_set_fmt() 336 invert = M98925_DAI_BCI_MASK; in max98925_dai_set_fmt() 339 invert = M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK; in max98925_dai_set_fmt() 347 M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK, invert); in max98925_dai_set_fmt()
|
/sound/isa/es1688/ |
D | es1688_lib.c | 794 #define ES1688_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 798 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 818 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_get_single() local 823 if (invert) in snd_es1688_get_single() 835 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_put_single() local 840 if (invert) in snd_es1688_put_single() 853 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 857 …reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask << 24) | (invert << 22) } 879 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1688_get_double() local 897 if (invert) { in snd_es1688_get_double() [all …]
|
/sound/soc/pxa/ |
D | z2.c | 89 .invert = 1 100 .invert = 1,
|
D | hx4700.c | 44 .invert = 1, 51 .invert = true,
|
/sound/pci/ice1712/ |
D | ews.c | 751 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_ews88d_control_get() local 761 if (invert) in snd_ice1712_ews88d_control_get() 772 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_ews88d_control_put() local 782 if (invert) { in snd_ice1712_ews88d_control_put() 862 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_6fire_control_get() local 868 if (invert) in snd_ice1712_6fire_control_get() 878 int invert = (kcontrol->private_value >> 8) & 1; in snd_ice1712_6fire_control_put() local 886 if (invert) in snd_ice1712_6fire_control_put()
|
/sound/soc/samsung/ |
D | h1940_uda1380.c | 50 .invert = 1, 59 .invert = 1,
|
D | rx1950_uda1380.c | 62 .invert = 1, 71 .invert = 1,
|
/sound/parisc/ |
D | harmony.c | 719 int invert = (kc->private_value >> 24) & 0xff; in snd_harmony_volume_get() local 726 if (invert) { in snd_harmony_volume_get() 748 int invert = (kc->private_value >> 24) & 0xff; in snd_harmony_volume_put() local 755 if (invert) in snd_harmony_volume_put() 762 if (invert) in snd_harmony_volume_put() 824 #define HARMONY_VOLUME(xname, left_shift, right_shift, mask, invert) \ argument 829 ((mask) << 16) | ((invert) << 24)) }
|
/sound/soc/tegra/ |
D | tegra_rt5640.c | 96 .invert = 1, 119 tegra_rt5640_hp_jack_gpio.invert = in tegra_rt5640_asoc_init()
|