Lines Matching defs:streams
163 } streams[2];
385 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data;
386 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream);
394 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data;
395 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream);
415 chip->streams[CMI_SB_STREAM].ops = *ops;
416 chip->streams[CMI_SB_STREAM].open = ops->open;
417 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM];
418 chip->streams[CMI_SB_STREAM].private_data = chip->sb;
422 chip->streams[CMI_AD_STREAM].ops = *ops;
423 chip->streams[CMI_AD_STREAM].open = ops->open;
424 chip->streams[CMI_AD_STREAM].ops.open = cmi_open_callbacks[CMI_AD_STREAM];
425 chip->streams[CMI_AD_STREAM].private_data = chip->wss;
427 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK].ops);
428 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &chip->streams[SNDRV_PCM_STREAM_CAPTURE].ops);