Searched refs:usx2y_substream (Results 1 – 1 of 1) sorted by relevance
954 static void usx2y_audio_stream_free(struct snd_usx2y_substream **usx2y_substream) in usx2y_audio_stream_free() argument959 kfree(usx2y_substream[stream]); in usx2y_audio_stream_free()960 usx2y_substream[stream] = NULL; in usx2y_audio_stream_free()976 struct snd_usx2y_substream **usx2y_substream = in usx2y_audio_stream_new() local981 usx2y_substream[i] = kzalloc(sizeof(struct snd_usx2y_substream), GFP_KERNEL); in usx2y_audio_stream_new()982 if (!usx2y_substream[i]) in usx2y_audio_stream_new()985 usx2y_substream[i]->usx2y = usx2y(card); in usx2y_audio_stream_new()989 usx2y_substream[SNDRV_PCM_STREAM_PLAYBACK]->endpoint = playback_endpoint; in usx2y_audio_stream_new()990 usx2y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint; in usx2y_audio_stream_new()996 usx2y_audio_stream_free(usx2y_substream); in usx2y_audio_stream_new()[all …]