Lines Matching defs:streams
164 } streams[2];
413 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data;
414 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream);
422 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data;
423 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream);
443 chip->streams[CMI_SB_STREAM].ops = *ops;
444 chip->streams[CMI_SB_STREAM].open = ops->open;
445 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM];
446 chip->streams[CMI_SB_STREAM].private_data = chip->sb;
450 chip->streams[CMI_AD_STREAM].ops = *ops;
451 chip->streams[CMI_AD_STREAM].open = ops->open;
452 chip->streams[CMI_AD_STREAM].ops.open = cmi_open_callbacks[CMI_AD_STREAM];
453 chip->streams[CMI_AD_STREAM].private_data = chip->wss;
455 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK].ops);
456 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &chip->streams[SNDRV_PCM_STREAM_CAPTURE].ops);