Lines Matching full:rates
31 /* standard rates */
82 /* double rates */
396 unsigned int rates = ~0; in get_rates() local
411 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; in get_rates()
414 rates &= ~(SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | in get_rates()
416 return rates; in get_rates()
442 unsigned int rates; in snd_ac97_pcm_assign() local
478 rpcm->rates = ~0; in snd_ac97_pcm_assign()
483 rates = ~0; in snd_ac97_pcm_assign()
504 rates = SNDRV_PCM_RATE_48000; in snd_ac97_pcm_assign()
506 rates = get_rates(rpcm, j, tmp, 0); in snd_ac97_pcm_assign()
512 rpcm->rates &= rates; in snd_ac97_pcm_assign()
528 rates = SNDRV_PCM_RATE_96000; in snd_ac97_pcm_assign()
530 rates = get_rates(rpcm, 0, tmp, 1); in snd_ac97_pcm_assign()
531 rpcm->rates |= rates; in snd_ac97_pcm_assign()
534 if (rpcm->rates == ~0) in snd_ac97_pcm_assign()
535 rpcm->rates = 0; /* not used */ in snd_ac97_pcm_assign()
717 * Installs the hardware constraint rules to prevent using double rates and