Lines Matching refs:usx2y_substream
909 static void usx2y_audio_stream_free(struct snd_usx2y_substream **usx2y_substream)
914 kfree(usx2y_substream[stream]);
915 usx2y_substream[stream] = NULL;
930 struct snd_usx2y_substream **usx2y_substream =
935 usx2y_substream[i] = kzalloc(sizeof(struct snd_usx2y_substream), GFP_KERNEL);
936 if (!usx2y_substream[i])
939 usx2y_substream[i]->usx2y = usx2y(card);
943 usx2y_substream[SNDRV_PCM_STREAM_PLAYBACK]->endpoint = playback_endpoint;
944 usx2y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint;
950 usx2y_audio_stream_free(usx2y_substream);
958 pcm->private_data = usx2y_substream;