/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | vmap.c | 32 u16 vmap = 0x0000; in nvbios_vmap_table() local 36 vmap = nvbios_rd16(bios, bit_P.offset + 0x20); in nvbios_vmap_table() 37 if (vmap) { in nvbios_vmap_table() 38 *ver = nvbios_rd08(bios, vmap + 0); in nvbios_vmap_table() 42 *hdr = nvbios_rd08(bios, vmap + 1); in nvbios_vmap_table() 43 *cnt = nvbios_rd08(bios, vmap + 3); in nvbios_vmap_table() 44 *len = nvbios_rd08(bios, vmap + 2); in nvbios_vmap_table() 45 return vmap; in nvbios_vmap_table() 60 u16 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); in nvbios_vmap_parse() local 62 switch (!!vmap * *ver) { in nvbios_vmap_parse() [all …]
|
D | Kbuild | 31 nvkm-y += nvkm/subdev/bios/vmap.o
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_object.c | 105 if (bo->vmap) { in virtio_gpu_object_kmap() 107 *ptr = bo->vmap; in virtio_gpu_object_kmap() 113 bo->vmap = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in virtio_gpu_object_kmap() 115 *ptr = bo->vmap; in virtio_gpu_object_kmap()
|
D | virtgpu_drv.h | 59 void *vmap; member
|
D | virtgpu_fb.c | 341 info->screen_base = obj->vmap; in virtio_gpufb_create()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | base.c | 74 u16 vmap; in nvkm_volt_map() local 76 vmap = nvbios_vmap_entry_parse(bios, id, &ver, &len, &info); in nvkm_volt_map() 77 if (vmap) { in nvkm_volt_map()
|
/linux-4.4.14/arch/arm/mm/ |
D | fault-armv.c | 246 p1 = vmap(&page, 1, VM_IOREMAP, prot); in check_writebuffer_bugs() 247 p2 = vmap(&page, 1, VM_IOREMAP, prot); in check_writebuffer_bugs()
|
/linux-4.4.14/Documentation/features/vm/huge-vmap/ |
D | arch-support.txt | 2 # Feature name: huge-vmap
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | vdso.c | 41 vdso = vmap(&vdso_page, 1, 0, PAGE_KERNEL); in vdso_init()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_prime.c | 116 .vmap = vmw_prime_dmabuf_vmap,
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_dmabuf.c | 142 obj->dma_buf_vmapping = vmap(pages, i, 0, PAGE_KERNEL); in i915_gem_dmabuf_vmap() 224 .vmap = i915_gem_dmabuf_vmap,
|
D | i915_cmd_parser.c | 882 addr = vmap(pages, i, 0, PAGE_KERNEL); in vmap_batch()
|
/linux-4.4.14/Documentation/ |
D | cachetlb.txt | 383 vmap/vmalloc API. Since kernel I/O goes via physical pages, the I/O 385 the only aliases. This isn't true for vmap aliases, so anything in 386 the kernel trying to do I/O to vmap areas must manually manage 387 coherency. It must do this by flushing the vmap range before doing 392 the vmap area. This is to make sure that any data the kernel 393 modified in the vmap range is made visible to the physical 399 the cache for a given virtual address range in the vmap area 403 vmap area.
|
D | dma-buf-sharing.txt | 308 For some cases the overhead of kmap can be too high, a vmap interface 316 The vmap call can fail if there is no vmap support in the exporter, or if it 318 the dma-buf layer keeps a reference count for all vmap access and calls down 319 into the exporter's vmap function only when no vmapping exists, and only 320 unmaps it once. Protection against concurrent vmap/vunmap calls is provided
|
/linux-4.4.14/arch/x86/xen/ |
D | grant-table.c | 147 vaddr = vmap(pages, nr_grant_frames, 0, PAGE_KERNEL); in xlated_setup_gnttab_pages()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_memory.c | 90 addr = vmap(page_map, num_pages, VM_IOREMAP, PAGE_AGP); in agp_remap()
|
D | drm_prime.c | 302 .vmap = drm_gem_dmabuf_vmap,
|
/linux-4.4.14/include/linux/ |
D | dma-buf.h | 107 void *(*vmap)(struct dma_buf *); member
|
D | vmalloc.h | 85 extern void *vmap(struct page **pages, unsigned int count,
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
D | ttm_bo_util.c | 266 dst = vmap(&d, 1, 0, prot); in ttm_copy_io_ttm_page() 302 src = vmap(&s, 1, 0, prot); in ttm_copy_ttm_io_page() 562 map->virtual = vmap(ttm->pages + start_page, num_pages, in ttm_bo_kmap_ttm()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 124 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); in mlx4_en_map_buffer()
|
D | alloc.c | 640 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); in mlx4_buf_alloc()
|
/linux-4.4.14/sound/core/ |
D | sgbuf.c | 128 dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, PAGE_KERNEL); in snd_malloc_sgbuf_pages()
|
/linux-4.4.14/arch/m68k/kernel/ |
D | dma.c | 58 addr = vmap(map, size, VM_MAP, pgprot); in dma_alloc_coherent()
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_gem.c | 174 obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL); in udl_gem_vmap()
|
/linux-4.4.14/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 248 user_ptr = vmap(&dst_page, 1, VM_IOREMAP, __pgprot(__P010));
|
/linux-4.4.14/arch/sh/kernel/ |
D | io_trapped.c | 76 tiop->virt_base = vmap(pages, n, VM_MAP, PAGE_NONE); in register_trapped_io()
|
/linux-4.4.14/drivers/dma-buf/ |
D | dma-buf.c | 728 if (!dmabuf->ops->vmap) in dma_buf_vmap() 741 ptr = dmabuf->ops->vmap(dmabuf); in dma_buf_vmap()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 149 return vmap(pages, npages, VM_MAP, pgprot_writecombine(PAGE_KERNEL)); in gk20a_instobj_cpu_map_dma() 162 return vmap(node->pages, npages, VM_MAP, in gk20a_instobj_cpu_map_iommu()
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion_test.c | 68 void *vaddr = vmap(&page, 1, VM_MAP, pgprot); in ion_handle_test_dma()
|
D | ion_heap.c | 56 vaddr = vmap(pages, npages, VM_MAP, pgprot); in ion_heap_map_kernel()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 102 exynos_gem->kvaddr = (void __iomem *) vmap(exynos_gem->pages, nr_pages, in exynos_drm_fbdev_update()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf2-vmalloc.c | 344 .vmap = vb2_vmalloc_dmabuf_ops_vmap,
|
D | videobuf2-dma-contig.c | 355 .vmap = vb2_dc_dmabuf_ops_vmap,
|
D | videobuf-dma-sg.c | 237 dma->vaddr = vmap(dma->vaddr_pages, nr_pages, VM_MAP | VM_IOREMAP, in videobuf_dma_init_kernel()
|
D | videobuf2-dma-sg.c | 521 .vmap = vb2_dma_sg_dmabuf_ops_vmap,
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | fb.c | 258 bo->vaddr = vmap(bo->pages, bo->num_pages, VM_MAP, in tegra_fbdev_probe()
|
D | gem.c | 613 .vmap = tegra_gem_prime_vmap,
|
/linux-4.4.14/drivers/staging/comedi/ |
D | comedi_buf.c | 145 async->prealloc_buf = vmap(pages, n_pages, VM_MAP, in __comedi_buf_alloc()
|
/linux-4.4.14/Documentation/vm/ |
D | highmem.txt | 67 (*) vmap(). This can be used to make a long duration mapping of multiple
|
/linux-4.4.14/drivers/char/agp/ |
D | uninorth-agp.c | 422 bridge->gatt_table = vmap(uninorth_priv.pages_arr, (1 << page_order), 0, PAGE_KERNEL_NCG); in uninorth_create_gatt_table()
|
/linux-4.4.14/fs/pstore/ |
D | ram_core.c | 412 vaddr = vmap(pages, page_count, VM_MAP, prot); in persistent_ram_vmap()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_lib.c | 293 addr = vmap(pages, niov, VM_MAP, PAGE_KERNEL); in ksocknal_lib_kiov_vmap()
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_client.c | 660 addr = vmap(node->hvm.pages, nr_pages, VM_MAP | VM_IOREMAP, in xenbus_map_ring_valloc_hvm()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_gem.c | 396 msm_obj->vaddr = vmap(pages, obj->size >> PAGE_SHIFT, in msm_gem_vaddr_locked()
|
/linux-4.4.14/mm/ |
D | nommu.c | 451 void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) in vmap() function 456 EXPORT_SYMBOL(vmap);
|
D | mmap.c | 2927 struct vm_area_struct *copy_vma(struct vm_area_struct **vmap, in copy_vma() argument 2931 struct vm_area_struct *vma = *vmap; in copy_vma() 2971 *vmap = vma = new_vma; in copy_vma()
|
D | vmalloc.c | 1552 void *vmap(struct page **pages, unsigned int count, in vmap() function 1574 EXPORT_SYMBOL(vmap);
|
/linux-4.4.14/drivers/misc/ |
D | vmw_balloon.c | 998 b->batch_page = vmap(&b->page, 1, VM_MAP, PAGE_KERNEL); in vmballoon_init_batching()
|
/linux-4.4.14/kernel/ |
D | relay.c | 141 mem = vmap(buf->page_array, n_pages, VM_MAP, PAGE_KERNEL); in relay_alloc_buf()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | e500_mmu.c | 796 virt = vmap(pages, num_pages, VM_MAP, PAGE_KERNEL); in kvm_vcpu_ioctl_config_tlb()
|
/linux-4.4.14/drivers/base/ |
D | firmware_class.c | 623 buf->data = vmap(buf->pages, buf->nr_pages, 0, PAGE_KERNEL_RO); in fw_map_pages_buf()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 940 omap_obj->vaddr = vmap(pages, obj->size >> PAGE_SHIFT, in omap_gem_vaddr()
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 223 API-vmap
|
D | gpu.xml.db | 85 API-drm-gem-cma-prime-vmap
|
D | device-drivers.xml.db | 411 API-dma-buf-vmap
|
/linux-4.4.14/drivers/target/ |
D | target_core_transport.c | 2260 cmd->t_data_vmap = vmap(pages, cmd->t_data_nents, VM_MAP, PAGE_KERNEL); in transport_kmap_data_sg()
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_queue_pair.c | 848 produce_q->q_header = vmap(headers, 2, VM_MAP, PAGE_KERNEL); in qp_host_map_queues()
|
/linux-4.4.14/Documentation/filesystems/ |
D | proc.txt | 953 vmap vmap()ed pages
|
/linux-4.4.14/drivers/firewire/ |
D | ohci.c | 1015 ctx->buffer = vmap(pages, ARRAY_SIZE(pages), VM_MAP, PAGE_KERNEL); in ar_context_init()
|