Lines Matching refs:codec
86 struct ac97_info *codec;
148 /* poll until codec not busy */
153 printf("via: codec busy\n");
166 /* poll until codec valid */
171 printf("via: codec invalid\n");
319 * If the codec supports variable-rate audio (i.e. does the upsampling
320 * itself), then negotiate the rate with the codec. Otherwise,
325 return ac97_setrate(via->codec, reg, speed);
513 /* Wait for codec to become ready (largest reported delay here 310ms) */
544 via->codec = AC97_CREATE(dev, via, via_ac97);
545 if (!via->codec)
548 if (mixer_init(dev, ac97_getmixerclass(), via->codec))
551 via->codec_caps = ac97_getextcaps(via->codec);
552 ac97_setextmode(via->codec,
604 if (via->codec) ac97_destroy(via->codec);