/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 356 struct vm_area_struct *vma) 358 if (vma->vm_end - vma->vm_start != PAGE_SIZE) 361 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 363 if (io_remap_pfn_range(vma, vma->vm_start, 365 PAGE_SIZE, vma->vm_page_prot)) 355 mthca_mmap_uar(struct ib_ucontext *context, struct vm_area_struct *vma) argument
|
/drivers/media/platform/ |
H A D | vino.c | 3837 static void vino_vm_open(struct vm_area_struct *vma) argument 3839 struct vino_framebuffer *fb = vma->vm_private_data; 3845 static void vino_vm_close(struct vm_area_struct *vma) argument 3847 struct vino_framebuffer *fb = vma->vm_private_data; 3858 static int vino_mmap(struct file *file, struct vm_area_struct *vma) argument 3862 unsigned long start = vma->vm_start; 3863 unsigned long size = vma->vm_end - vma->vm_start; 3864 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; 3884 if (!(vma [all...] |
/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 326 uvc_v4l2_mmap(struct file *file, struct vm_area_struct *vma) argument 331 return uvcg_queue_mmap(&uvc->video.queue, vma);
|
/drivers/video/fbdev/ |
H A D | bw2.c | 162 static int bw2_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 169 vma);
|
H A D | cg3.c | 226 static int cg3_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 233 vma);
|
H A D | tcx.c | 300 static int tcx_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 306 par->which_io, vma);
|
H A D | fb-puv3.c | 643 struct vm_area_struct *vma) 645 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 647 return vm_iomap_memory(vma, info->fix.smem_start, info->fix.smem_len); 642 unifb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument
|
H A D | smscufx.c | 778 static int ufx_ops_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 780 unsigned long start = vma->vm_start; 781 unsigned long size = vma->vm_end - vma->vm_start; 782 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; 785 if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) 799 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED))
|
H A D | udlfb.c | 320 static int dlfb_ops_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 322 unsigned long start = vma->vm_start; 323 unsigned long size = vma->vm_end - vma->vm_start; 324 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; 327 if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) 341 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED))
|
/drivers/video/fbdev/core/ |
H A D | fbmem.c | 1392 fb_mmap(struct file *file, struct vm_area_struct * vma) argument 1408 res = fb->fb_mmap(info, vma); 1420 if (vma->vm_pgoff >= mmio_pgoff) { 1426 vma->vm_pgoff -= mmio_pgoff; 1432 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); 1433 fb_pgprotect(file, vma, start); 1435 return vm_iomap_memory(vma, start, len);
|
/drivers/staging/comedi/ |
H A D | comedi_fops.c | 1901 static int comedi_mmap(struct file *file, struct vm_area_struct *vma) argument 1908 unsigned long start = vma->vm_start; 1929 if (vma->vm_flags & VM_WRITE) 1944 if (vma->vm_pgoff != 0) { 1950 size = vma->vm_end - vma->vm_start; 1971 if (remap_pfn_range(vma, start, 1980 vma->vm_ops = &comedi_vm_ops; 1981 vma->vm_private_data = bm; 1983 vma [all...] |
/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-main.c | 1076 static void mmap_user_open(struct vm_area_struct *vma) argument 1078 struct omapfb2_mem_region *rg = vma->vm_private_data; 1085 static void mmap_user_close(struct vm_area_struct *vma) argument 1087 struct omapfb2_mem_region *rg = vma->vm_private_data; 1099 static int omapfb_mmap(struct fb_info *fbi, struct vm_area_struct *vma) argument 1114 vma->vm_pgoff << PAGE_SHIFT); 1116 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); 1117 vma->vm_ops = &mmap_user_ops; 1118 vma [all...] |
/drivers/firewire/ |
H A D | core.h | 161 struct vm_area_struct *vma);
|
H A D | core-cdev.c | 1671 static int fw_device_op_mmap(struct file *file, struct vm_area_struct *vma) argument 1684 if (!(vma->vm_flags & VM_SHARED)) 1687 if (vma->vm_start & ~PAGE_MASK) 1690 client->vm_start = vma->vm_start; 1691 size = vma->vm_end - vma->vm_start; 1711 ret = fw_iso_buffer_map_vma(&client->buffer, vma);
|
/drivers/gpu/drm/cirrus/ |
H A D | cirrus_drv.h | 240 int cirrus_mmap(struct file *filp, struct vm_area_struct *vma);
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_dmabuf.c | 166 struct vm_area_struct *vma) 165 exynos_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) argument
|
/drivers/gpu/drm/i915/ |
H A D | i915_gem_dmabuf.c | 194 static int i915_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) argument
|
/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.h | 301 int mgag200_mmap(struct file *filp, struct vm_area_struct *vma);
|
/drivers/gpu/drm/nouveau/core/core/ |
H A D | engctx.c | 120 nouveau_gpuobj_unmap(&engctx->vma);
|
/drivers/gpu/drm/nouveau/core/engine/fifo/ |
H A D | nvc0.c | 134 if (!ectx->vma.node) { 136 NV_MEM_ACCESS_RW, &ectx->vma); 143 nv_wo32(base, addr + 0x00, lower_32_bits(ectx->vma.offset) | 4); 144 nv_wo32(base, addr + 0x04, upper_32_bits(ectx->vma.offset));
|
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | nvc0.h | 126 struct nouveau_vma vma; member in struct:nvc0_graph_chan::__anon824
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_iverbs.h | 188 int ehca_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
|
/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 713 static int nes_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) argument 725 if (vma->vm_pgoff >= nes_ucontext->mmap_wq_offset) { 726 index = (vma->vm_pgoff - nes_ucontext->mmap_wq_offset) * PAGE_SIZE; 738 if (remap_pfn_range(vma, vma->vm_start, 740 vma->vm_end - vma->vm_start, 741 vma->vm_page_prot)) { 745 vma->vm_private_data = nesqp; 748 index = vma [all...] |
/drivers/staging/android/ion/ |
H A D | ion_priv.h | 57 * @vmas: list of vma's mapping this buffer 125 struct vm_area_struct *vma);
|
/drivers/video/adf/ |
H A D | adf_fbdev.c | 564 int adf_fbdev_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 568 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 569 return dma_buf_mmap(fbdev->dma_buf, vma, 0);
|