Lines Matching defs:codec
230 * Changes the rate of the given input/output on the codec.
231 * If the codec doesn't support VAR, the rate must be 48000 (except
237 * if the codec supports them.
411 rates &= pcm->r[dbl].codec[cidx]->rates[idx];
443 struct snd_ac97 *codec;
452 codec = bus->codec[i];
453 if (!codec)
455 avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]);
456 avail_slots[1][i] = get_cslots(codec);
457 if (!(codec->scaps & AC97_SCAP_INDEP_SDIN)) {
459 if (bus->codec[j])
481 if (!bus->codec[j])
501 rpcm->r[0].codec[j] = bus->codec[j];
514 /* for double rate, we check the first codec only */
516 bus->codec[0] && (bus->codec[0]->flags & AC97_DOUBLE_RATE) &&
524 rpcm->r[1].codec[0] = bus->codec[0];
547 * @rate: rate in Hz, if codec does not support VRA, this value must be 48000Hz
568 if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) {
569 err = set_spdif_rate(bus->codec[cidx], rate);
617 err = snd_ac97_set_rate(pcm->r[r].codec[cidx], reg, rate);
660 snd_ac97_update_power(pcm->r[r].codec[cidx],