Home
last modified time | relevance | path

Searched refs:vma (Results 1 – 23 of 23) 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/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/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/atmel/
Datmel-pcm-pdc.c73 struct vm_area_struct *vma) in atmel_pcm_mmap() argument
75 return remap_pfn_range(vma, vma->vm_start, in atmel_pcm_mmap()
77 vma->vm_end - vma->vm_start, vma->vm_page_prot); in atmel_pcm_mmap()
/sound/arm/
Dpxa2xx-pcm-lib.c141 struct vm_area_struct *vma) in pxa2xx_pcm_mmap() argument
144 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in pxa2xx_pcm_mmap()
/sound/soc/omap/
Domap-pcm.c157 struct vm_area_struct *vma) in omap_pcm_mmap() argument
161 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in omap_pcm_mmap()
/sound/usb/usx2y/
DusX2Yhwdep.c41 vmf->vma->vm_start, in snd_us428ctls_vm_fault()
45 vaddr = (char *)((struct usX2Ydev *)vmf->vma->vm_private_data)->us428ctls_sharedmem + offset; in snd_us428ctls_vm_fault()
Dus122l.c147 struct us122l *us122l = vmf->vma->vm_private_data; in usb_stream_hwdep_vm_fault()
Dusx2yhwdeppcm.c661 vaddr = (char *)((struct usX2Ydev *)vmf->vma->vm_private_data)->hwdep_pcm_shm + offset; in snd_usX2Y_hwdep_pcm_vm_fault()
/sound/soc/nuc900/
Dnuc900-pcm.c266 struct vm_area_struct *vma) in nuc900_dma_mmap() argument
270 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in nuc900_dma_mmap()
/sound/x86/
Dintel_hdmi_audio.c1307 struct vm_area_struct *vma) in had_pcm_mmap() argument
1309 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in had_pcm_mmap()
1310 return remap_pfn_range(vma, vma->vm_start, in had_pcm_mmap()
1312 vma->vm_end - vma->vm_start, vma->vm_page_prot); in had_pcm_mmap()
/sound/soc/fsl/
Dimx-pcm-fiq.c215 struct vm_area_struct *vma) in snd_imx_pcm_mmap() argument
220 ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in snd_imx_pcm_mmap()
/sound/soc/intel/baytrail/
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.c235 static int snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma) in snd_info_entry_mmap() argument
248 inode, file, vma); in snd_info_entry_mmap()
Dinit.c357 static int snd_disconnect_mmap(struct file *file, struct vm_area_struct *vma) in snd_disconnect_mmap() argument
Dcompress_offload.c394 static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma) in snd_compr_mmap() argument
Dpcm_native.c3257 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault()
3293 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault()
3382 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault()
/sound/soc/qcom/
Dlpass-platform.c407 struct vm_area_struct *vma) in lpass_platform_pcmops_mmap() argument
411 return dma_mmap_coherent(substream->pcm->card->dev, vma, in lpass_platform_pcmops_mmap()
/sound/soc/amd/
Dacp-pcm-dma.c754 struct vm_area_struct *vma) in acp_dma_mmap() argument
756 return snd_pcm_lib_default_mmap(substream, vma); in acp_dma_mmap()