Home
last modified time | relevance | path

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

/linux-6.1.9/arch/xtensa/mm/
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()
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/
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-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c136 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()
Drockchip_drm_gem.h16 void *kvaddr; member
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c81 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()
Dmtk_drm_gem.h28 void *kvaddr; member
/linux-6.1.9/arch/arc/mm/
Dhighmem.c50 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/
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 …]
Dqib_file_ops.c709 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/
Dsdma.h619 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()
Dsdma.c3072 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/
Dexynos_drm_gem.h43 void *kvaddr; member
Dexynos_drm_fbdev.c80 fbi->screen_buffer = exynos_gem->kvaddr + offset; in exynos_drm_fbdev_update()
Dexynos_drm_gem.c65 exynos_gem->kvaddr = exynos_gem->cookie; in exynos_drm_alloc_buf()
/linux-6.1.9/arch/sh/include/asm/
Dcacheflush.h93 void kunmap_coherent(void *kvaddr);