/Linux-v4.19/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() 110 substream->runtime->dma_bytes = params_buffer_bytes(params); in uniphier_aiodma_hw_params() 118 substream->runtime->dma_bytes = 0; in uniphier_aiodma_hw_free() 140 runtime->dma_addr + runtime->dma_bytes, in uniphier_aiodma_prepare() 163 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, in uniphier_aiodma_trigger() 196 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in uniphier_aiodma_pointer()
|
/Linux-v4.19/drivers/media/usb/go7007/ |
D | snd-go7007.c | 86 if (gosnd->w_idx + length > runtime->dma_bytes) { in parse_audio_stream_data() 87 int cpy = runtime->dma_bytes - gosnd->w_idx; in parse_audio_stream_data() 114 if (substream->runtime->dma_bytes > 0) in go7007_snd_hw_params() 116 substream->runtime->dma_bytes = 0; in go7007_snd_hw_params() 120 substream->runtime->dma_bytes = bytes; in go7007_snd_hw_params() 130 if (substream->runtime->dma_bytes > 0) in go7007_snd_hw_free() 132 substream->runtime->dma_bytes = 0; in go7007_snd_hw_free()
|
/Linux-v4.19/sound/pci/trident/ |
D | trident_memory.c | 197 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages() 198 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_sg_pages() 208 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_sg_pages() 246 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages() 247 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_cont_pages() 255 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_cont_pages()
|
/Linux-v4.19/sound/core/ |
D | pcm_memory.c | 345 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 366 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 407 if (runtime->dma_bytes >= size) in _snd_pcm_lib_alloc_vmalloc_buffer() 414 runtime->dma_bytes = size; in _snd_pcm_lib_alloc_vmalloc_buffer()
|
D | pcm_native.c | 2350 if (runtime->dma_bytes) { in snd_pcm_hw_constraints_complete() 2351 …rr = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 0, runtime->dma_bytes); in snd_pcm_hw_constraints_complete() 3311 size_t dma_bytes; in snd_pcm_mmap_data_fault() local 3317 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data_fault() 3318 if (offset > dma_bytes - PAGE_SIZE) in snd_pcm_mmap_data_fault() 3373 substream->runtime->dma_bytes); in snd_pcm_lib_default_mmap() 3400 return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes); in snd_pcm_lib_mmap_iomem() 3414 size_t dma_bytes; in snd_pcm_mmap_data() local 3434 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data() 3435 if ((size_t)size > dma_bytes) in snd_pcm_mmap_data() [all …]
|
/Linux-v4.19/sound/soc/sh/ |
D | dma-sh7760.c | 206 (u32)runtime->dma_addr, runtime->dma_bytes); in camelot_prepare() 210 BRGREG(BRGATXTCR) = runtime->dma_bytes; in camelot_prepare() 213 BRGREG(BRGARXTCR) = runtime->dma_bytes; in camelot_prepare()
|
/Linux-v4.19/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 223 runtime->dma_bytes = params_buffer_bytes(params); in atmel_pcm_hw_params() 229 prtd->dma_buffer_end = runtime->dma_addr + runtime->dma_bytes; in atmel_pcm_hw_params() 236 runtime->dma_bytes, in atmel_pcm_hw_params() 277 rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); in atmel_pcm_trigger()
|
/Linux-v4.19/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 105 substream->runtime->dma_bytes = 0; in dsp_buffer_free() 115 if (substream->runtime->dma_bytes > size) in dsp_buffer_alloc() 125 substream->runtime->dma_bytes = size; in dsp_buffer_alloc()
|
/Linux-v4.19/sound/soc/samsung/ |
D | idma.c | 94 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue() 160 runtime->dma_bytes = params_buffer_bytes(params); in idma_hw_params() 165 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
|
/Linux-v4.19/sound/pci/emu10k1/ |
D | memory.c | 321 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 322 runtime->dma_bytes >= (emu->address_mode ? MAXPAGES1 : MAXPAGES0) * EMUPAGESIZE)) in snd_emu10k1_alloc_pages() 331 blk = search_empty(emu, runtime->dma_bytes + idx); in snd_emu10k1_alloc_pages() 343 if (ofs >= runtime->dma_bytes) in snd_emu10k1_alloc_pages()
|
/Linux-v4.19/sound/soc/nuc900/ |
D | nuc900-pcm.c | 63 AUDIO_WRITE(mmio_len, runtime->dma_bytes); in nuc900_update_dma_register() 271 runtime->dma_addr, runtime->dma_bytes); in nuc900_dma_mmap()
|
/Linux-v4.19/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 238 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 247 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/Linux-v4.19/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 233 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 242 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/Linux-v4.19/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 221 runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap() 226 runtime->dma_bytes); in snd_imx_pcm_mmap()
|
/Linux-v4.19/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 614 runtime->dma_bytes, rtd->cpu_dai->id); in hsw_pcm_hw_params() 621 if (runtime->dma_bytes % PAGE_SIZE) in hsw_pcm_hw_params() 622 pages = (runtime->dma_bytes / PAGE_SIZE) + 1; in hsw_pcm_hw_params() 624 pages = runtime->dma_bytes / PAGE_SIZE; in hsw_pcm_hw_params() 628 pages, runtime->dma_bytes, 0, in hsw_pcm_hw_params() 729 bytes_to_frames(runtime, runtime->dma_bytes); in hsw_notify_pointer()
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | omap_udc.h | 135 unsigned dma_bytes; member
|
/Linux-v4.19/sound/isa/msnd/ |
D | msnd.c | 489 runtime->dma_bytes = 0x3000; in snd_msnd_playback_open() 593 runtime->dma_bytes = 0x3000; in snd_msnd_capture_open() 594 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
|
/Linux-v4.19/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 255 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 264 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/Linux-v4.19/sound/ppc/ |
D | snd_ps3.c | 615 card->dma_buffer_size = runtime->dma_bytes; in snd_ps3_pcm_prepare() 626 runtime->dma_area + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare() 628 runtime->dma_addr + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare()
|
/Linux-v4.19/sound/arm/ |
D | pxa2xx-pcm-lib.c | 143 runtime->dma_addr, runtime->dma_bytes); in pxa2xx_pcm_mmap()
|
/Linux-v4.19/sound/soc/qcom/qdsp6/ |
D | q6asm-dai.c | 372 runtime->dma_bytes = q6asm_dai_hardware_playback.buffer_bytes_max; in q6asm_dai_open() 429 runtime->dma_bytes); in q6asm_dai_mmap()
|
/Linux-v4.19/sound/soc/qcom/ |
D | lpass-platform.c | 101 runtime->dma_bytes = lpass_platform_pcm_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 413 runtime->dma_bytes); in lpass_platform_pcmops_mmap()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | u_audio.c | 148 pending = runtime->dma_bytes - hw_ptr; in u_audio_iso_complete() 172 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete()
|
/Linux-v4.19/include/sound/ |
D | pcm.h | 423 size_t dma_bytes; /* size of DMA area */ member 1169 runtime->dma_bytes = bufp->bytes; in snd_pcm_set_runtime_buffer() 1174 runtime->dma_bytes = 0; in snd_pcm_set_runtime_buffer()
|
/Linux-v4.19/sound/soc/meson/ |
D | axg-fifo.c | 120 end_ptr = runtime->dma_addr + runtime->dma_bytes - AXG_FIFO_BURST; in axg_fifo_pcm_hw_params()
|