Home
last modified time | relevance | path

Searched refs:usx2y_substream (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/usx2y/
H A Dusbusx2yaudio.c909 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()
[all...]
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusbusx2yaudio.c943 static void usx2y_audio_stream_free(struct snd_usx2y_substream **usx2y_substream) in usx2y_audio_stream_free() argument
948 kfree(usx2y_substream[stream]); in usx2y_audio_stream_free()
949 usx2y_substream[stream] = NULL; in usx2y_audio_stream_free()
965 struct snd_usx2y_substream **usx2y_substream = in usx2y_audio_stream_new() local
970 usx2y_substream[i] = kzalloc(sizeof(struct snd_usx2y_substream), GFP_KERNEL); in usx2y_audio_stream_new()
971 if (!usx2y_substream[i]) in usx2y_audio_stream_new()
974 usx2y_substream[i]->usx2y = usx2y(card); in usx2y_audio_stream_new()
978 usx2y_substream[SNDRV_PCM_STREAM_PLAYBACK]->endpoint = playback_endpoint; in usx2y_audio_stream_new()
979 usx2y_substream[SNDRV_PCM_STREAM_CAPTURE]->endpoint = capture_endpoint; in usx2y_audio_stream_new()
985 usx2y_audio_stream_free(usx2y_substream); in usx2y_audio_stream_new()
[all...]

Completed in 4 milliseconds