Lines Matching defs:stream
155 static int keep_resources(struct snd_dice *dice, struct amdtp_stream *stream,
177 err = amdtp_am824_set_parameters(stream, rate, pcm_chs, midi_ports,
186 amdtp_am824_set_pcm_position(stream, i, i * 2);
187 amdtp_am824_set_pcm_position(stream, i + pcm_chs,
193 amdtp_stream_get_max_payload(stream),
211 struct amdtp_stream *stream;
218 stream = &dice->tx_stream[i];
226 stream = &dice->rx_stream[i];
247 err = keep_resources(dice, stream, resources, rate, pcm_chs,
292 // return invalid stream formats. Selecting clock parameters
334 struct amdtp_stream *stream;
339 stream = dice->tx_stream + i;
342 stream = dice->rx_stream + i;
368 err = amdtp_domain_add_stream(&dice->domain, stream,
491 struct amdtp_stream *stream;
496 stream = &dice->tx_stream[index];
499 stream = &dice->rx_stream[index];
508 err = amdtp_am824_init(stream, dice->unit, dir, CIP_BLOCKING);
510 amdtp_stream_destroy(stream);
525 struct amdtp_stream *stream;
529 stream = &dice->tx_stream[index];
532 stream = &dice->rx_stream[index];
536 amdtp_stream_destroy(stream);
624 * Available stream format is restricted at current mode of sampling
637 * invalid stream formats. Selecting clock parameters have an effect