Lines Matching refs:dir
32 int dir; in hda_codec_create_dais() local
39 dir = SNDRV_PCM_STREAM_PLAYBACK; in hda_codec_create_dais()
41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
48 snd_pcm_direction_name(dir)); in hda_codec_create_dais()
51 stream->channels_min = pcm->stream[dir].channels_min; in hda_codec_create_dais()
52 stream->channels_max = pcm->stream[dir].channels_max; in hda_codec_create_dais()
53 stream->rates = pcm->stream[dir].rates; in hda_codec_create_dais()
54 stream->formats = pcm->stream[dir].formats; in hda_codec_create_dais()
55 stream->sig_bits = pcm->stream[dir].maxbps; in hda_codec_create_dais()
58 dir = SNDRV_PCM_STREAM_CAPTURE; in hda_codec_create_dais()
60 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
67 snd_pcm_direction_name(dir)); in hda_codec_create_dais()
70 stream->channels_min = pcm->stream[dir].channels_min; in hda_codec_create_dais()
71 stream->channels_max = pcm->stream[dir].channels_max; in hda_codec_create_dais()
72 stream->rates = pcm->stream[dir].rates; in hda_codec_create_dais()
73 stream->formats = pcm->stream[dir].formats; in hda_codec_create_dais()
74 stream->sig_bits = pcm->stream[dir].maxbps; in hda_codec_create_dais()