Lines Matching defs:rate
112 static u32 snd_ymfpci_calc_delta(u32 rate)
114 switch (rate) {
121 default: return ((rate << 16) / 375) << 5;
129 static u32 snd_ymfpci_calc_lpfK(u32 rate)
137 if (rate == 44100)
140 if (rate <= def_rate[i])
145 static u32 snd_ymfpci_calc_lpfQ(u32 rate)
153 if (rate == 44100)
156 if (rate <= def_rate[i])
490 u32 delta = snd_ymfpci_calc_delta(runtime->rate);
491 u32 lpfQ = snd_ymfpci_calc_lpfQ(runtime->rate);
492 u32 lpfK = snd_ymfpci_calc_lpfK(runtime->rate);
522 runtime->rate == 44100 && runtime->channels == 2 &&
701 u32 rate, format;
708 rate = ((48000 * 4096) / runtime->rate) - 1;
721 snd_ymfpci_writel(chip, YDSXGR_RECSLOTSR, rate);
725 snd_ymfpci_writel(chip, YDSXGR_ADCSLOTSR, rate);