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