/sound/soc/pxa/ |
D | mmp-pcm.c | 123 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/ |
D | idma.c | 243 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/ |
D | bf5xx-i2s-pcm.c | 217 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()
|
D | bf5xx-ac97-pcm.c | 272 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/ |
D | soundcard.c | 423 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()
|
D | swarm_cs4297a.c | 1965 static int cs4297a_mmap(struct file *file, struct vm_area_struct *vma) in cs4297a_mmap() argument
|
/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 73 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/ |
D | pxa2xx-pcm-lib.c | 141 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/ |
D | omap-pcm.c | 157 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/ |
D | usX2Yhwdep.c | 41 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()
|
D | us122l.c | 147 struct us122l *us122l = vmf->vma->vm_private_data; in usb_stream_hwdep_vm_fault()
|
D | usx2yhwdeppcm.c | 661 vaddr = (char *)((struct usX2Ydev *)vmf->vma->vm_private_data)->hwdep_pcm_shm + offset; in snd_usX2Y_hwdep_pcm_vm_fault()
|
/sound/soc/nuc900/ |
D | nuc900-pcm.c | 266 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/ |
D | intel_hdmi_audio.c | 1307 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/ |
D | imx-pcm-fiq.c | 215 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/ |
D | sst-baytrail-pcm.c | 304 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/ |
D | hwdep.c | 263 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()
|
D | info.c | 235 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()
|
D | init.c | 357 static int snd_disconnect_mmap(struct file *file, struct vm_area_struct *vma) in snd_disconnect_mmap() argument
|
D | compress_offload.c | 394 static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma) in snd_compr_mmap() argument
|
D | pcm_native.c | 3257 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/ |
D | lpass-platform.c | 407 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/ |
D | acp-pcm-dma.c | 754 struct vm_area_struct *vma) in acp_dma_mmap() argument 756 return snd_pcm_lib_default_mmap(substream, vma); in acp_dma_mmap()
|