Lines Matching defs:rate
107 static u32 snd_ymfpci_calc_delta(u32 rate)
109 switch (rate) {
116 default: return ((rate << 16) / 375) << 5;
124 static u32 snd_ymfpci_calc_lpfK(u32 rate)
132 if (rate == 44100)
135 if (rate <= def_rate[i])
140 static u32 snd_ymfpci_calc_lpfQ(u32 rate)
148 if (rate == 44100)
151 if (rate <= def_rate[i])
485 u32 delta = snd_ymfpci_calc_delta(runtime->rate);
486 u32 lpfQ = snd_ymfpci_calc_lpfQ(runtime->rate);
487 u32 lpfK = snd_ymfpci_calc_lpfK(runtime->rate);
517 runtime->rate == 44100 && runtime->channels == 2 &&
696 u32 rate, format;
703 rate = ((48000 * 4096) / runtime->rate) - 1;
716 snd_ymfpci_writel(chip, YDSXGR_RECSLOTSR, rate);
720 snd_ymfpci_writel(chip, YDSXGR_ADCSLOTSR, rate);