Lines Matching defs:codec
53 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
114 #define ICH_TCR 0x10000000 /* ICH4: tertiary (AC_SDIN2) codec ready */
129 #define ICH_SCR 0x00000200 /* secondary (AC_SDIN1) codec ready */
130 #define ICH_PCR 0x00000100 /* primary (AC_SDIN0) codec ready */
138 #define ICH_REG_ACC_SEMA 0x44 /* byte - codec write semaphore */
139 #define ICH_CAS 0x01 /* codec access semaphore */
285 * access to AC97 codec via normal i/o (for ICH and SIS7013)
288 /* return the GLOB_STA bit for the corresponding codec */
289 static unsigned int get_ich_codec_bit(struct intel8x0m *chip, unsigned int codec)
294 if (snd_BUG_ON(codec >= 3))
296 return codec_bit[codec];
299 static int snd_intel8x0m_codec_semaphore(struct intel8x0m *chip, unsigned int codec)
303 if (codec > 1)
305 codec = get_ich_codec_bit(chip, codec);
307 /* codec ready ? */
308 if ((igetdword(chip, ICHREG(GLOB_STA)) & codec) == 0)
765 /* activate PCM only when associated AC'97 codec */
829 "Unable to initialize codec #%d\n", ac97.num);
886 /* wait for any codec ready status.
899 /* no codec is found */
901 "codec_ready: codec is not ready [0x%x]\n",