Home
last modified time | relevance | path

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

/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c81 mtk_gem->kvaddr = mtk_gem->cookie; in mtk_drm_gem_create()
227 if (mtk_gem->kvaddr) in mtk_drm_gem_prime_vmap()
243 mtk_gem->kvaddr = vmap(mtk_gem->pages, npages, VM_MAP, in mtk_drm_gem_prime_vmap()
245 if (!mtk_gem->kvaddr) { in mtk_drm_gem_prime_vmap()
252 dma_buf_map_set_vaddr(map, mtk_gem->kvaddr); in mtk_drm_gem_prime_vmap()
266 mtk_gem->kvaddr = NULL; in mtk_drm_gem_prime_vunmap()
Dmtk_drm_gem.h28 void *kvaddr; member
/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()
459 ret = dma_get_sgtable_attrs(drm->dev, sgt, rk_obj->kvaddr, in rockchip_gem_prime_get_sg_table()
547 dma_buf_map_set_vaddr(map, 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
/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()
/drivers/infiniband/hw/hfi1/
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()
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()
/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()
Dexynos_drm_gem.c60 exynos_gem->kvaddr = exynos_gem->cookie; in exynos_drm_alloc_buf()