Home
last modified time | relevance | path

Searched refs:dma_bytes (Results 1 – 25 of 34) sorted by relevance

12

/sound/pci/trident/
Dtrident_memory.c197 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/
Dpcm_memory.c349 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()
Dpcm_native.c592 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 …]
Dpcm_lib.c129 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/
Datmel-pcm-pdc.c223 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/
Ddma-sh7760.c208 (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/
Domap-pcm.c93 runtime->dma_bytes = params_buffer_bytes(params); in omap_pcm_hw_params()
162 runtime->dma_bytes); in omap_pcm_mmap()
/sound/soc/samsung/
Didma.c95 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/
Dmemory.c310 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/
Dnuc900-pcm.c63 AUDIO_WRITE(mmio_len, runtime->dma_bytes); in nuc900_update_dma_register()
273 runtime->dma_bytes); in nuc900_dma_mmap()
/sound/soc/fsl/
Dimx-pcm-fiq.c221 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/
Dsst-haswell-pcm.c614 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/
Dmsnd.c488 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/
Dpxa2xx-pcm-lib.c147 runtime->dma_bytes); in pxa2xx_pcm_mmap()
/sound/ppc/
Dsnd_ps3.c617 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/
Dlpass-platform.c67 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/
Ddbdma2.c212 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in au1xpsc_pcm_hw_params()
/sound/soc/kirkwood/
Dkirkwood-dma.c193 runtime->dma_bytes = params_buffer_bytes(params); in kirkwood_dma_hw_params()
/sound/pci/pcxhr/
Dpcxhr.c650 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/
Dtxx9aclc.c67 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in txx9aclc_pcm_hw_params()
/sound/pci/cs46xx/
Dcs46xx_lib.c1139 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/
Dintel8x0.c950 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()
Drme32.c666 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()
Drme96.c989 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/
Dnm256.c829 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()

12