/linux-6.1.9/arch/xtensa/mm/ |
D | cache.c | 63 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() 91 void *kvaddr = coherent_kvaddr(page, TLBTEMP_BASE_1, vaddr, &paddr); in clear_user_highpage() local 96 clear_page_alias(kvaddr, paddr); in clear_user_highpage()
|
/linux-6.1.9/arch/sh/mm/ |
D | kmap.c | 50 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()
|
D | nommu.c | 86 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument
|
/linux-6.1.9/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() 138 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_iommu() 166 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma() 169 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_dma() 192 vunmap(rk_obj->kvaddr); in rockchip_gem_free_iommu() 202 dma_free_attrs(drm->dev, obj->size, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_gem_free_dma() 233 return dma_mmap_attrs(drm->dev, vma, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_drm_gem_object_mmap_dma() 443 ret = dma_get_sgtable_attrs(drm->dev, sgt, rk_obj->kvaddr, in rockchip_gem_prime_get_sg_table() 531 iosys_map_set_vaddr(map, rk_obj->kvaddr); in rockchip_gem_prime_vmap()
|
D | rockchip_drm_gem.h | 16 void *kvaddr; member
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_drm_gem.c | 81 mtk_gem->kvaddr = mtk_gem->cookie; in mtk_drm_gem_create() 229 if (mtk_gem->kvaddr) in mtk_drm_gem_prime_vmap() 245 mtk_gem->kvaddr = vmap(mtk_gem->pages, npages, VM_MAP, in mtk_drm_gem_prime_vmap() 250 iosys_map_set_vaddr(map, mtk_gem->kvaddr); in mtk_drm_gem_prime_vmap() 265 mtk_gem->kvaddr = 0; in mtk_drm_gem_prime_vunmap()
|
D | mtk_drm_gem.h | 28 void *kvaddr; member
|
/linux-6.1.9/arch/arc/mm/ |
D | highmem.c | 50 static noinline pte_t * __init alloc_kmap_pgtable(unsigned long kvaddr) in alloc_kmap_pgtable() argument 52 pmd_t *pmd_k = pmd_off_k(kvaddr); in alloc_kmap_pgtable()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 94 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 …]
|
D | qib_file_ops.c | 709 unsigned len, void *kvaddr, u32 write_ok, char *what) in qib_mmap_mem() argument 739 pfn = virt_to_phys(kvaddr) >> PAGE_SHIFT; in qib_mmap_mem()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | sdma.h | 619 int type, void *kvaddr, struct page *page, 775 void *kvaddr, in sdma_txadd_kvaddr() argument 783 kvaddr, NULL, 0, len); in sdma_txadd_kvaddr() 790 kvaddr, in sdma_txadd_kvaddr()
|
D | sdma.c | 3072 int type, void *kvaddr, struct page *page, in ext_coal_sdma_tx_descs() argument 3092 kvaddr = kmap_local_page(page); in ext_coal_sdma_tx_descs() 3093 kvaddr += offset; in ext_coal_sdma_tx_descs() 3094 } else if (WARN_ON(!kvaddr)) { in ext_coal_sdma_tx_descs() 3099 memcpy(tx->coalesce_buf + tx->coalesce_idx, kvaddr, len); in ext_coal_sdma_tx_descs() 3102 kunmap_local(kvaddr); in ext_coal_sdma_tx_descs()
|
/linux-6.1.9/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.h | 43 void *kvaddr; member
|
D | exynos_drm_fbdev.c | 80 fbi->screen_buffer = exynos_gem->kvaddr + offset; in exynos_drm_fbdev_update()
|
D | exynos_drm_gem.c | 65 exynos_gem->kvaddr = exynos_gem->cookie; in exynos_drm_alloc_buf()
|
/linux-6.1.9/arch/sh/include/asm/ |
D | cacheflush.h | 93 void kunmap_coherent(void *kvaddr);
|