Lines Matching defs:substream
298 static int setup_msp_config(struct snd_pcm_substream *substream,
304 struct snd_pcm_runtime *runtime = substream->runtime;
315 msp_config->direction = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ?
380 static int ux500_msp_dai_startup(struct snd_pcm_substream *substream,
387 snd_pcm_stream_str(substream));
421 static void ux500_msp_dai_shutdown(struct snd_pcm_substream *substream,
426 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
429 snd_pcm_stream_str(substream));
441 __func__, dai->id, snd_pcm_stream_str(substream));
456 static int ux500_msp_dai_prepare(struct snd_pcm_substream *substream,
461 struct snd_pcm_runtime *runtime = substream->runtime;
465 dai->id, snd_pcm_stream_str(substream), runtime->rate);
467 setup_msp_config(substream, dai, &msp_config);
494 static int ux500_msp_dai_hw_params(struct snd_pcm_substream *substream,
499 struct snd_pcm_runtime *runtime = substream->runtime;
503 __func__, dai->id, snd_pcm_stream_str(substream));
514 mask = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ?
640 static int ux500_msp_dai_trigger(struct snd_pcm_substream *substream,
647 __func__, dai->id, snd_pcm_stream_str(substream),
650 ret = ux500_msp_i2s_trigger(drvdata->msp, cmd, substream->stream);