/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()
|
/sound/core/ |
D | pcm_memory.c | 349 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 370 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 413 if (runtime->dma_bytes >= size) in _snd_pcm_lib_alloc_vmalloc_buffer() 420 runtime->dma_bytes = size; in _snd_pcm_lib_alloc_vmalloc_buffer()
|
D | pcm_native.c | 592 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_pcm_hw_params() 2226 if (runtime->dma_bytes) { in snd_pcm_hw_constraints_complete() 2227 …rr = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 0, runtime->dma_bytes); in snd_pcm_hw_constraints_complete() 3372 size_t dma_bytes; in snd_pcm_mmap_data_fault() local 3378 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data_fault() 3379 if (offset > dma_bytes - PAGE_SIZE) in snd_pcm_mmap_data_fault() 3434 substream->runtime->dma_bytes); in snd_pcm_lib_default_mmap() 3461 return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes); in snd_pcm_lib_mmap_iomem() 3476 size_t dma_bytes; in snd_pcm_mmap_data() local 3496 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data() [all …]
|
D | pcm_lib.c | 129 size_t dma_csize = runtime->dma_bytes / channels; in snd_pcm_playback_silence() 1807 size_t size = runtime->dma_bytes / runtime->channels; in snd_pcm_lib_ioctl_channel_info() 2182 size_t dma_csize = runtime->dma_bytes / channels; in snd_pcm_lib_writev_transfer() 2386 snd_pcm_uframes_t dma_csize = runtime->dma_bytes / channels; in snd_pcm_lib_readv_transfer()
|
/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()
|
/sound/soc/sh/ |
D | dma-sh7760.c | 208 (u32)runtime->dma_addr, runtime->dma_bytes); in camelot_prepare() 212 BRGREG(BRGATXTCR) = runtime->dma_bytes; in camelot_prepare() 215 BRGREG(BRGARXTCR) = runtime->dma_bytes; in camelot_prepare()
|
/sound/soc/omap/ |
D | omap-pcm.c | 93 runtime->dma_bytes = params_buffer_bytes(params); in omap_pcm_hw_params() 162 runtime->dma_bytes); in omap_pcm_mmap()
|
/sound/soc/samsung/ |
D | idma.c | 95 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue() 161 runtime->dma_bytes = params_buffer_bytes(params); in idma_hw_params() 166 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
|
/sound/pci/emu10k1/ |
D | memory.c | 310 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 311 runtime->dma_bytes >= (emu->address_mode ? MAXPAGES1 : MAXPAGES0) * EMUPAGESIZE)) in snd_emu10k1_alloc_pages() 320 blk = search_empty(emu, runtime->dma_bytes + idx); in snd_emu10k1_alloc_pages() 332 if (ofs >= runtime->dma_bytes) in snd_emu10k1_alloc_pages()
|
/sound/soc/nuc900/ |
D | nuc900-pcm.c | 63 AUDIO_WRITE(mmio_len, runtime->dma_bytes); in nuc900_update_dma_register() 273 runtime->dma_bytes); in nuc900_dma_mmap()
|
/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 221 runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap() 226 runtime->dma_bytes); in snd_imx_pcm_mmap()
|
/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()
|
/sound/isa/msnd/ |
D | msnd.c | 488 runtime->dma_bytes = 0x3000; in snd_msnd_playback_open() 592 runtime->dma_bytes = 0x3000; in snd_msnd_capture_open() 593 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
|
/sound/arm/ |
D | pxa2xx-pcm-lib.c | 147 runtime->dma_bytes); in pxa2xx_pcm_mmap()
|
/sound/ppc/ |
D | snd_ps3.c | 617 card->dma_buffer_size = runtime->dma_bytes; in snd_ps3_pcm_prepare() 628 runtime->dma_area + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare() 630 runtime->dma_addr + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare()
|
/sound/soc/qcom/ |
D | lpass-platform.c | 67 runtime->dma_bytes = lpass_platform_pcm_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 345 runtime->dma_bytes); in lpass_platform_pcmops_mmap()
|
/sound/soc/au1x/ |
D | dbdma2.c | 212 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in au1xpsc_pcm_hw_params()
|
/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 193 runtime->dma_bytes = params_buffer_bytes(params); in kirkwood_dma_hw_params()
|
/sound/pci/pcxhr/ |
D | pcxhr.c | 650 subs->runtime->dma_bytes, subs->number); in pcxhr_update_r_buffer() 657 snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000); in pcxhr_update_r_buffer() 659 rmh.cmd[1] = subs->runtime->dma_bytes * 8; in pcxhr_update_r_buffer()
|
/sound/soc/txx9/ |
D | txx9aclc.c | 67 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in txx9aclc_pcm_hw_params()
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 1139 runtime->dma_bytes = cpcm->hw_buf.bytes; in snd_cs46xx_playback_hw_params() 1162 runtime->dma_bytes = 0; in snd_cs46xx_playback_hw_params() 1213 runtime->dma_bytes = 0; in snd_cs46xx_playback_hw_free() 1304 runtime->dma_bytes = chip->capt.hw_buf.bytes; in snd_cs46xx_capture_hw_params() 1310 runtime->dma_bytes = 0; in snd_cs46xx_capture_hw_params() 1329 runtime->dma_bytes = 0; in snd_cs46xx_capture_hw_free()
|
/sound/pci/ |
D | intel8x0.c | 950 fill_nocache(runtime->dma_area, runtime->dma_bytes, 0); /* clear */ in snd_intel8x0_hw_params() 958 fill_nocache(runtime->dma_area, runtime->dma_bytes, 1); in snd_intel8x0_hw_params() 989 fill_nocache(substream->runtime->dma_area, substream->runtime->dma_bytes, 0); in snd_intel8x0_hw_free() 2671 fill_nocache(runtime->dma_area, runtime->dma_bytes, 0); in intel8x0_suspend() 2729 fill_nocache(runtime->dma_area, runtime->dma_bytes, 1); in intel8x0_resume()
|
D | rme32.c | 666 runtime->dma_bytes = RME32_BUFFER_SIZE; in snd_rme32_playback_hw_params() 721 runtime->dma_bytes = RME32_BUFFER_SIZE; in snd_rme32_capture_hw_params()
|
D | rme96.c | 989 runtime->dma_bytes = RME96_BUFFER_SIZE; in snd_rme96_playback_hw_params() 1051 runtime->dma_bytes = RME96_BUFFER_SIZE; in snd_rme96_capture_hw_params()
|
/sound/pci/nm256/ |
D | nm256.c | 829 substream->runtime->dma_bytes = params_buffer_bytes(hw_params); in snd_nm256_pcm_hw_params() 848 runtime->dma_bytes = s->bufsize; in snd_nm256_setup_stream()
|