Lines Matching refs:direction
36 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK)
188 hda_dsp_stream_get(struct snd_sof_dev *sdev, int direction, u32 flags)
201 if (s->direction == direction && !s->opened) {
220 direction == SNDRV_PCM_STREAM_PLAYBACK ?
244 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag)
268 if (s->direction == direction && s->stream_tag == stream_tag) {
672 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK) {
743 hda_dsp_compr_bytes_transferred(struct hdac_stream *hstream, int direction)
749 pos = hda_dsp_stream_get_position(hstream, direction, false);
799 hda_dsp_compr_bytes_transferred(s, s->cstream->direction);
942 hstream->direction = SNDRV_PCM_STREAM_CAPTURE;
945 hstream->direction = SNDRV_PCM_STREAM_PLAYBACK;
1008 int direction, bool can_sleep)
1035 if (direction == SNDRV_PCM_STREAM_PLAYBACK) {