Home
last modified time | relevance | path

Searched refs:pcmtst (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/sound/drivers/
Dpcmtest.c93 struct pcmtst { struct
451 static int snd_pcmtst_free(struct pcmtst *pcmtst) in snd_pcmtst_free() argument
453 if (!pcmtst) in snd_pcmtst_free()
455 kfree(pcmtst); in snd_pcmtst_free()
548 static int snd_pcmtst_new_pcm(struct pcmtst *pcmtst) in snd_pcmtst_new_pcm() argument
553 err = snd_pcm_new(pcmtst->card, "PCMTest", 0, PLAYBACK_SUBSTREAM_CNT, in snd_pcmtst_new_pcm()
557 pcm->private_data = pcmtst; in snd_pcmtst_new_pcm()
559 pcmtst->pcm = pcm; in snd_pcmtst_new_pcm()
563 err = snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, &pcmtst->pdev->dev, in snd_pcmtst_new_pcm()
569 struct pcmtst **r_pcmtst) in snd_pcmtst_create()
[all …]