Home
last modified time | relevance | path

Searched refs:snd_dma_alloc_pages (Results 1 - 25 of 83) sorted by relevance

1234

/kernel/linux/linux-5.10/sound/core/
H A Dmemalloc.c114 * snd_dma_alloc_pages - allocate the buffer area according to the given type
126 int snd_dma_alloc_pages(int type, struct device *device, size_t size, in snd_dma_alloc_pages() function
184 EXPORT_SYMBOL(snd_dma_alloc_pages); variable
206 while ((err = snd_dma_alloc_pages(type, device, size, dmab)) < 0) { in snd_dma_alloc_pages_fallback()
225 * Releases the allocated buffer via snd_dma_alloc_pages().
/kernel/linux/linux-6.6/include/sound/
H A Dmemalloc.h81 static inline int snd_dma_alloc_pages(int type, struct device *dev, in snd_dma_alloc_pages() function
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_controller.c644 err = snd_dma_alloc_pages(dma_type, bus->dev, in snd_hdac_bus_alloc_stream_pages()
654 err = snd_dma_alloc_pages(dma_type, bus->dev, in snd_hdac_bus_alloc_stream_pages()
662 return snd_dma_alloc_pages(dma_type, bus->dev, PAGE_SIZE, &bus->rb); in snd_hdac_bus_alloc_stream_pages()
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_controller.c611 err = snd_dma_alloc_pages(dma_type, bus->dev, in snd_hdac_bus_alloc_stream_pages()
621 err = snd_dma_alloc_pages(dma_type, bus->dev, in snd_hdac_bus_alloc_stream_pages()
629 return snd_dma_alloc_pages(dma_type, bus->dev, PAGE_SIZE, &bus->rb); in snd_hdac_bus_alloc_stream_pages()
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dtrace.c235 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, sdev->dev, in snd_sof_init_trace()
244 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, sdev->dev, in snd_sof_init_trace()
/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Dcldma.c279 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, bus->dev, buffer_size, &cl->dmab_data); in hda_cldma_init()
283 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, bus->dev, BDL_SIZE, &cl->dmab_bdl); in hda_cldma_init()
/kernel/linux/linux-6.6/sound/soc/google/
H A Dchv3-i2s.c175 res = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, i2s->dev, in chv3_dma_pcm_construct()
183 res = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, i2s->dev, in chv3_dma_pcm_construct()
/kernel/linux/linux-5.10/include/sound/
H A Dmemalloc.h140 int snd_dma_alloc_pages(int type, struct device *dev, size_t size,
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A Dhda-stream.c782 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
792 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
843 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
899 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dmpc5200_dma.c317 rc = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, pcm->card->dev, in psc_dma_new()
324 rc = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, pcm->card->dev, in psc_dma_new()
H A Dfsl_dma.c274 * snd_dma_alloc_pages() is just a front-end to dma_alloc_coherent(), which
298 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, card->dev, in fsl_dma_new()
308 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, card->dev, in fsl_dma_new()
/kernel/linux/linux-5.10/sound/soc/sprd/
H A Dsprd-pcm-dma.c465 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, card->dev, in sprd_pcm_new()
477 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, card->dev, in sprd_pcm_new()
H A Dsprd-pcm-compress.c342 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_IRAM, dev, in sprd_platform_compr_open()
362 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, dev, in sprd_platform_compr_open()
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-sst-cldma.c346 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, ctx->dev, ctx->cl_dev.bufsize, in skl_cldma_prepare()
354 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, ctx->dev, BDL_SIZE, &ctx->cl_dev.dmab_bdl); in skl_cldma_prepare()
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-loader-skl.c277 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, sdev->dev, bufsize, dmab); in cl_stream_prepare_skl()
283 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, sdev->dev, bufsize, dmab_bdl); in cl_stream_prepare_skl()
H A Dhda-stream.c853 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
865 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
924 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in hda_dsp_stream_init()
/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dctvmem.c185 err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, in ct_vm_create()
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Demu10k1.c127 err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in snd_card_emu10k1_probe()
/kernel/linux/linux-6.6/sound/pci/ctxfi/
H A Dctvmem.c185 err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, in ct_vm_create()
/kernel/linux/linux-6.6/sound/soc/sprd/
H A Dsprd-pcm-compress.c342 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_IRAM, dev, in sprd_platform_compr_open()
362 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, dev, in sprd_platform_compr_open()
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
H A Dq6asm-dai.c652 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, dev, size, in q6asm_dai_compr_open()
1204 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, dev, size, in q6asm_dai_pcm_new()
1214 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, dev, size, in q6asm_dai_pcm_new()
/kernel/linux/linux-5.10/sound/parisc/
H A Dharmony.c627 err = snd_dma_alloc_pages(h->dma.type, in snd_harmony_pcm_init()
637 err = snd_dma_alloc_pages(h->dma.type, in snd_harmony_pcm_init()
/kernel/linux/linux-5.10/sound/soc/qcom/
H A Dlpass-platform.c796 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, in lpass_platform_pcm_new()
807 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, in lpass_platform_pcm_new()
/kernel/linux/linux-6.6/sound/parisc/
H A Dharmony.c613 err = snd_dma_alloc_pages(h->dma.type, in snd_harmony_pcm_init()
623 err = snd_dma_alloc_pages(h->dma.type, in snd_harmony_pcm_init()
/kernel/linux/linux-5.10/sound/pci/korg1212/
H A Dkorg1212.c2281 if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in snd_korg1212_create()
2296 if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in snd_korg1212_create()
2308 if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in snd_korg1212_create()
2343 if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, in snd_korg1212_create()

Completed in 23 milliseconds

1234