Lines Matching refs:stream

130 		info->msg_drop_count[substream->stream]++;
145 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
198 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
217 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
240 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
274 info->msg_drop_count[substream->stream] = 0;
277 info->stream_timer[substream->stream].info = info;
278 info->stream_timer[substream->stream].substream = substream;
279 timer_setup(&info->stream_timer[substream->stream].timer,
294 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
304 del_timer(&info->stream_timer[substream->stream].timer);
308 if (info->msg_drop_count[substream->stream])
310 info->msg_drop_count[substream->stream]);
356 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
370 info->num_period[substream->stream] = msg->s_msg.param.buffer_size /
373 info->callback[substream->stream] = imx_rpmsg_pcm_dma_complete;
374 info->callback_param[substream->stream] = substream;
385 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
402 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
419 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
437 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
455 del_timer(&info->stream_timer[substream->stream].timer);
533 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
556 spin_lock_irqsave(&info->lock[substream->stream], flags);
557 memcpy(&info->notify[substream->stream], msg,
559 info->notify_updated[substream->stream] = true;
560 spin_unlock_irqrestore(&info->lock[substream->stream], flags);
562 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
567 timer = &info->stream_timer[substream->stream].timer;