/drivers/gpu/drm/radeon/ |
H A D | radeon_object.h | 147 struct vm_area_struct *vma);
|
/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 290 static int fops_mmap(struct file *file, struct vm_area_struct * vma) argument 299 DEB_EE("V4L2_BUF_TYPE_VIDEO_CAPTURE: file:%p, vma:%p\n", 300 file, vma); 305 DEB_EE("V4L2_BUF_TYPE_VBI_CAPTURE: file:%p, vma:%p\n", 306 file, vma); 318 res = videobuf_mmap_mapper(q, vma);
|
/drivers/video/fbdev/omap/ |
H A D | omapfb.h | 175 struct vm_area_struct *vma);
|
/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 644 static int mlx5_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) argument 653 command = get_command(vma->vm_pgoff); 656 if (vma->vm_end - vma->vm_start != PAGE_SIZE) 659 idx = get_index(vma->vm_pgoff); 667 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); 668 if (io_remap_pfn_range(vma, vma->vm_start, pfn, 669 PAGE_SIZE, vma [all...] |
/drivers/tty/serial/ |
H A D | ioc3_serial.c | 114 #define PENDING(_a, _p) (readl(&(_p)->vma->sio_ir) & (_a)->ic_enable) 393 sio_cr = readl(&idd->vma->sio_cr); 446 sbbr_l = &idd->vma->sbbr_l; 447 sbbr_h = &idd->vma->sbbr_h; 877 writel(0, (&port->ip_idd->vma->gppr[0] 884 writel(1, (&port->ip_idd->vma->gppr[0] 2033 (0xf << SIO_CR_CMD_PULSE_SHIFT), &idd->vma->sio_cr); 2066 port->ip_serial_regs = &idd->vma->port_a; 2067 port->ip_uart_regs = &idd->vma->sregs.uarta; 2093 port->ip_serial_regs = &idd->vma [all...] |
/drivers/gpu/drm/i810/ |
H A D | i810_dma.c | 87 static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) argument 100 vma->vm_flags |= VM_DONTCOPY; 104 if (io_remap_pfn_range(vma, vma->vm_start, 105 vma->vm_pgoff, 106 vma->vm_end - vma->vm_start, vma->vm_page_prot))
|
/drivers/media/usb/uvc/ |
H A D | uvc_queue.c | 237 int uvc_queue_mmap(struct uvc_video_queue *queue, struct vm_area_struct *vma) argument 242 ret = vb2_mmap(&queue->queue, vma);
|
/drivers/usb/gadget/function/ |
H A D | uvc_queue.c | 243 int uvcg_queue_mmap(struct uvc_video_queue *queue, struct vm_area_struct *vma) argument 248 ret = vb2_mmap(&queue->queue, vma);
|
/drivers/video/fbdev/ |
H A D | p9100.c | 219 static int p9100_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 225 par->which_io, vma);
|
H A D | ep93xx-fb.c | 314 static int ep93xxfb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 316 unsigned int offset = vma->vm_pgoff << PAGE_SHIFT; 319 return dma_mmap_writecombine(info->dev, vma, info->screen_base,
|
/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 445 int ocrdma_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) argument 449 unsigned long vm_page = vma->vm_pgoff << PAGE_SHIFT; 451 unsigned long len = (vma->vm_end - vma->vm_start); 455 if (vma->vm_start & (PAGE_SIZE - 1)) 457 found = ocrdma_search_mmap(ucontext, vma->vm_pgoff << PAGE_SHIFT, len); 464 if (vma->vm_flags & VM_READ) 467 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 468 status = io_remap_pfn_range(vma, vm [all...] |
/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 233 struct vm_area_struct *vma; local 243 vma = find_vma_intersection(current->mm, vaddr, vaddr + 1); 245 if (vma && vma->vm_flags & VM_PFNMAP) { 246 *pfn = ((vaddr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff;
|
/drivers/media/pci/meye/ |
H A D | meye.c | 1450 static void meye_vm_open(struct vm_area_struct *vma) argument 1452 long idx = (long)vma->vm_private_data; 1456 static void meye_vm_close(struct vm_area_struct *vma) argument 1458 long idx = (long)vma->vm_private_data; 1467 static int meye_mmap(struct file *file, struct vm_area_struct *vma) argument 1469 unsigned long start = vma->vm_start; 1470 unsigned long size = vma->vm_end - vma->vm_start; 1471 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; 1496 if (remap_pfn_range(vma, star [all...] |
/drivers/media/usb/usbvision/ |
H A D | usbvision-video.c | 1087 static int usbvision_mmap(struct file *file, struct vm_area_struct *vma) argument 1089 unsigned long size = vma->vm_end - vma->vm_start, 1090 start = vma->vm_start; 1100 if (!(vma->vm_flags & VM_WRITE) || 1107 vma->vm_pgoff) 1117 vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; 1121 if (vm_insert_page(vma, start, vmalloc_to_page(pos))) { 1133 static int usbvision_v4l2_mmap(struct file *file, struct vm_area_struct *vma) argument 1140 res = usbvision_mmap(file, vma); [all...] |
/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 125 struct i915_vma *vma; local 144 list_for_each_entry(vma, &obj->vma_list, vma_link) 145 if (vma->pin_count > 0) 152 list_for_each_entry(vma, &obj->vma_list, vma_link) { 153 if (!i915_is_ggtt(vma->vm)) 158 vma->node.start, vma->node.size); 192 struct i915_vma *vma; local 216 list_for_each_entry(vma, head, mm_list) { 218 describe_obj(m, vma 315 struct i915_vma *vma; local 384 struct i915_vma *vma; local [all...] |
H A D | i915_gem_context.c | 575 struct i915_vma *vma = i915_gem_obj_to_vma(to->legacy_hw_ctx.rcs_state, local 577 vma->bind_vma(vma, to->legacy_hw_ctx.rcs_state->cache_level, GLOBAL_BIND);
|
H A D | i915_gem_userptr.c | 76 struct i915_vma *vma, *tmp; local 82 list_for_each_entry_safe(vma, tmp, &obj->vma_list, vma_link) { 83 int ret = i915_vma_unbind(vma); 414 * attempt to reap the vma, and if we were holding a GTT mmap 595 * the vma between us binding this page into the GTT and completion 597 * pages they need to create a new bo to point to the new vma. 599 * However, that still leaves open the possibility of the vma 607 * to the vma (discard or cloning) which should prevent the more
|
/drivers/media/usb/gspca/ |
H A D | gspca.c | 94 static void gspca_vm_open(struct vm_area_struct *vma) argument 96 struct gspca_frame *frame = vma->vm_private_data; 102 static void gspca_vm_close(struct vm_area_struct *vma) argument 104 struct gspca_frame *frame = vma->vm_private_data; 1582 static int dev_mmap(struct file *file, struct vm_area_struct *vma) argument 1590 start = vma->vm_start; 1591 size = vma->vm_end - vma->vm_start; 1608 == vma->vm_pgoff) { 1628 vma [all...] |
/drivers/char/ |
H A D | hpet.c | 382 static int hpet_mmap(struct file *file, struct vm_area_struct *vma) argument 396 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 397 return vm_iomap_memory(vma, addr, PAGE_SIZE); 400 static int hpet_mmap(struct file *file, struct vm_area_struct *vma) argument
|
/drivers/media/v4l2-core/ |
H A D | videobuf-core.c | 1168 int videobuf_mmap_mapper(struct videobuf_queue *q, struct vm_area_struct *vma) argument 1175 if (!(vma->vm_flags & VM_WRITE) || !(vma->vm_flags & VM_SHARED)) { 1185 buf->boff == (vma->vm_pgoff << PAGE_SHIFT)) { 1186 rc = CALL(q, mmap_mapper, q, buf, vma);
|
/drivers/mtd/ |
H A D | mtdchar.c | 1125 static int mtdchar_mmap(struct file *file, struct vm_area_struct *vma) argument 1139 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 1141 return vm_iomap_memory(vma, map->phys, map->size); 1145 return vma->vm_flags & VM_SHARED ? 0 : -EACCES;
|
/drivers/video/fbdev/vermilion/ |
H A D | vermilion.c | 1001 static int vmlfb_mmap(struct fb_info *info, struct vm_area_struct *vma) argument 1004 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; 1011 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; 1012 pgprot_val(vma->vm_page_prot) &= ~_PAGE_PWT; 1014 return vm_iomap_memory(vma, vinfo->vram_start,
|
/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 2780 zoran_vm_open (struct vm_area_struct *vma) argument 2782 struct zoran_mapping *map = vma->vm_private_data; 2787 zoran_vm_close (struct vm_area_struct *vma) argument 2789 struct zoran_mapping *map = vma->vm_private_data; 2848 struct vm_area_struct *vma) 2852 unsigned long size = (vma->vm_end - vma->vm_start); 2853 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; 2855 unsigned long page, start = vma->vm_start, todo, pos, fraglen; 2863 mode_name(fh->map_mode), vma 2847 zoran_mmap(struct file *file, struct vm_area_struct *vma) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fbcon.c | 359 &fbcon->nouveau_fb.vma); 430 nouveau_bo_vma_del(nvbo, &fbcon->nouveau_fb.vma); 464 nouveau_bo_vma_del(nouveau_fb->nvbo, &nouveau_fb->vma);
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.h | 436 int qxl_mmap(struct file *filp, struct vm_area_struct *vma); 545 struct vm_area_struct *vma);
|