Lines Matching refs:codec
38 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
99 #define ICH_TCR 0x10000000 /* ICH4: tertiary (AC_SDIN2) codec ready */
114 #define ICH_SCR 0x00000200 /* secondary (AC_SDIN1) codec ready */
115 #define ICH_PCR 0x00000100 /* primary (AC_SDIN0) codec ready */
123 #define ICH_REG_ACC_SEMA 0x44 /* byte - codec write semaphore */
124 #define ICH_CAS 0x01 /* codec access semaphore */
270 * access to AC97 codec via normal i/o (for ICH and SIS7013)
273 /* return the GLOB_STA bit for the corresponding codec */
274 static unsigned int get_ich_codec_bit(struct intel8x0m *chip, unsigned int codec)
279 if (snd_BUG_ON(codec >= 3))
281 return codec_bit[codec];
284 static int snd_intel8x0m_codec_semaphore(struct intel8x0m *chip, unsigned int codec)
288 if (codec > 1)
290 codec = get_ich_codec_bit(chip, codec);
292 /* codec ready ? */
293 if ((igetdword(chip, ICHREG(GLOB_STA)) & codec) == 0)
751 /* activate PCM only when associated AC'97 codec */
817 "Unable to initialize codec #%d\n", ac97.num);
874 /* wait for any codec ready status.
887 /* no codec is found */
889 "codec_ready: codec is not ready [0x%x]\n",