/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | vmap.c | 32 u32 vmap = 0; in nvbios_vmap_table() local 36 vmap = nvbios_rd32(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 u32 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); in nvbios_vmap_parse() local 62 switch (!!vmap * *ver) { in nvbios_vmap_parse() [all …]
|
/Linux-v5.15/drivers/net/ |
D | vrf.c | 106 struct vrf_map vmap; member 179 return &nn_vrf->vmap; in netns_vrf_map() 225 static struct vrf_map_elem *vrf_map_lookup_elem(struct vrf_map *vmap, in vrf_map_lookup_elem() argument 232 hash_for_each_possible(vmap->ht, me, hnode, key) { in vrf_map_lookup_elem() 240 static void vrf_map_add_elem(struct vrf_map *vmap, struct vrf_map_elem *me) in vrf_map_add_elem() argument 246 hash_add(vmap->ht, &me->hnode, key); in vrf_map_add_elem() 254 static void vrf_map_lock(struct vrf_map *vmap) __acquires(&vmap->vmap_lock) in vrf_map_lock() argument 256 spin_lock(&vmap->vmap_lock); in vrf_map_lock() 259 static void vrf_map_unlock(struct vrf_map *vmap) __releases(&vmap->vmap_lock) in vrf_map_unlock() argument 261 spin_unlock(&vmap->vmap_lock); in vrf_map_unlock() [all …]
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | base.c | 87 u32 vmap; in nvkm_volt_map_min() local 89 vmap = nvbios_vmap_entry_parse(bios, id, &ver, &len, &info); in nvkm_volt_map_min() 90 if (vmap) { in nvkm_volt_map_min() 109 u32 vmap; in nvkm_volt_map() local 111 vmap = nvbios_vmap_entry_parse(bios, id, &ver, &len, &info); in nvkm_volt_map() 112 if (vmap) { in nvkm_volt_map() 295 struct nvbios_vmap vmap; in nvkm_volt_ctor() local 301 if (nvbios_vmap_parse(bios, &ver, &hdr, &cnt, &len, &vmap)) { in nvkm_volt_ctor() 302 volt->max0_id = vmap.max0; in nvkm_volt_ctor() 303 volt->max1_id = vmap.max1; in nvkm_volt_ctor() [all …]
|
/Linux-v5.15/Documentation/translations/zh_CN/core-api/ |
D | cachetlb.rst | 313 vmap/vmalloc API设置的。由于内核I/O是通过物理页进行的,I/O子系统假定用户 314 映射和内核偏移映射是唯一的别名。这对vmap别名来说是不正确的,所以内核中任何 315 试图对vmap区域进行I/O的东西都必须手动管理一致性。它必须在做I/O之前刷新vmap 320 刷新vmap区域中指定的虚拟地址范围的内核缓存。这是为了确保内核在vmap范围 326 在vmap区域的一个给定的虚拟地址范围的缓存,这可以防止处理器在物理页的I/O 327 发生时通过投机性地读取数据而使缓存变脏。这只对读入vmap区域的数据是必要的。
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_format_helper.c | 368 uint32_t dst_format, void *vmap, in drm_fb_blit_rect_dstclip() argument 381 drm_fb_memcpy_dstclip(dst, dst_pitch, vmap, fb, clip); in drm_fb_blit_rect_dstclip() 387 vmap, fb, clip, in drm_fb_blit_rect_dstclip() 394 vmap, fb, clip); in drm_fb_blit_rect_dstclip() 421 uint32_t dst_format, void *vmap, in drm_fb_blit_dstclip() argument 430 return drm_fb_blit_rect_dstclip(dst, dst_pitch, dst_format, vmap, fb, in drm_fb_blit_dstclip()
|
D | drm_memory.c | 95 addr = vmap(page_map, num_pages, VM_IOREMAP, PAGE_AGP); in agp_remap()
|
/Linux-v5.15/include/drm/ |
D | drm_format_helper.h | 32 uint32_t dst_format, void *vmap, 36 uint32_t dst_format, void *vmap,
|
/Linux-v5.15/kernel/dma/ |
D | remap.c | 27 vaddr = vmap(pages, PAGE_ALIGN(size) >> PAGE_SHIFT, in dma_common_pages_remap() 51 vaddr = vmap(pages, count, VM_DMA_COHERENT, prot); in dma_common_contiguous_remap()
|
/Linux-v5.15/arch/arm/mm/ |
D | fault-armv.c | 247 p1 = vmap(&page, 1, VM_IOREMAP, prot); in check_writebuffer_bugs() 248 p2 = vmap(&page, 1, VM_IOREMAP, prot); in check_writebuffer_bugs()
|
/Linux-v5.15/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 334 etnaviv_obj->vaddr = etnaviv_obj->ops->vmap(etnaviv_obj); in etnaviv_gem_vmap() 350 return vmap(pages, obj->base.size >> PAGE_SHIFT, in etnaviv_gem_vmap_impl() 499 .vmap = etnaviv_gem_vmap_impl, 559 .vmap = etnaviv_gem_prime_vmap, 722 .vmap = etnaviv_gem_vmap_impl,
|
D | etnaviv_gem.h | 67 void *(*vmap)(struct etnaviv_gem_object *); member
|
D | etnaviv_gem_prime.c | 97 .vmap = etnaviv_gem_prime_vmap_impl,
|
/Linux-v5.15/Documentation/features/vm/huge-vmap/ |
D | arch-support.txt | 2 # Feature name: huge-vmap
|
/Linux-v5.15/drivers/gpu/drm/hyperv/ |
D | hyperv_drm_modeset.c | 26 void *vmap = map->vaddr; /* TODO: Use mapping abstraction properly */ in hyperv_blit_to_vram_rect() local 32 drm_fb_memcpy_dstclip(hv->vram, fb->pitches[0], vmap, fb, rect); in hyperv_blit_to_vram_rect()
|
/Linux-v5.15/arch/x86/kernel/ |
D | irq_64.c | 48 va = vmap(pages, IRQ_STACK_SIZE / PAGE_SIZE, VM_MAP, PAGE_KERNEL); in map_irq_stack()
|
/Linux-v5.15/drivers/gpu/drm/tiny/ |
D | cirrus.c | 320 void *vmap = map->vaddr; /* TODO: Use mapping abstraction properly */ in cirrus_fb_blit_rect() local 328 vmap, fb, rect); in cirrus_fb_blit_rect() 333 vmap, fb, rect, false); in cirrus_fb_blit_rect() 338 vmap, fb, rect); in cirrus_fb_blit_rect()
|
D | simpledrm.c | 642 void *vmap = shadow_plane_state->data[0].vaddr; /* TODO: Use mapping abstraction */ in simpledrm_simple_display_pipe_enable() local 653 sdev->format->format, vmap, fb); in simpledrm_simple_display_pipe_enable() 680 void *vmap = shadow_plane_state->data[0].vaddr; /* TODO: Use mapping abstraction */ in simpledrm_simple_display_pipe_update() local 696 sdev->format->format, vmap, fb, &clip); in simpledrm_simple_display_pipe_update()
|
/Linux-v5.15/arch/hexagon/kernel/ |
D | vdso.c | 28 vdso = vmap(&vdso_page, 1, 0, PAGE_KERNEL); in vdso_init()
|
/Linux-v5.15/drivers/gpu/drm/mediatek/ |
D | mtk_drm_gem.c | 22 .vmap = mtk_drm_gem_prime_vmap, 245 mtk_gem->kvaddr = vmap(mtk_gem->pages, npages, VM_MAP, in mtk_drm_gem_prime_vmap()
|
/Linux-v5.15/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.c | 68 .vmap = xen_drm_front_gem_prime_vmap, 302 vaddr = vmap(xen_obj->pages, xen_obj->num_pages, in xen_drm_front_gem_prime_vmap()
|
/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 136 rk_obj->kvaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, in rockchip_gem_alloc_iommu() 302 .vmap = rockchip_gem_prime_vmap, 540 void *vaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, in rockchip_gem_prime_vmap()
|
/Linux-v5.15/Documentation/core-api/ |
D | cachetlb.rst | 371 vmap/vmalloc API. Since kernel I/O goes via physical pages, the I/O 373 the only aliases. This isn't true for vmap aliases, so anything in 374 the kernel trying to do I/O to vmap areas must manually manage 375 coherency. It must do this by flushing the vmap range before doing 381 the vmap area. This is to make sure that any data the kernel 382 modified in the vmap range is made visible to the physical 389 the cache for a given virtual address range in the vmap area 393 vmap area.
|
/Linux-v5.15/drivers/gpu/drm/virtio/ |
D | virtgpu_prime.c | 55 .vmap = drm_gem_dmabuf_vmap,
|
/Linux-v5.15/drivers/dma-buf/heaps/ |
D | cma_heap.c | 196 vaddr = vmap(buffer->pages, buffer->pagecount, VM_MAP, PAGE_KERNEL); in cma_heap_do_vmap() 269 .vmap = cma_heap_vmap,
|
/Linux-v5.15/include/linux/ |
D | dma-buf.h | 286 int (*vmap)(struct dma_buf *dmabuf, struct dma_buf_map *map); member
|