Lines Matching defs:dir

296 					  struct snd_soc_dapm_widget_list *list, int dir)
311 if (dir == SNDRV_PCM_STREAM_PLAYBACK) {
445 struct snd_pcm_hw_params *pipeline_params, int dir,
466 pipeline_params, dir);
482 platform_params, pipeline_params, dir,
505 int dir, struct snd_sof_pcm *spcm)
507 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list;
529 err = sof_free_widgets_in_path(sdev, p->sink, dir, spcm);
545 int dir, struct snd_sof_pcm *spcm)
547 struct snd_sof_pcm_stream_pipeline_list *pipeline_list = &spcm->stream[dir].pipeline_list;
548 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list;
593 ret = sof_set_up_widgets_in_path(sdev, p->sink, dir, spcm);
609 struct snd_sof_platform_stream_params *platform_params, int dir,
612 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list;
626 if (dir == SNDRV_PCM_STREAM_PLAYBACK && widget->id != snd_soc_dapm_aif_in)
630 if (dir == SNDRV_PCM_STREAM_CAPTURE && widget->id != snd_soc_dapm_dai_out)
635 ret = sof_set_up_widgets_in_path(sdev, widget, dir, spcm);
639 ret = sof_free_widgets_in_path(sdev, widget, dir, spcm);
656 &pipeline_params, dir, list);
678 int dir)
681 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list;
694 dir, SOF_WIDGET_PREPARE);
700 dir, SOF_WIDGET_SETUP);
703 dir, SOF_WIDGET_UNPREPARE);
711 ret = sof_setup_pipeline_connections(sdev, list, dir);
755 sof_walk_widgets_in_order(sdev, spcm, fe_params, platform_params, dir,
757 sof_walk_widgets_in_order(sdev, spcm, NULL, NULL, dir, SOF_WIDGET_UNPREPARE);
762 int sof_widget_list_free(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm, int dir)
764 struct snd_sof_pcm_stream_pipeline_list *pipeline_list = &spcm->stream[dir].pipeline_list;
765 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list;
773 ret = sof_walk_widgets_in_order(sdev, spcm, NULL, NULL, dir, SOF_WIDGET_FREE);
776 sof_walk_widgets_in_order(sdev, spcm, NULL, NULL, dir, SOF_WIDGET_UNPREPARE);
779 spcm->stream[dir].list = NULL;
795 int dir;
798 for_each_pcm_streams(dir) {
799 substream = spcm->stream[dir].substream;
808 if (!spcm->stream[dir].d0i3_compatible)
833 struct snd_sof_pcm *spcm, int dir, bool free_widget_list)
860 ret = sof_widget_list_free(sdev, spcm, dir);
903 int dir;
906 for_each_pcm_streams(dir) {
907 if (spcm->stream[dir].comp_id == comp_id) {
908 *direction = dir;
934 const char *pcm_name, int dir)
940 if (dir == SNDRV_PCM_STREAM_PLAYBACK)