Home
last modified time | relevance | path

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

/sound/soc/pxa/
Dmmp-pcm.c121 struct vm_area_struct *vma) in mmp_pcm_mmap() argument
124 unsigned long off = vma->vm_pgoff; in mmp_pcm_mmap()
126 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmp_pcm_mmap()
127 return remap_pfn_range(vma, vma->vm_start, in mmp_pcm_mmap()
129 vma->vm_end - vma->vm_start, vma->vm_page_prot); in mmp_pcm_mmap()
/sound/soc/uniphier/
Daio-dma.c208 struct vm_area_struct *vma) in uniphier_aiodma_mmap() argument
210 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in uniphier_aiodma_mmap()
212 return remap_pfn_range(vma, vma->vm_start, in uniphier_aiodma_mmap()
214 vma->vm_end - vma->vm_start, vma->vm_page_prot); in uniphier_aiodma_mmap()
/sound/soc/samsung/
Didma.c237 struct vm_area_struct *vma) in idma_mmap() argument
244 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in idma_mmap()
245 size = vma->vm_end - vma->vm_start; in idma_mmap()
246 offset = vma->vm_pgoff << PAGE_SHIFT; in idma_mmap()
247 ret = io_remap_pfn_range(vma, vma->vm_start, in idma_mmap()
249 size, vma->vm_page_prot); in idma_mmap()
/sound/soc/atmel/
Datmel-pcm-pdc.c60 struct vm_area_struct *vma) in atmel_pcm_mmap() argument
62 return remap_pfn_range(vma, vma->vm_start, in atmel_pcm_mmap()
64 vma->vm_end - vma->vm_start, vma->vm_page_prot); in atmel_pcm_mmap()
/sound/soc/sprd/
Dsprd-pcm-dma.c448 struct vm_area_struct *vma) in sprd_pcm_mmap() argument
452 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in sprd_pcm_mmap()
453 return remap_pfn_range(vma, vma->vm_start, in sprd_pcm_mmap()
455 vma->vm_end - vma->vm_start, in sprd_pcm_mmap()
456 vma->vm_page_prot); in sprd_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()
/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.c134 struct us122l *us122l = vmf->vma->vm_private_data; in usb_stream_hwdep_vm_fault()
Dusx2yhwdeppcm.c651 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.c1278 struct vm_area_struct *vma) in had_pcm_mmap() argument
1280 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in had_pcm_mmap()
1281 return remap_pfn_range(vma, vma->vm_start, in had_pcm_mmap()
1283 vma->vm_end - vma->vm_start, vma->vm_page_prot); in had_pcm_mmap()
/sound/soc/fsl/
Dimx-pcm-fiq.c210 struct vm_area_struct *vma) in snd_imx_pcm_mmap() argument
215 ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in snd_imx_pcm_mmap()
/sound/soc/qcom/qdsp6/
Dq6asm-dai.c451 struct vm_area_struct *vma) in q6asm_dai_mmap() argument
459 return dma_mmap_coherent(dev, vma, in q6asm_dai_mmap()
750 struct vm_area_struct *vma) in q6asm_dai_compr_mmap() argument
758 return dma_mmap_coherent(dev, vma, in q6asm_dai_compr_mmap()
/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c298 struct vm_area_struct *vma) in sst_byt_pcm_mmap() argument
303 return snd_pcm_lib_default_mmap(substream, vma); in sst_byt_pcm_mmap()
/sound/soc/
Dsoc-component.c511 struct vm_area_struct *vma) in snd_soc_pcm_component_mmap() argument
523 return component->driver->ops->mmap(substream, vma); in snd_soc_pcm_component_mmap()
/sound/core/
Dhwdep.c248 static int snd_hwdep_mmap(struct file * file, struct vm_area_struct * vma) in snd_hwdep_mmap() argument
252 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.c337 static int snd_disconnect_mmap(struct file *file, struct vm_area_struct *vma) in snd_disconnect_mmap() argument
Dcompress_offload.c382 static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma) in snd_compr_mmap() argument
Dpcm_native.c3226 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault()
3262 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault()
3351 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault()
/sound/soc/qcom/
Dlpass-platform.c399 struct vm_area_struct *vma) in lpass_platform_pcmops_mmap() argument
403 return dma_mmap_coherent(substream->pcm->card->dev, vma, in lpass_platform_pcmops_mmap()
/sound/soc/amd/raven/
Dacp3x-pcm-dma.c398 struct vm_area_struct *vma) in acp3x_dma_mmap() argument
400 return snd_pcm_lib_default_mmap(substream, vma); in acp3x_dma_mmap()
/sound/soc/amd/
Dacp-pcm-dma.c1057 struct vm_area_struct *vma) in acp_dma_mmap() argument
1059 return snd_pcm_lib_default_mmap(substream, vma); in acp_dma_mmap()