/sound/pci/trident/ |
D | trident_memory.c | 165 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages() 166 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_sg_pages() 176 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_sg_pages() 211 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages() 212 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_cont_pages() 220 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_cont_pages()
|
/sound/soc/uniphier/ |
D | aio-dma.c | 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 41 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in aiodma_pcm_irq() 125 runtime->dma_addr + runtime->dma_bytes, in uniphier_aiodma_prepare() 149 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, in uniphier_aiodma_trigger() 183 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in uniphier_aiodma_pointer()
|
/sound/soc/codecs/ |
D | rt5677-spi.c | 219 if (begin > end || runtime->dma_bytes < 2 * bytes_per_frame) { in rt5677_spi_copy_block() 222 begin, end, runtime->dma_bytes); in rt5677_spi_copy_block() 233 if (end - begin > runtime->dma_bytes - bytes_per_frame) in rt5677_spi_copy_block() 234 begin = end - (runtime->dma_bytes - bytes_per_frame); in rt5677_spi_copy_block() 239 if (rt5677_dsp->dma_offset + first_chunk_len > runtime->dma_bytes) { in rt5677_spi_copy_block() 242 first_chunk_len = runtime->dma_bytes - rt5677_dsp->dma_offset; in rt5677_spi_copy_block() 253 if (rt5677_dsp->dma_offset == runtime->dma_bytes) in rt5677_spi_copy_block()
|
/sound/soc/mediatek/common/ |
D | mtk-afe-fe-dai.c | 140 substream->runtime->dma_bytes); in mtk_afe_fe_hw_params() 143 substream->runtime->dma_bytes); in mtk_afe_fe_hw_params() 149 substream->runtime->dma_bytes); in mtk_afe_fe_hw_params() 404 size_t dma_bytes) in mtk_memif_set_addr() argument 413 memif->dma_bytes = dma_bytes; in mtk_memif_set_addr() 422 phys_buf_addr + dma_bytes - 1); in mtk_memif_set_addr() 427 phys_buf_addr + dma_bytes - 1); in mtk_memif_set_addr()
|
D | mtk-afe-fe-dai.h | 42 size_t dma_bytes);
|
D | mtk-base-afe.h | 130 size_t dma_bytes; member
|
/sound/soc/sof/amd/ |
D | acp-pcm.c | 29 size = runtime->dma_bytes; in acp_pcm_hw_params() 30 stream->num_pages = PFN_UP(runtime->dma_bytes); in acp_pcm_hw_params()
|
/sound/soc/sh/ |
D | dma-sh7760.c | 199 (u32)runtime->dma_addr, runtime->dma_bytes); in camelot_prepare() 203 BRGREG(BRGATXTCR) = runtime->dma_bytes; in camelot_prepare() 206 BRGREG(BRGARXTCR) = runtime->dma_bytes; in camelot_prepare()
|
/sound/core/ |
D | pcm_memory.c | 443 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 473 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 516 if (runtime->dma_bytes >= size) in _snd_pcm_lib_alloc_vmalloc_buffer() 523 runtime->dma_bytes = size; in _snd_pcm_lib_alloc_vmalloc_buffer()
|
D | pcm_native.c | 813 size_t size = runtime->dma_bytes; in snd_pcm_hw_params() 2672 if (runtime->dma_bytes) { in snd_pcm_hw_constraints_complete() 2673 …rr = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 0, runtime->dma_bytes); in snd_pcm_hw_constraints_complete() 3776 size_t dma_bytes; in snd_pcm_mmap_data_fault() local 3782 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data_fault() 3783 if (offset > dma_bytes - PAGE_SIZE) in snd_pcm_mmap_data_fault() 3857 return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes); in snd_pcm_lib_mmap_iomem() 3871 size_t dma_bytes; in snd_pcm_mmap_data() local 3891 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data() 3892 if ((size_t)size > dma_bytes) in snd_pcm_mmap_data() [all …]
|
/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 152 prtd->dma_buffer_end = runtime->dma_addr + runtime->dma_bytes; in atmel_pcm_hw_params() 159 runtime->dma_bytes, in atmel_pcm_hw_params() 202 rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); in atmel_pcm_trigger()
|
/sound/soc/samsung/ |
D | idma.c | 88 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue() 155 runtime->dma_bytes = params_buffer_bytes(params); in idma_hw_params() 160 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
|
/sound/pci/emu10k1/ |
D | memory.c | 311 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 312 runtime->dma_bytes >= (emu->address_mode ? MAXPAGES1 : MAXPAGES0) * EMUPAGESIZE)) in snd_emu10k1_alloc_pages() 321 blk = search_empty(emu, runtime->dma_bytes + idx); in snd_emu10k1_alloc_pages() 333 if (ofs >= runtime->dma_bytes) in snd_emu10k1_alloc_pages()
|
/sound/soc/sof/ |
D | compress.c | 209 ret = create_page_table(component, cstream, crtd->dma_area, crtd->dma_bytes); in sof_compr_set_params() 213 pcm->params.buffer.pages = PFN_UP(crtd->dma_bytes); in sof_compr_set_params() 220 pcm->params.buffer.size = crtd->dma_bytes; in sof_compr_set_params()
|
D | ipc3-pcm.c | 61 pcm.params.buffer.pages = PFN_UP(runtime->dma_bytes); in sof_ipc3_pcm_hw_params() 69 pcm.params.buffer.size = runtime->dma_bytes; in sof_ipc3_pcm_hw_params()
|
/sound/soc/bcm/ |
D | bcm63xx-pcm-whistler.c | 275 runtime->dma_bytes) { in i2s_dma_isr() 325 runtime->dma_bytes) { in i2s_dma_isr()
|
/sound/isa/msnd/ |
D | msnd.c | 477 runtime->dma_bytes = 0x3000; in snd_msnd_playback_open() 582 runtime->dma_bytes = 0x3000; in snd_msnd_capture_open() 583 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
|
/sound/ppc/ |
D | snd_ps3.c | 583 card->dma_buffer_size = runtime->dma_bytes; in snd_ps3_pcm_prepare() 594 runtime->dma_area + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare() 596 runtime->dma_addr + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare()
|
/sound/soc/meson/ |
D | aiu-fifo.c | 105 end = runtime->dma_addr + runtime->dma_bytes - fifo->fifo_block; in aiu_fifo_hw_params()
|
D | axg-fifo.c | 122 end_ptr = runtime->dma_addr + runtime->dma_bytes - AXG_FIFO_BURST; in axg_fifo_pcm_hw_params()
|
/sound/soc/qcom/ |
D | lpass-platform.c | 255 runtime->dma_bytes = lpass_platform_pcm_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 260 runtime->dma_bytes = lpass_platform_rxtx_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 265 runtime->dma_bytes = lpass_platform_va_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 1229 channel * (rt->dma_bytes / rt->channels)); in lpass_platform_copy()
|
/sound/soc/au1x/ |
D | dbdma2.c | 206 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in au1xpsc_pcm_hw_params()
|
/sound/soc/intel/catpt/ |
D | pcm.c | 160 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes); in catpt_arrange_page_table() 403 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE); in catpt_dai_hw_params() 404 rinfo.size = rtm->dma_bytes; in catpt_dai_hw_params()
|
/sound/soc/qcom/qdsp6/ |
D | q6apm-dai.c | 308 runtime->dma_bytes = BUFFER_BYTES_MAX; in q6apm_dai_open()
|
/sound/pci/pcxhr/ |
D | pcxhr.c | 636 subs->runtime->dma_bytes, subs->number); in pcxhr_update_r_buffer() 643 snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000); in pcxhr_update_r_buffer() 645 rmh.cmd[1] = subs->runtime->dma_bytes * 8; in pcxhr_update_r_buffer()
|