Lines Matching refs:direction
158 hda_dsp_stream_get(struct snd_sof_dev *sdev, int direction)
169 if (s->direction == direction && !s->opened) {
188 direction == SNDRV_PCM_STREAM_PLAYBACK ?
197 if (stream && direction == SNDRV_PCM_STREAM_CAPTURE)
206 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag)
223 if (s->direction == direction && s->stream_tag == stream_tag) {
226 } else if (s->direction == SNDRV_PCM_STREAM_CAPTURE) {
588 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK) {
840 hstream->direction = SNDRV_PCM_STREAM_CAPTURE;
896 hstream->direction = SNDRV_PCM_STREAM_PLAYBACK;