Lines Matching refs:usx2y_substream
943 static void usx2y_audio_stream_free(struct snd_usx2y_substream **usx2y_substream)
948 kfree(usx2y_substream[stream]);
949 usx2y_substream[stream] = NULL;
965 struct snd_usx2y_substream **usx2y_substream =
970 usx2y_substream[i] = kzalloc(sizeof(struct snd_usx2y_substream), GFP_KERNEL);
971 if (!usx2y_substream[i])
974 usx2y_substream[i]->usx2y = usx2y(card);
978 usx2y_substream[SNDRV_PCM_STREAM_PLAYBACK]->endpoint = playback_endpoint;
979 usx2y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint;
985 usx2y_audio_stream_free(usx2y_substream);
993 pcm->private_data = usx2y_substream;