Home
last modified time | relevance | path

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

/sound/soc/pxa/
Dmmp-pcm.c123 struct vm_area_struct *vma) in mmp_pcm_mmap() argument
126 unsigned long off = vma->vm_pgoff; in mmp_pcm_mmap()
128 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmp_pcm_mmap()
129 return remap_pfn_range(vma, vma->vm_start, in mmp_pcm_mmap()
131 vma->vm_end - vma->vm_start, vma->vm_page_prot); in mmp_pcm_mmap()
/sound/soc/atmel/
Datmel-pcm.c63 struct vm_area_struct *vma) in atmel_pcm_mmap() argument
65 return remap_pfn_range(vma, vma->vm_start, in atmel_pcm_mmap()
67 vma->vm_end - vma->vm_start, vma->vm_page_prot); in atmel_pcm_mmap()
Datmel-pcm.h89 struct vm_area_struct *vma);
/sound/soc/samsung/
Didma.c244 struct vm_area_struct *vma) in idma_mmap() argument
251 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in idma_mmap()
252 size = vma->vm_end - vma->vm_start; in idma_mmap()
253 offset = vma->vm_pgoff << PAGE_SHIFT; in idma_mmap()
254 ret = io_remap_pfn_range(vma, vma->vm_start, in idma_mmap()
256 size, vma->vm_page_prot); in idma_mmap()
/sound/soc/blackfin/
Dbf5xx-i2s-pcm.c217 struct vm_area_struct *vma) in bf5xx_pcm_mmap() argument
220 size_t size = vma->vm_end - vma->vm_start; in bf5xx_pcm_mmap()
221 vma->vm_start = (unsigned long)runtime->dma_area; in bf5xx_pcm_mmap()
222 vma->vm_end = vma->vm_start + size; in bf5xx_pcm_mmap()
223 vma->vm_flags |= VM_SHARED; in bf5xx_pcm_mmap()
Dbf5xx-ac97-pcm.c272 struct vm_area_struct *vma) in bf5xx_pcm_mmap() argument
275 size_t size = vma->vm_end - vma->vm_start; in bf5xx_pcm_mmap()
276 vma->vm_start = (unsigned long)runtime->dma_area; in bf5xx_pcm_mmap()
277 vma->vm_end = vma->vm_start + size; in bf5xx_pcm_mmap()
278 vma->vm_flags |= VM_SHARED; in bf5xx_pcm_mmap()
/sound/oss/
Dsoundcard.c423 static int sound_mmap(struct file *file, struct vm_area_struct *vma) in sound_mmap() argument
438 if (vma->vm_flags & VM_WRITE) /* Map write and read/write to the output buf */ in sound_mmap()
440 else if (vma->vm_flags & VM_READ) in sound_mmap()
463 if (vma->vm_pgoff != 0) { in sound_mmap()
468 size = vma->vm_end - vma->vm_start; in sound_mmap()
473 if (remap_pfn_range(vma, vma->vm_start, in sound_mmap()
475 vma->vm_end - vma->vm_start, vma->vm_page_prot)) { in sound_mmap()
Dswarm_cs4297a.c1965 static int cs4297a_mmap(struct file *file, struct vm_area_struct *vma) in cs4297a_mmap() argument
/sound/soc/omap/
Domap-pcm.c137 struct vm_area_struct *vma) in omap_pcm_mmap() argument
141 return dma_mmap_writecombine(substream->pcm->card->dev, vma, in omap_pcm_mmap()
/sound/arm/
Dpxa2xx-pcm-lib.c272 struct vm_area_struct *vma) in pxa2xx_pcm_mmap() argument
275 return dma_mmap_writecombine(substream->pcm->card->dev, vma, in pxa2xx_pcm_mmap()
/sound/soc/fsl/
Dimx-pcm-fiq.c215 struct vm_area_struct *vma) in snd_imx_pcm_mmap() argument
220 ret = dma_mmap_writecombine(substream->pcm->card->dev, vma, in snd_imx_pcm_mmap()
/sound/soc/nuc900/
Dnuc900-pcm.c287 struct vm_area_struct *vma) in nuc900_dma_mmap() argument
291 return dma_mmap_writecombine(substream->pcm->card->dev, vma, in nuc900_dma_mmap()
/sound/soc/intel/
Dsst-baytrail-pcm.c304 struct vm_area_struct *vma) in sst_byt_pcm_mmap() argument
309 return snd_pcm_lib_default_mmap(substream, vma); in sst_byt_pcm_mmap()
/sound/core/
Dhwdep.c263 static int snd_hwdep_mmap(struct file * file, struct vm_area_struct * vma) in snd_hwdep_mmap() argument
267 return hw->ops.mmap(hw, file, vma); in snd_hwdep_mmap()
Dinfo.c493 static int snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma) in snd_info_entry_mmap() argument
508 inode, file, vma); in snd_info_entry_mmap()
Dinit.c339 static int snd_disconnect_mmap(struct file *file, struct vm_area_struct *vma) in snd_disconnect_mmap() argument
Dcompress_offload.c367 static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma) in snd_compr_mmap() argument
/sound/soc/davinci/
Ddavinci-pcm.c747 struct vm_area_struct *vma) in davinci_pcm_mmap() argument
751 return dma_mmap_writecombine(substream->pcm->card->dev, vma, in davinci_pcm_mmap()