Lines Matching refs:stream
176 (substream->stream + 1); in azx_assign_device()
178 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in azx_assign_device()
264 return &apcm->info->stream[substream->stream]; in to_hda_pcm_stream()
281 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in azx_adjust_codec_delay()
539 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in azx_pcm_prepare()
705 int stream = substream->stream; in azx_get_position() local
708 if (chip->get_position[stream]) in azx_get_position()
709 pos = chip->get_position[stream](chip, azx_dev); in azx_get_position()
720 if (chip->get_delay[stream]) in azx_get_position()
721 delay += chip->get_delay[stream](chip, azx_dev, pos); in azx_get_position()
872 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in azx_pcm_open()
949 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in azx_attach_pcm_stream()
950 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in azx_attach_pcm_stream()
969 if (cpcm->stream[s].substreams) in azx_attach_pcm_stream()