Home
last modified time | relevance | path

Searched refs:kvaddr (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/arch/arc/mm/
Dhighmem.c70 unsigned long kvaddr = (unsigned long)kv; in kunmap_atomic_high() local
72 if (kvaddr >= FIXMAP_BASE && kvaddr < (FIXMAP_BASE + FIXMAP_SIZE)) { in kunmap_atomic_high()
83 WARN_ON(kvaddr != FIXMAP_ADDR(idx)); in kunmap_atomic_high()
85 pte_clear(&init_mm, kvaddr, fixmap_page_table + idx); in kunmap_atomic_high()
86 local_flush_tlb_kernel_range(kvaddr, kvaddr + PAGE_SIZE); in kunmap_atomic_high()
93 static noinline pte_t * __init alloc_kmap_pgtable(unsigned long kvaddr) in alloc_kmap_pgtable() argument
95 pmd_t *pmd_k = pmd_off_k(kvaddr); in alloc_kmap_pgtable()
/Linux-v5.10/arch/xtensa/mm/
Dhighmem.c57 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
59 if (kvaddr >= (void *)FIXADDR_START && in kunmap_atomic_high()
60 kvaddr < (void *)FIXADDR_TOP) { in kunmap_atomic_high()
62 DCACHE_ALIAS((unsigned long)kvaddr)); in kunmap_atomic_high()
70 pte_clear(&init_mm, kvaddr, kmap_pte + idx); in kunmap_atomic_high()
71 local_flush_tlb_kernel_range((unsigned long)kvaddr, in kunmap_atomic_high()
72 (unsigned long)kvaddr + PAGE_SIZE); in kunmap_atomic_high()
Dcache.c63 unsigned long kvaddr; in kmap_invalidate_coherent() local
66 kvaddr = (unsigned long)page_to_virt(page); in kmap_invalidate_coherent()
68 __invalidate_dcache_page(kvaddr); in kmap_invalidate_coherent()
70 kvaddr = TLBTEMP_BASE_1 + in kmap_invalidate_coherent()
74 __invalidate_dcache_page_alias(kvaddr, in kmap_invalidate_coherent()
96 void *kvaddr = coherent_kvaddr(page, TLBTEMP_BASE_1, vaddr, &paddr); in clear_user_highpage() local
101 clear_page_alias(kvaddr, paddr); in clear_user_highpage()
/Linux-v5.10/arch/nds32/mm/
Dhighmem.c36 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
38 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_atomic_high()
39 unsigned long vaddr = (unsigned long)kvaddr; in kunmap_atomic_high()
/Linux-v5.10/arch/sh/mm/
Dkmap.c50 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument
52 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_coherent()
53 unsigned long vaddr = (unsigned long)kvaddr & PAGE_MASK; in kunmap_coherent()
Dnommu.c86 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument
/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c67 mtk_gem->kvaddr = mtk_gem->cookie; in mtk_drm_gem_create()
238 if (mtk_gem->kvaddr) in mtk_drm_gem_prime_vmap()
239 return mtk_gem->kvaddr; in mtk_drm_gem_prime_vmap()
252 mtk_gem->kvaddr = vmap(mtk_gem->pages, npages, VM_MAP, in mtk_drm_gem_prime_vmap()
258 return mtk_gem->kvaddr; in mtk_drm_gem_prime_vmap()
269 mtk_gem->kvaddr = 0; in mtk_drm_gem_prime_vunmap()
Dmtk_drm_gem.h28 void *kvaddr; member
/Linux-v5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c135 rk_obj->kvaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, in rockchip_gem_alloc_iommu()
137 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_iommu()
165 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma()
168 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_dma()
191 vunmap(rk_obj->kvaddr); in rockchip_gem_free_iommu()
201 dma_free_attrs(drm->dev, obj->size, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_gem_free_dma()
232 return dma_mmap_attrs(drm->dev, vma, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_drm_gem_object_mmap_dma()
451 ret = dma_get_sgtable_attrs(drm->dev, sgt, rk_obj->kvaddr, in rockchip_gem_prime_get_sg_table()
535 return rk_obj->kvaddr; in rockchip_gem_prime_vmap()
Drockchip_drm_fbdev.c94 fbi->screen_base = rk_obj->kvaddr + offset; in rockchip_drm_fbdev_create()
100 rk_obj->kvaddr, in rockchip_drm_fbdev_create()
Drockchip_drm_gem.h16 void *kvaddr; member
/Linux-v5.10/arch/arm/mm/
Dhighmem.c76 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
78 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
81 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_atomic_high()
/Linux-v5.10/arch/microblaze/mm/
Dhighmem.c54 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
56 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
/Linux-v5.10/arch/powerpc/mm/
Dhighmem.c43 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
45 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
/Linux-v5.10/arch/sparc/mm/
Dhighmem.c75 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
77 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_user_sdma.c94 void *kvaddr; /* FIXME: only for pio hack */ member
258 struct page *page, void *kvaddr, in qib_user_sdma_init_frag() argument
268 pkt->addr[i].kvaddr = kvaddr; in qib_user_sdma_init_frag()
299 u16 offset, u16 len, void *kvaddr) in qib_user_sdma_page_to_frags() argument
368 page, kvaddr, /* struct page, virt addr */ in qib_user_sdma_page_to_frags()
385 pkt->addr[pkt->index].kvaddr, in qib_user_sdma_page_to_frags()
439 pbc16 = (__le16 *)pkt->addr[pkt->index].kvaddr; in qib_user_sdma_page_to_frags()
476 pkt->addr[pkt->index].kvaddr, in qib_user_sdma_page_to_frags()
544 kvaddr = NULL; in qib_user_sdma_page_to_frags()
630 if (pkt->addr[i].kvaddr) in qib_user_sdma_free_pkt_frag()
[all …]
/Linux-v5.10/arch/mips/mm/
Dhighmem.c39 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
41 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
/Linux-v5.10/arch/x86/mm/
Dhighmem_32.c33 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
35 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
Diomap_32.c89 iounmap_atomic(void __iomem *kvaddr) in iounmap_atomic() argument
91 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in iounmap_atomic()
/Linux-v5.10/arch/csky/mm/
Dhighmem.c40 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument
42 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
/Linux-v5.10/arch/x86/include/asm/
Diomap.h19 iounmap_atomic(void __iomem *kvaddr);
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dsdma.h660 int type, void *kvaddr, struct page *page,
816 void *kvaddr, in sdma_txadd_kvaddr() argument
824 kvaddr, NULL, 0, len); in sdma_txadd_kvaddr()
831 kvaddr, in sdma_txadd_kvaddr()
/Linux-v5.10/drivers/gpu/drm/exynos/
Dexynos_drm_gem.h43 void *kvaddr; member
Dexynos_drm_fbdev.c95 fbi->screen_buffer = exynos_gem->kvaddr + offset; in exynos_drm_fbdev_update()
/Linux-v5.10/arch/sh/include/asm/
Dcacheflush.h97 void kunmap_coherent(void *kvaddr);

12