Lines Matching refs:rate
198 static int set_sample_rate(struct echoaudio *chip, u32 rate)
207 "Cannot set sample rate - clock not set to CLK_CLOCKININTERNAL\n");
208 /* Save the rate anyhow */
209 chip->comm_page->sample_rate = cpu_to_le32(rate);
210 chip->sample_rate = rate;
215 if (rate >= 88200) {
250 switch (rate) {
284 "set_sample_rate: %d invalid!\n", rate);
290 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP */
291 chip->sample_rate = rate;
293 "set_sample_rate: %d clock %d\n", rate, clock);