Lines Matching refs:rate
70 unsigned int rate, channels; in limit_channels_and_rates() local
87 rate = amdtp_rate_table[i]; in limit_channels_and_rates()
88 hw->rates |= snd_pcm_rate_to_rate_bit(rate); in limit_channels_and_rates()
89 hw->rate_min = min(hw->rate_min, rate); in limit_channels_and_rates()
90 hw->rate_max = max(hw->rate_max, rate); in limit_channels_and_rates()
132 unsigned int rate; in pcm_open() local
144 err = ff->spec->protocol->get_clock(ff, &rate, &src); in pcm_open()
150 if (amdtp_rate_table[i] == rate) in pcm_open()
162 substream->runtime->hw.rate_min = rate; in pcm_open()
163 substream->runtime->hw.rate_max = rate; in pcm_open()
167 rate = amdtp_rate_table[ff->rx_stream.sfc]; in pcm_open()
168 substream->runtime->hw.rate_min = rate; in pcm_open()
169 substream->runtime->hw.rate_max = rate; in pcm_open()
271 err = snd_ff_stream_start_duplex(ff, runtime->rate); in pcm_capture_prepare()
288 err = snd_ff_stream_start_duplex(ff, runtime->rate); in pcm_playback_prepare()