dmab              254 drivers/scsi/lpfc/lpfc_crtn.h void lpfc_sli4_nvmet_free(struct lpfc_hba *phba, struct rqb_dmabuf *dmab);
dmab              582 drivers/scsi/lpfc/lpfc_mem.c lpfc_sli4_rb_free(struct lpfc_hba *phba, struct hbq_dmabuf *dmab)
dmab              584 drivers/scsi/lpfc/lpfc_mem.c 	dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys);
dmab              585 drivers/scsi/lpfc/lpfc_mem.c 	dma_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys);
dmab              586 drivers/scsi/lpfc/lpfc_mem.c 	kfree(dmab);
dmab              642 drivers/scsi/lpfc/lpfc_mem.c lpfc_sli4_nvmet_free(struct lpfc_hba *phba, struct rqb_dmabuf *dmab)
dmab              644 drivers/scsi/lpfc/lpfc_mem.c 	dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys);
dmab              646 drivers/scsi/lpfc/lpfc_mem.c 		      dmab->dbuf.virt, dmab->dbuf.phys);
dmab              647 drivers/scsi/lpfc/lpfc_mem.c 	kfree(dmab);
dmab             1867 include/sound/emu10k1.h 					struct snd_dma_buffer *dmab);
dmab              510 include/sound/hda_codec.h 				    struct snd_dma_buffer *dmab);
dmab              523 include/sound/hda_codec.h 				struct snd_dma_buffer *dmab) {}
dmab              610 include/sound/hdaudio.h 			  struct snd_dma_buffer *dmab);
dmab              629 include/sound/hdaudio.h 					struct snd_dma_buffer *dmab)
dmab               72 include/sound/memalloc.h 			     size_t size, struct snd_dma_buffer *dmab,
dmab               74 include/sound/memalloc.h int snd_free_sgbuf_pages(struct snd_dma_buffer *dmab);
dmab               93 include/sound/memalloc.h static inline dma_addr_t snd_sgbuf_get_addr(struct snd_dma_buffer *dmab,
dmab               96 include/sound/memalloc.h 	struct snd_sg_buf *sgbuf = dmab->private_data;
dmab              105 include/sound/memalloc.h static inline void *snd_sgbuf_get_ptr(struct snd_dma_buffer *dmab,
dmab              108 include/sound/memalloc.h 	struct snd_sg_buf *sgbuf = dmab->private_data;
dmab              112 include/sound/memalloc.h unsigned int snd_sgbuf_get_chunk_size(struct snd_dma_buffer *dmab,
dmab              116 include/sound/memalloc.h static inline dma_addr_t snd_sgbuf_get_addr(struct snd_dma_buffer *dmab,
dmab              119 include/sound/memalloc.h 	return dmab->addr + offset;
dmab              122 include/sound/memalloc.h static inline void *snd_sgbuf_get_ptr(struct snd_dma_buffer *dmab,
dmab              125 include/sound/memalloc.h 	return dmab->area + offset;
dmab              128 include/sound/memalloc.h #define snd_sgbuf_get_chunk_size(dmab, ofs, size)	(size)
dmab              134 include/sound/memalloc.h 			struct snd_dma_buffer *dmab);
dmab              136 include/sound/memalloc.h                                  struct snd_dma_buffer *dmab);
dmab              137 include/sound/memalloc.h void snd_dma_free_pages(struct snd_dma_buffer *dmab);
dmab               26 sound/core/memalloc.c static void snd_malloc_dev_pages(struct snd_dma_buffer *dmab, size_t size)
dmab               34 sound/core/memalloc.c 	dmab->area = dma_alloc_coherent(dmab->dev.dev, size, &dmab->addr,
dmab               37 sound/core/memalloc.c 	if (dmab->area && dmab->dev.type == SNDRV_DMA_TYPE_DEV_UC)
dmab               38 sound/core/memalloc.c 		set_memory_wc((unsigned long)dmab->area,
dmab               44 sound/core/memalloc.c static void snd_free_dev_pages(struct snd_dma_buffer *dmab)
dmab               47 sound/core/memalloc.c 	if (dmab->dev.type == SNDRV_DMA_TYPE_DEV_UC)
dmab               48 sound/core/memalloc.c 		set_memory_wb((unsigned long)dmab->area,
dmab               49 sound/core/memalloc.c 			      PAGE_ALIGN(dmab->bytes) >> PAGE_SHIFT);
dmab               51 sound/core/memalloc.c 	dma_free_coherent(dmab->dev.dev, dmab->bytes, dmab->area, dmab->addr);
dmab               62 sound/core/memalloc.c static void snd_malloc_dev_iram(struct snd_dma_buffer *dmab, size_t size)
dmab               64 sound/core/memalloc.c 	struct device *dev = dmab->dev.dev;
dmab               67 sound/core/memalloc.c 	dmab->area = NULL;
dmab               68 sound/core/memalloc.c 	dmab->addr = 0;
dmab               77 sound/core/memalloc.c 	dmab->private_data = pool;
dmab               79 sound/core/memalloc.c 	dmab->area = gen_pool_dma_alloc(pool, size, &dmab->addr);
dmab               86 sound/core/memalloc.c static void snd_free_dev_iram(struct snd_dma_buffer *dmab)
dmab               88 sound/core/memalloc.c 	struct gen_pool *pool = dmab->private_data;
dmab               90 sound/core/memalloc.c 	if (pool && dmab->area)
dmab               91 sound/core/memalloc.c 		gen_pool_free(pool, (unsigned long)dmab->area, dmab->bytes);
dmab              117 sound/core/memalloc.c 			struct snd_dma_buffer *dmab)
dmab              121 sound/core/memalloc.c 	if (WARN_ON(!dmab))
dmab              126 sound/core/memalloc.c 	dmab->dev.type = type;
dmab              127 sound/core/memalloc.c 	dmab->dev.dev = device;
dmab              128 sound/core/memalloc.c 	dmab->bytes = 0;
dmab              131 sound/core/memalloc.c 		dmab->area = alloc_pages_exact(size,
dmab              133 sound/core/memalloc.c 		dmab->addr = 0;
dmab              138 sound/core/memalloc.c 		snd_malloc_dev_iram(dmab, size);
dmab              139 sound/core/memalloc.c 		if (dmab->area)
dmab              144 sound/core/memalloc.c 		dmab->dev.type = SNDRV_DMA_TYPE_DEV;
dmab              149 sound/core/memalloc.c 		snd_malloc_dev_pages(dmab, size);
dmab              155 sound/core/memalloc.c 		snd_malloc_sgbuf_pages(device, size, dmab, NULL);
dmab              160 sound/core/memalloc.c 		dmab->area = NULL;
dmab              161 sound/core/memalloc.c 		dmab->addr = 0;
dmab              164 sound/core/memalloc.c 	if (! dmab->area)
dmab              166 sound/core/memalloc.c 	dmab->bytes = size;
dmab              187 sound/core/memalloc.c 				 struct snd_dma_buffer *dmab)
dmab              191 sound/core/memalloc.c 	while ((err = snd_dma_alloc_pages(type, device, size, dmab)) < 0) {
dmab              199 sound/core/memalloc.c 	if (! dmab->area)
dmab              212 sound/core/memalloc.c void snd_dma_free_pages(struct snd_dma_buffer *dmab)
dmab              214 sound/core/memalloc.c 	switch (dmab->dev.type) {
dmab              216 sound/core/memalloc.c 		free_pages_exact(dmab->area, dmab->bytes);
dmab              221 sound/core/memalloc.c 		snd_free_dev_iram(dmab);
dmab              226 sound/core/memalloc.c 		snd_free_dev_pages(dmab);
dmab              232 sound/core/memalloc.c 		snd_free_sgbuf_pages(dmab);
dmab              236 sound/core/memalloc.c 		pr_err("snd-malloc: invalid device type %d\n", dmab->dev.type);
dmab               38 sound/core/pcm_memory.c 	struct snd_dma_buffer *dmab = &substream->dma_buffer;
dmab               43 sound/core/pcm_memory.c 		if ((err = snd_dma_alloc_pages(dmab->dev.type, dmab->dev.dev,
dmab               44 sound/core/pcm_memory.c 					       size, dmab)) < 0) {
dmab               51 sound/core/pcm_memory.c 	dmab->bytes = 0; /* tell error */
dmab              290 sound/core/pcm_memory.c 	struct snd_dma_buffer *dmab = NULL;
dmab              311 sound/core/pcm_memory.c 		dmab = &substream->dma_buffer; /* use the pre-allocated buffer */
dmab              313 sound/core/pcm_memory.c 		dmab = kzalloc(sizeof(*dmab), GFP_KERNEL);
dmab              314 sound/core/pcm_memory.c 		if (! dmab)
dmab              316 sound/core/pcm_memory.c 		dmab->dev = substream->dma_buffer.dev;
dmab              319 sound/core/pcm_memory.c 					size, dmab) < 0) {
dmab              320 sound/core/pcm_memory.c 			kfree(dmab);
dmab              324 sound/core/pcm_memory.c 	snd_pcm_set_runtime_buffer(substream, dmab);
dmab               20 sound/core/sgbuf.c int snd_free_sgbuf_pages(struct snd_dma_buffer *dmab)
dmab               22 sound/core/sgbuf.c 	struct snd_sg_buf *sgbuf = dmab->private_data;
dmab               29 sound/core/sgbuf.c 	vunmap(dmab->area);
dmab               30 sound/core/sgbuf.c 	dmab->area = NULL;
dmab               33 sound/core/sgbuf.c 	if (dmab->dev.type == SNDRV_DMA_TYPE_DEV_UC_SG)
dmab               48 sound/core/sgbuf.c 	dmab->private_data = NULL;
dmab               56 sound/core/sgbuf.c 			     size_t size, struct snd_dma_buffer *dmab,
dmab               67 sound/core/sgbuf.c 	dmab->area = NULL;
dmab               68 sound/core/sgbuf.c 	dmab->addr = 0;
dmab               69 sound/core/sgbuf.c 	dmab->private_data = sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL);
dmab               72 sound/core/sgbuf.c 	if (dmab->dev.type == SNDRV_DMA_TYPE_DEV_UC_SG) {
dmab              125 sound/core/sgbuf.c 	dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, prot);
dmab              126 sound/core/sgbuf.c 	if (! dmab->area)
dmab              130 sound/core/sgbuf.c 	return dmab->area;
dmab              133 sound/core/sgbuf.c 	snd_free_sgbuf_pages(dmab); /* free the table */
dmab              140 sound/core/sgbuf.c unsigned int snd_sgbuf_get_chunk_size(struct snd_dma_buffer *dmab,
dmab              143 sound/core/sgbuf.c 	struct snd_sg_buf *sg = dmab->private_data;
dmab              360 sound/hda/hdac_stream.c 		      struct snd_dma_buffer *dmab,
dmab              373 sound/hda/hdac_stream.c 		addr = snd_sgbuf_get_addr(dmab, ofs);
dmab              378 sound/hda/hdac_stream.c 		chunk = snd_sgbuf_get_chunk_size(dmab, ofs, size);
dmab              740 sound/hda/hdac_stream.c 			  struct snd_dma_buffer *dmab)
dmab              744 sound/hda/hdac_stream.c 	if (!dmab->area || !azx_dev->locked)
dmab              756 sound/hda/hdac_stream.c 	snd_dma_free_pages(dmab);
dmab              757 sound/hda/hdac_stream.c 	dmab->area = NULL;
dmab              375 sound/pci/emu10k1/memory.c 					struct snd_dma_buffer *dmab)
dmab              390 sound/pci/emu10k1/memory.c 				   snd_dma_pci_data(emu->pci), size, dmab);
dmab              476 sound/pci/emu10k1/memory.c 	struct snd_dma_buffer dmab;
dmab              479 sound/pci/emu10k1/memory.c 	dmab.dev.type = SNDRV_DMA_TYPE_DEV;
dmab              480 sound/pci/emu10k1/memory.c 	dmab.dev.dev = snd_dma_pci_data(emu->pci);
dmab              485 sound/pci/emu10k1/memory.c 		dmab.area = emu->page_ptr_table[page];
dmab              486 sound/pci/emu10k1/memory.c 		dmab.addr = emu->page_addr_table[page];
dmab              492 sound/pci/emu10k1/memory.c 		dmab.bytes = PAGE_SIZE;
dmab              494 sound/pci/emu10k1/memory.c 			dmab.bytes *= 2;
dmab              496 sound/pci/emu10k1/memory.c 		snd_dma_free_pages(&dmab);
dmab              508 sound/pci/emu10k1/memory.c 	struct snd_dma_buffer dmab;
dmab              515 sound/pci/emu10k1/memory.c 							&dmab) < 0)
dmab              517 sound/pci/emu10k1/memory.c 		if (!is_valid_page(emu, dmab.addr)) {
dmab              518 sound/pci/emu10k1/memory.c 			snd_dma_free_pages(&dmab);
dmab              521 sound/pci/emu10k1/memory.c 		emu->page_addr_table[page] = dmab.addr;
dmab              522 sound/pci/emu10k1/memory.c 		emu->page_ptr_table[page] = dmab.area;
dmab             1067 sound/pci/hda/hda_controller.c 				    struct snd_dma_buffer *dmab)
dmab             1074 sound/pci/hda/hda_controller.c 	if (!dmab->area || !hstr->locked)
dmab             1077 sound/pci/hda/hda_controller.c 	snd_hdac_dsp_cleanup(hstr, dmab);
dmab             2597 sound/pci/hda/patch_ca0132.c 	struct snd_dma_buffer *dmab;
dmab             2632 sound/pci/hda/patch_ca0132.c 	if (dma->dmab->area)
dmab             2633 sound/pci/hda/patch_ca0132.c 		snd_hda_codec_load_dsp_cleanup(codec, dma->dmab);
dmab             2638 sound/pci/hda/patch_ca0132.c 			dma->dmab);
dmab             2666 sound/pci/hda/patch_ca0132.c 	return dma->dmab->bytes;
dmab             2671 sound/pci/hda/patch_ca0132.c 	return dma->dmab->area;
dmab             2678 sound/pci/hda/patch_ca0132.c 	memcpy(dma->dmab->area, data, count);
dmab             3003 sound/pci/hda/patch_ca0132.c 	dma_engine->dmab = kzalloc(sizeof(*dma_engine->dmab), GFP_KERNEL);
dmab             3004 sound/pci/hda/patch_ca0132.c 	if (!dma_engine->dmab) {
dmab             3028 sound/pci/hda/patch_ca0132.c 				dma_engine->dmab);
dmab             3090 sound/pci/hda/patch_ca0132.c 	if (dma_engine->dmab->area)
dmab             3091 sound/pci/hda/patch_ca0132.c 		snd_hda_codec_load_dsp_cleanup(codec, dma_engine->dmab);
dmab             3092 sound/pci/hda/patch_ca0132.c 	kfree(dma_engine->dmab);
dmab              570 sound/pci/rme9652/hdsp.c static int snd_hammerfall_get_buffer(struct pci_dev *pci, struct snd_dma_buffer *dmab, size_t size)
dmab              572 sound/pci/rme9652/hdsp.c 	dmab->dev.type = SNDRV_DMA_TYPE_DEV;
dmab              573 sound/pci/rme9652/hdsp.c 	dmab->dev.dev = snd_dma_pci_data(pci);
dmab              575 sound/pci/rme9652/hdsp.c 				size, dmab) < 0)
dmab              580 sound/pci/rme9652/hdsp.c static void snd_hammerfall_free_buffer(struct snd_dma_buffer *dmab, struct pci_dev *pci)
dmab              582 sound/pci/rme9652/hdsp.c 	if (dmab->area)
dmab              583 sound/pci/rme9652/hdsp.c 		snd_dma_free_pages(dmab);
dmab              280 sound/pci/rme9652/rme9652.c static int snd_hammerfall_get_buffer(struct pci_dev *pci, struct snd_dma_buffer *dmab, size_t size)
dmab              282 sound/pci/rme9652/rme9652.c 	dmab->dev.type = SNDRV_DMA_TYPE_DEV;
dmab              283 sound/pci/rme9652/rme9652.c 	dmab->dev.dev = snd_dma_pci_data(pci);
dmab              285 sound/pci/rme9652/rme9652.c 				size, dmab) < 0)
dmab              290 sound/pci/rme9652/rme9652.c static void snd_hammerfall_free_buffer(struct snd_dma_buffer *dmab, struct pci_dev *pci)
dmab              292 sound/pci/rme9652/rme9652.c 	if (dmab->area)
dmab              293 sound/pci/rme9652/rme9652.c 		snd_dma_free_pages(dmab);
dmab              315 sound/soc/intel/common/sst-dsp-priv.h 	struct snd_dma_buffer dmab;
dmab              134 sound/soc/intel/haswell/sst-haswell-pcm.c 	struct snd_dma_buffer dmab[HSW_PCM_COUNT][2];
dmab              434 sound/soc/intel/haswell/sst-haswell-pcm.c 	struct snd_dma_buffer *dmab = snd_pcm_get_dma_buf(substream);
dmab              444 sound/soc/intel/haswell/sst-haswell-pcm.c 		u32 pfn = snd_sgbuf_get_addr(dmab, i * PAGE_SIZE) >> PAGE_SHIFT;
dmab              449 sound/soc/intel/haswell/sst-haswell-pcm.c 		pg_table = (u32 *)(pdata->dmab[pcm][stream].area + idx);
dmab              472 sound/soc/intel/haswell/sst-haswell-pcm.c 	struct snd_dma_buffer *dmab;
dmab              602 sound/soc/intel/haswell/sst-haswell-pcm.c 	dmab = snd_pcm_get_dma_buf(substream);
dmab              618 sound/soc/intel/haswell/sst-haswell-pcm.c 		pdata->dmab[rtd->cpu_dai->id][substream->stream].addr,
dmab              620 sound/soc/intel/haswell/sst-haswell-pcm.c 		snd_sgbuf_get_addr(dmab, 0) >> PAGE_SHIFT);
dmab             1065 sound/soc/intel/haswell/sst-haswell-pcm.c 				PAGE_SIZE, &priv_data->dmab[i][0]);
dmab             1074 sound/soc/intel/haswell/sst-haswell-pcm.c 				PAGE_SIZE, &priv_data->dmab[i][1]);
dmab             1096 sound/soc/intel/haswell/sst-haswell-pcm.c 			snd_dma_free_pages(&priv_data->dmab[i][0]);
dmab             1098 sound/soc/intel/haswell/sst-haswell-pcm.c 			snd_dma_free_pages(&priv_data->dmab[i][1]);
dmab             1114 sound/soc/intel/haswell/sst-haswell-pcm.c 			snd_dma_free_pages(&priv_data->dmab[i][0]);
dmab             1116 sound/soc/intel/haswell/sst-haswell-pcm.c 			snd_dma_free_pages(&priv_data->dmab[i][1]);
dmab               51 sound/soc/intel/skylake/bxt-sst.c 	struct snd_dma_buffer dmab;
dmab               64 sound/soc/intel/skylake/bxt-sst.c 					stripped_fw.size, &dmab);
dmab               73 sound/soc/intel/skylake/bxt-sst.c 		memcpy(dmab.area, stripped_fw.data, stripped_fw.size);
dmab               82 sound/soc/intel/skylake/bxt-sst.c 		ctx->dsp_ops.cleanup(ctx->dev, &dmab, stream_tag);
dmab              102 sound/soc/intel/skylake/bxt-sst.c 	stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab);
dmab              110 sound/soc/intel/skylake/bxt-sst.c 	memcpy(ctx->dmab.area, fwdata, fwsize);
dmab              164 sound/soc/intel/skylake/bxt-sst.c 	ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag);
dmab              179 sound/soc/intel/skylake/bxt-sst.c 	ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, ctx->dsp_ops.stream_tag);
dmab               51 sound/soc/intel/skylake/cnl-sst.c 	stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab);
dmab               58 sound/soc/intel/skylake/cnl-sst.c 	memcpy(ctx->dmab.area, fwdata, fwsize);
dmab               87 sound/soc/intel/skylake/cnl-sst.c 	ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag);
dmab              103 sound/soc/intel/skylake/cnl-sst.c 	ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, ctx->dsp_ops.stream_tag);
dmab               26 sound/soc/intel/skylake/skl-messages.c 		struct snd_dma_buffer *dmab, size_t size)
dmab               28 sound/soc/intel/skylake/skl-messages.c 	return snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, dev, size, dmab);
dmab               31 sound/soc/intel/skylake/skl-messages.c static int skl_free_dma_buf(struct device *dev, struct snd_dma_buffer *dmab)
dmab               33 sound/soc/intel/skylake/skl-messages.c 	snd_dma_free_pages(dmab);
dmab               72 sound/soc/intel/skylake/skl-messages.c 			unsigned int size, struct snd_dma_buffer *dmab)
dmab               94 sound/soc/intel/skylake/skl-messages.c 	ret = snd_hdac_dsp_prepare(stream, format, size, dmab);
dmab              122 sound/soc/intel/skylake/skl-messages.c 		struct snd_dma_buffer *dmab, int stream_tag)
dmab              140 sound/soc/intel/skylake/skl-messages.c 	snd_hdac_dsp_cleanup(stream, dmab);
dmab              157 sound/soc/intel/skylake/skl-sst-dsp.h 		struct snd_dma_buffer *dmab, size_t size);
dmab              159 sound/soc/intel/skylake/skl-sst-dsp.h 		struct snd_dma_buffer *dmab);
dmab              165 sound/soc/intel/skylake/skl-sst-dsp.h 	int (*cleanup)(struct device *dev, struct snd_dma_buffer *dmab,
dmab              206 sound/soc/sof/core.c 			      struct snd_dma_buffer *dmab,
dmab              214 sound/soc/sof/core.c 		dmab->area, size, pages);
dmab              225 sound/soc/sof/core.c 		u32 pfn = snd_sgbuf_get_addr(dmab, i * PAGE_SIZE) >> PAGE_SHIFT;
dmab               27 sound/soc/sof/intel/hda-loader.c 			     unsigned int size, struct snd_dma_buffer *dmab,
dmab               50 sound/soc/sof/intel/hda-loader.c 	ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, &pci->dev, size, dmab);
dmab               60 sound/soc/sof/intel/hda-loader.c 	ret = hda_dsp_stream_hw_params(sdev, dsp_stream, dmab, NULL);
dmab               72 sound/soc/sof/intel/hda-loader.c 	snd_dma_free_pages(dmab);
dmab              209 sound/soc/sof/intel/hda-loader.c static int cl_cleanup(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
dmab              230 sound/soc/sof/intel/hda-loader.c 	snd_dma_free_pages(dmab);
dmab              231 sound/soc/sof/intel/hda-loader.c 	dmab->area = NULL;
dmab              284 sound/soc/sof/intel/hda-loader.c 				&sdev->dmab, SNDRV_PCM_STREAM_PLAYBACK);
dmab              302 sound/soc/sof/intel/hda-loader.c 	memcpy(sdev->dmab.area, stripped_firmware.data,
dmab              344 sound/soc/sof/intel/hda-loader.c 	ret1 = cl_cleanup(sdev, &sdev->dmab, stream);
dmab               91 sound/soc/sof/intel/hda-pcm.c 	struct snd_dma_buffer *dmab;
dmab              101 sound/soc/sof/intel/hda-pcm.c 	dmab = substream->runtime->dma_buffer_p;
dmab              110 sound/soc/sof/intel/hda-pcm.c 	ret = hda_dsp_stream_hw_params(sdev, stream, dmab, params);
dmab               29 sound/soc/sof/intel/hda-stream.c 			  struct snd_dma_buffer *dmab,
dmab               46 sound/soc/sof/intel/hda-stream.c 		addr = snd_sgbuf_get_addr(dmab, offset);
dmab               51 sound/soc/sof/intel/hda-stream.c 		chunk = snd_sgbuf_get_chunk_size(dmab, offset, size);
dmab               80 sound/soc/sof/intel/hda-stream.c 			     struct snd_dma_buffer *dmab,
dmab              116 sound/soc/sof/intel/hda-stream.c 			offset = hda_setup_bdle(sdev, dmab,
dmab              120 sound/soc/sof/intel/hda-stream.c 			offset = hda_setup_bdle(sdev, dmab,
dmab              322 sound/soc/sof/intel/hda-stream.c 			     struct snd_dma_buffer *dmab,
dmab              343 sound/soc/sof/intel/hda-stream.c 	if (!dmab) {
dmab              431 sound/soc/sof/intel/hda-stream.c 	ret = hda_dsp_stream_setup_bdl(sdev, dmab, hstream);
dmab               27 sound/soc/sof/intel/hda-trace.c 	struct snd_dma_buffer *dmab = &sdev->dmatb;
dmab               33 sound/soc/sof/intel/hda-trace.c 	ret = hda_dsp_stream_hw_params(sdev, stream, dmab, NULL);
dmab              495 sound/soc/sof/intel/hda.h 			     struct snd_dma_buffer *dmab,
dmab              502 sound/soc/sof/intel/hda.h 			     struct snd_dma_buffer *dmab,
dmab               30 sound/soc/sof/pcm.c 	struct snd_dma_buffer *dmab = snd_pcm_get_dma_buf(substream);
dmab               37 sound/soc/sof/pcm.c 	return snd_sof_create_page_table(sdev, dmab,
dmab              413 sound/soc/sof/sof-priv.h 	struct snd_dma_buffer dmab;
dmab              471 sound/soc/sof/sof-priv.h 			      struct snd_dma_buffer *dmab,
dmab              237 sound/soc/stm/stm32_spdifrx.c 	struct snd_dma_buffer *dmab;
dmab              254 sound/soc/stm/stm32_spdifrx.c 	u32 *p_start = (u32 *)spdifrx->dmab->area;
dmab              264 sound/soc/stm/stm32_spdifrx.c 	if (!spdifrx->dmab->area)
dmab              297 sound/soc/stm/stm32_spdifrx.c 						    spdifrx->dmab->addr,
dmab              411 sound/soc/stm/stm32_spdifrx.c 	spdifrx->dmab = devm_kzalloc(dev, sizeof(struct snd_dma_buffer),
dmab              413 sound/soc/stm/stm32_spdifrx.c 	if (!spdifrx->dmab)
dmab              416 sound/soc/stm/stm32_spdifrx.c 	spdifrx->dmab->dev.type = SNDRV_DMA_TYPE_DEV_IRAM;
dmab              417 sound/soc/stm/stm32_spdifrx.c 	spdifrx->dmab->dev.dev = dev;
dmab              418 sound/soc/stm/stm32_spdifrx.c 	ret = snd_dma_alloc_pages(spdifrx->dmab->dev.type, dev,
dmab              419 sound/soc/stm/stm32_spdifrx.c 				  SPDIFRX_CSR_BUF_LENGTH, spdifrx->dmab);
dmab              428 sound/soc/stm/stm32_spdifrx.c 	spdifrx->slave_config.dst_addr = spdifrx->dmab->addr;
dmab             1011 sound/soc/stm/stm32_spdifrx.c 	if (spdifrx->dmab)
dmab             1012 sound/soc/stm/stm32_spdifrx.c 		snd_dma_free_pages(spdifrx->dmab);
dmab             1024 sound/soc/stm/stm32_spdifrx.c 	if (spdifrx->dmab)
dmab             1025 sound/soc/stm/stm32_spdifrx.c 		snd_dma_free_pages(spdifrx->dmab);