• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/ice1712/

Lines Matching defs:master

67 #define WM_DAC_MASTER_ATTEN	0x08	/* DAC master analog attenuation */
69 #define WM_DAC_DIG_MASTER_ATTEN 0x11 /* DAC master digital attenuation */
75 #define WM_MASTER 0x17 /* master clock and mode */
337 aureon_ac97_write(ice, AC97_MASTER, 0x0000); // Unmute AC'97 master volume permanently - muting is done by WM8770
634 * AC'97 master playback mute controls (Mute on WM8770 chip)
695 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master)
699 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE))
702 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 127) & WM_VOL_MAX];
756 ucontrol->value.integer.value[i] = ice->spec.aureon.master[i] & ~WM_VOL_MUTE;
767 if (ucontrol->value.integer.value[ch] != ice->spec.aureon.master[ch]) {
769 ice->spec.aureon.master[ch] &= WM_VOL_MUTE;
770 ice->spec.aureon.master[ch] |= ucontrol->value.integer.value[ch];
774 ice->spec.aureon.master[ch]);
822 ice->spec.aureon.master[i]);
870 ice->spec.aureon.master[i]);
880 * WM8770 master mute control
894 ucontrol->value.integer.value[0] = (ice->spec.aureon.master[0] & WM_VOL_MUTE) ? 0 : 1;
895 ucontrol->value.integer.value[1] = (ice->spec.aureon.master[1] & WM_VOL_MUTE) ? 0 : 1;
906 int val = (ice->spec.aureon.master[i] & WM_VOL_MUTE) ? 0 : 1;
909 ice->spec.aureon.master[i] &= ~WM_VOL_MUTE;
910 ice->spec.aureon.master[i] |=
915 ice->spec.aureon.master[i]);
924 /* digital master volume */
1962 0x08, 0x100, /* master analog mute */
1971 0x11, 0x1ff, /* master digital full */
2000 0x08, 0x100, /* master analog mute */
2010 0x11, 0x1FF, /* master digital full */
2094 ice->spec.aureon.master[0] = WM_VOL_MUTE;
2095 ice->spec.aureon.master[1] = WM_VOL_MUTE;
2098 wm_set_vol(ice, i, ice->spec.aureon.vol[i], ice->spec.aureon.master[i % 2]);