Lines Matching defs:streams
163 } streams[2];
414 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data;
415 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream);
423 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data;
424 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream);
445 chip->streams[CMI_SB_STREAM].ops = *ops;
446 chip->streams[CMI_SB_STREAM].open = ops->open;
447 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM];
448 chip->streams[CMI_SB_STREAM].private_data = chip->sb;
452 chip->streams[CMI_AD_STREAM].ops = *ops;
453 chip->streams[CMI_AD_STREAM].open = ops->open;
454 chip->streams[CMI_AD_STREAM].ops.open = cmi_open_callbacks[CMI_AD_STREAM];
455 chip->streams[CMI_AD_STREAM].private_data = chip->wss;
457 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK].ops);
458 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &chip->streams[SNDRV_PCM_STREAM_CAPTURE].ops);