Home
last modified time | relevance | path

Searched refs:vma (Results 1 – 25 of 26) sorted by relevance

12

/sound/soc/pxa/
Dmmp-pcm.c141 struct vm_area_struct *vma) in mmp_pcm_mmap() argument
144 unsigned long off = vma->vm_pgoff; in mmp_pcm_mmap()
146 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmp_pcm_mmap()
147 return remap_pfn_range(vma, vma->vm_start, in mmp_pcm_mmap()
149 vma->vm_end - vma->vm_start, vma->vm_page_prot); in mmp_pcm_mmap()
Dmmp-sspa.c402 struct vm_area_struct *vma) in mmp_pcm_mmap() argument
404 vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; in mmp_pcm_mmap()
405 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmp_pcm_mmap()
406 return remap_pfn_range(vma, vma->vm_start, in mmp_pcm_mmap()
408 vma->vm_end - vma->vm_start, vma->vm_page_prot); in mmp_pcm_mmap()
/sound/soc/uniphier/
Daio-dma.c196 struct vm_area_struct *vma) in uniphier_aiodma_mmap() argument
198 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in uniphier_aiodma_mmap()
200 return remap_pfn_range(vma, vma->vm_start, in uniphier_aiodma_mmap()
202 vma->vm_end - vma->vm_start, vma->vm_page_prot); in uniphier_aiodma_mmap()
/sound/soc/samsung/
Didma.c243 struct vm_area_struct *vma) in idma_mmap() argument
250 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in idma_mmap()
251 size = vma->vm_end - vma->vm_start; in idma_mmap()
252 offset = vma->vm_pgoff << PAGE_SHIFT; in idma_mmap()
253 ret = io_remap_pfn_range(vma, vma->vm_start, in idma_mmap()
255 size, vma->vm_page_prot); in idma_mmap()
/sound/soc/sprd/
Dsprd-pcm-dma.c440 struct vm_area_struct *vma) in sprd_pcm_mmap() argument
444 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in sprd_pcm_mmap()
445 return remap_pfn_range(vma, vma->vm_start, in sprd_pcm_mmap()
447 vma->vm_end - vma->vm_start, in sprd_pcm_mmap()
448 vma->vm_page_prot); in sprd_pcm_mmap()
/sound/soc/atmel/
Datmel-pcm-pdc.c61 struct vm_area_struct *vma) in atmel_pcm_mmap() argument
63 return remap_pfn_range(vma, vma->vm_start, in atmel_pcm_mmap()
65 vma->vm_end - vma->vm_start, vma->vm_page_prot); in atmel_pcm_mmap()
/sound/arm/
Dpxa2xx-pcm-lib.c135 struct vm_area_struct *vma) in pxa2xx_pcm_mmap() argument
138 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in pxa2xx_pcm_mmap()
267 struct vm_area_struct *vma) in pxa2xx_soc_pcm_mmap() argument
269 return pxa2xx_pcm_mmap(substream, vma); in pxa2xx_soc_pcm_mmap()
/sound/soc/tegra/
Dtegra_pcm.h38 struct vm_area_struct *vma);
Dtegra_pcm.c196 struct vm_area_struct *vma) in tegra_pcm_mmap() argument
204 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in tegra_pcm_mmap()
/sound/usb/usx2y/
DusX2Yhwdep.c28 vmf->vma->vm_start, in snd_us428ctls_vm_fault()
32 vaddr = (char *)((struct usx2ydev *)vmf->vma->vm_private_data)->us428ctls_sharedmem + offset; in snd_us428ctls_vm_fault()
Dus122l.c107 struct us122l *us122l = vmf->vma->vm_private_data; in usb_stream_hwdep_vm_fault()
Dusx2yhwdeppcm.c650 vaddr = (char *)((struct usx2ydev *)vmf->vma->vm_private_data)->hwdep_pcm_shm + offset; in snd_usx2y_hwdep_pcm_vm_fault()
/sound/x86/
Dintel_hdmi_audio.c1275 struct vm_area_struct *vma) in had_pcm_mmap() argument
1277 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in had_pcm_mmap()
1278 return remap_pfn_range(vma, vma->vm_start, in had_pcm_mmap()
1280 vma->vm_end - vma->vm_start, vma->vm_page_prot); in had_pcm_mmap()
/sound/soc/fsl/
Dimx-pcm-fiq.c218 struct vm_area_struct *vma) in snd_imx_pcm_mmap() argument
223 ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in snd_imx_pcm_mmap()
/sound/soc/bcm/
Dbcm63xx-pcm-whistler.c195 struct vm_area_struct *vma) in bcm63xx_pcm_mmap() argument
199 return dma_mmap_wc(substream->pcm->card->dev, vma, in bcm63xx_pcm_mmap()
/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c302 struct vm_area_struct *vma) in acp_pdm_dma_mmap() argument
304 return snd_pcm_lib_default_mmap(substream, vma); in acp_pdm_dma_mmap()
/sound/soc/amd/raven/
Dacp3x-pcm-dma.c327 struct vm_area_struct *vma) in acp3x_dma_mmap() argument
329 return snd_pcm_lib_default_mmap(substream, vma); in acp3x_dma_mmap()
/sound/core/
Dhwdep.c255 static int snd_hwdep_mmap(struct file * file, struct vm_area_struct * vma) in snd_hwdep_mmap() argument
259 return hw->ops.mmap(hw, file, vma); in snd_hwdep_mmap()
Dinfo.c220 static int snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma) in snd_info_entry_mmap() argument
233 inode, file, vma); in snd_info_entry_mmap()
Dinit.c343 static int snd_disconnect_mmap(struct file *file, struct vm_area_struct *vma) in snd_disconnect_mmap() argument
Dcompress_offload.c386 static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma) in snd_compr_mmap() argument
/sound/soc/qcom/qdsp6/
Dq6asm-dai.c482 struct vm_area_struct *vma) in q6asm_dai_mmap() argument
487 return dma_mmap_coherent(dev, vma, in q6asm_dai_mmap()
1134 struct vm_area_struct *vma) in q6asm_dai_compr_mmap() argument
1140 return dma_mmap_coherent(dev, vma, in q6asm_dai_compr_mmap()
/sound/soc/
Dsoc-component.c708 struct vm_area_struct *vma) in snd_soc_pcm_component_mmap() argument
720 substream, vma)); in snd_soc_pcm_component_mmap()
/sound/soc/qcom/
Dlpass-platform.c635 struct vm_area_struct *vma) in lpass_platform_pcmops_mmap() argument
639 return dma_mmap_coherent(component->dev, vma, runtime->dma_area, in lpass_platform_pcmops_mmap()
/sound/soc/amd/
Dacp-pcm-dma.c1040 struct vm_area_struct *vma) in acp_dma_mmap() argument
1042 return snd_pcm_lib_default_mmap(substream, vma); in acp_dma_mmap()

12