Lines Matching refs:pstr
2306 struct hda_pcm_stream *pstr;
2317 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK];
2318 pstr->substreams = 1;
2319 pstr->ops = generic_ops;
2322 pstr->channels_min = per_cvt->channels_min;
2323 pstr->channels_max = per_cvt->channels_max;
2328 /* other pstr fields are set in open */
3216 struct hda_pcm_stream *pstr;
3228 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK];
3229 *pstr = spec->pcm_playback;
3230 pstr->nid = per_cvt->cvt_nid;
3231 if (pstr->channels_max <= 2 && chans && chans <= 16)
3232 pstr->channels_max = chans;