Lines Matching refs:dma_bytes
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()
3497 if ((size_t)size > dma_bytes) in snd_pcm_mmap_data()
3499 if (offset > dma_bytes - size) in snd_pcm_mmap_data()