Lines Matching refs:usX2Y_substream
909 static void usX2Y_audio_stream_free(struct snd_usX2Y_substream **usX2Y_substream) in usX2Y_audio_stream_free() argument
914 kfree(usX2Y_substream[stream]); in usX2Y_audio_stream_free()
915 usX2Y_substream[stream] = NULL; in usX2Y_audio_stream_free()
930 struct snd_usX2Y_substream **usX2Y_substream = in usX2Y_audio_stream_new() local
935 usX2Y_substream[i] = kzalloc(sizeof(struct snd_usX2Y_substream), GFP_KERNEL); in usX2Y_audio_stream_new()
936 if (!usX2Y_substream[i]) in usX2Y_audio_stream_new()
939 usX2Y_substream[i]->usX2Y = usX2Y(card); in usX2Y_audio_stream_new()
943 usX2Y_substream[SNDRV_PCM_STREAM_PLAYBACK]->endpoint = playback_endpoint; in usX2Y_audio_stream_new()
944 usX2Y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint; in usX2Y_audio_stream_new()
950 usX2Y_audio_stream_free(usX2Y_substream); in usX2Y_audio_stream_new()
958 pcm->private_data = usX2Y_substream; in usX2Y_audio_stream_new()