Lines Matching refs:rate
157 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() argument
161 if (snd_BUG_ON(rate >= 50000 && in set_sample_rate()
170 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
171 chip->sample_rate = rate; in set_sample_rate()
181 switch (rate) { in set_sample_rate()
217 if (rate > 50000) { in set_sample_rate()
218 base_rate = rate >> 1; in set_sample_rate()
221 base_rate = rate; in set_sample_rate()
239 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP ? */ in set_sample_rate()
240 chip->sample_rate = rate; in set_sample_rate()
242 "set_sample_rate: %d clock %d\n", rate, control_reg); in set_sample_rate()