Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c137 rk_obj->kvaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, in rockchip_gem_alloc_iommu()
139 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_iommu()
167 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma()
170 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_dma()
193 vunmap(rk_obj->kvaddr); in rockchip_gem_free_iommu()
203 dma_free_attrs(drm->dev, obj->size, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_gem_free_dma()
234 return dma_mmap_attrs(drm->dev, vma, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_drm_gem_object_mmap_dma()
440 ret = dma_get_sgtable_attrs(drm->dev, sgt, rk_obj->kvaddr, in rockchip_gem_prime_get_sg_table()
520 if (rk_obj->kvaddr) in rockchip_gem_prime_vmap()
521 vaddr = rk_obj->kvaddr; in rockchip_gem_prime_vmap()
[all …]
H A Drockchip_drm_gem.h16 void *kvaddr; member
/linux/arch/sh/mm/
H A Dkmap.c51 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument
53 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_coherent()
54 unsigned long vaddr = (unsigned long)kvaddr & PAGE_MASK; in kunmap_coherent()
H A Dnommu.c88 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument
/linux/arch/arc/mm/
H A 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/drivers/infiniband/hw/qib/
H A 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
367 page, kvaddr, /* struct page, virt addr */ in qib_user_sdma_page_to_frags()
384 pkt->addr[pkt->index].kvaddr, in qib_user_sdma_page_to_frags()
438 pbc16 = (__le16 *)pkt->addr[pkt->index].kvaddr; in qib_user_sdma_page_to_frags()
475 pkt->addr[pkt->index].kvaddr, in qib_user_sdma_page_to_frags()
543 kvaddr = NULL; in qib_user_sdma_page_to_frags()
632 } else if (pkt->addr[i].kvaddr) { in qib_user_sdma_free_pkt_frag()
[all …]
H A 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/drivers/infiniband/hw/hfi1/
H A Dsdma.h627 int type, void *kvaddr, struct page *page,
798 void *kvaddr, in sdma_txadd_kvaddr() argument
806 kvaddr, NULL, 0, len); in sdma_txadd_kvaddr()
813 kvaddr, in sdma_txadd_kvaddr()
H A Dsdma.c3070 int type, void *kvaddr, struct page *page, in ext_coal_sdma_tx_descs() argument
3090 kvaddr = kmap_local_page(page); in ext_coal_sdma_tx_descs()
3091 kvaddr += offset; in ext_coal_sdma_tx_descs()
3092 } else if (WARN_ON(!kvaddr)) { in ext_coal_sdma_tx_descs()
3097 memcpy(tx->coalesce_buf + tx->coalesce_idx, kvaddr, len); in ext_coal_sdma_tx_descs()
3100 kunmap_local(kvaddr); in ext_coal_sdma_tx_descs()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_gem.h28 void *kvaddr; member
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.h43 void *kvaddr; member
H A Dexynos_drm_fbdev.c83 fbi->screen_buffer = exynos_gem->kvaddr + offset; in exynos_drm_fbdev_update()
H A Dexynos_drm_gem.c65 exynos_gem->kvaddr = exynos_gem->cookie; in exynos_drm_alloc_buf()
/linux/arch/sh/include/asm/
H A Dcacheflush.h101 void kunmap_coherent(void *kvaddr);