Searched refs:dmab_bdl (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-loader-skl.c | 232 struct snd_dma_buffer *dmab_bdl, in cl_skl_cldma_setup_controller() argument 243 HDA_CL_SD_BDLPLBA(dmab_bdl->addr)); in cl_skl_cldma_setup_controller() 246 HDA_CL_SD_BDLPUBA(dmab_bdl->addr)); in cl_skl_cldma_setup_controller() 269 struct snd_dma_buffer *dmab_bdl) in cl_stream_prepare_skl() argument 283 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, sdev->dev, bufsize, dmab_bdl); in cl_stream_prepare_skl() 290 bdl = (__le32 *)dmab_bdl->area; in cl_stream_prepare_skl() 292 cl_skl_cldma_setup_controller(sdev, dmab_bdl, bufsize, frags); in cl_stream_prepare_skl() 299 struct snd_dma_buffer *dmab_bdl) in cl_cleanup_skl() argument 304 snd_dma_free_pages(dmab_bdl); in cl_cleanup_skl() 309 struct snd_dma_buffer *dmab_bdl) in cl_dsp_init_skl() argument [all …]
|
H A D | hda-loader.c | 324 struct snd_dma_buffer dmab_bdl; in hda_dsp_cl_boot_firmware_iccmax() local 337 &dmab_bdl, SNDRV_PCM_STREAM_CAPTURE); in hda_dsp_cl_boot_firmware_iccmax() 349 ret1 = hda_cl_cleanup(sdev, &dmab_bdl, iccmax_stream); in hda_dsp_cl_boot_firmware_iccmax()
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-sst-cldma.c | 113 struct snd_dma_buffer *dmab_bdl, unsigned int max_size, in skl_cldma_setup_controller() argument 118 CL_SD_BDLPLBA(dmab_bdl->addr)); in skl_cldma_setup_controller() 120 CL_SD_BDLPUBA(dmab_bdl->addr)); in skl_cldma_setup_controller() 162 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl); in skl_cldma_cleanup() 354 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, ctx->dev, BDL_SIZE, &ctx->cl_dev.dmab_bdl); in skl_cldma_prepare() 360 bdl = (__le32 *)ctx->cl_dev.dmab_bdl.area; in skl_cldma_prepare() 365 ctx->cl_dev.ops.cl_setup_controller(ctx, &ctx->cl_dev.dmab_bdl, in skl_cldma_prepare()
|
H A D | skl-sst-cldma.h | 200 struct snd_dma_buffer *dmab_bdl, 229 struct snd_dma_buffer dmab_bdl; member
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | cldma.c | 42 struct snd_dma_buffer dmab_bdl; member 208 __le32 *bdl = (__le32 *)cl->dmab_bdl.area; in cldma_setup_bdle() 236 dma_addr_t bdl_addr = cl->dmab_bdl.addr; in hda_cldma_setup() 283 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, bus->dev, BDL_SIZE, &cl->dmab_bdl); in hda_cldma_init() 302 snd_dma_free_pages(&cl->dmab_bdl); in hda_cldma_init() 315 snd_dma_free_pages(&cl->dmab_bdl); in hda_cldma_free()
|