Lines Matching refs:rate
42 static int set_rate(struct snd_oxfw *oxfw, unsigned int rate) in set_rate() argument
46 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate()
52 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate()
59 unsigned int rate, unsigned int pcm_channels) in set_stream_format() argument
81 if ((formation.rate == rate) && (formation.pcm == pcm_channels)) in set_stream_format()
89 return set_rate(oxfw, rate); in set_stream_format()
116 unsigned int rate, unsigned int pcm_channels) in start_stream() argument
140 if (rate != formation.rate) in start_stream()
158 err = amdtp_am824_set_parameters(stream, rate, pcm_channels, midi_ports, in start_stream()
255 unsigned int rate, unsigned int pcm_channels) in snd_oxfw_stream_start_simplex() argument
298 if (rate == 0) in snd_oxfw_stream_start_simplex()
299 rate = formation.rate; in snd_oxfw_stream_start_simplex()
303 if ((formation.rate != rate) || (formation.pcm != pcm_channels)) { in snd_oxfw_stream_start_simplex()
312 err = set_stream_format(oxfw, stream, rate, pcm_channels); in snd_oxfw_stream_start_simplex()
322 err = start_stream(oxfw, opposite, rate, 0); in snd_oxfw_stream_start_simplex()
333 err = start_stream(oxfw, stream, rate, pcm_channels); in snd_oxfw_stream_start_simplex()
442 formation->rate = oxfw_rate_table[i]; in snd_oxfw_stream_parse_format()
528 if (formation.rate == oxfw_rate_table[i]) in assume_stream_formats()