Searched refs:dma_addrs (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 618 dma_addr_t *dma_addrs, u64 *pfns) in nouveau_dmem_migrate_chunk() argument 625 args->src[i], dma_addrs + nr_dma, pfns + i); in nouveau_dmem_migrate_chunk() 626 if (!dma_mapping_error(drm->dev->dev, dma_addrs[nr_dma])) in nouveau_dmem_migrate_chunk() 637 dma_unmap_page(drm->dev->dev, dma_addrs[nr_dma], PAGE_SIZE, in nouveau_dmem_migrate_chunk() 652 dma_addr_t *dma_addrs; in nouveau_dmem_migrate_vma() local 673 dma_addrs = kmalloc_array(max, sizeof(*dma_addrs), GFP_KERNEL); in nouveau_dmem_migrate_vma() 674 if (!dma_addrs) in nouveau_dmem_migrate_vma() 692 nouveau_dmem_migrate_chunk(drm, svmm, &args, dma_addrs, in nouveau_dmem_migrate_vma() 701 kfree(dma_addrs); in nouveau_dmem_migrate_vma()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 85 dma_addr_t *dma_addrs; member 338 dma_unmap_page(dev, node->dma_addrs[i], PAGE_SIZE, in gk20a_instobj_dtor_iommu() 436 sizeof(*node->dma_addrs)) * npages), GFP_KERNEL))) in gk20a_instobj_ctor_iommu() 439 node->dma_addrs = (void *)(node->pages + npages); in gk20a_instobj_ctor_iommu() 460 node->dma_addrs[i] = dma_adr; in gk20a_instobj_ctor_iommu() 477 ret = iommu_map(imem->domain, offset, node->dma_addrs[i], in gk20a_instobj_ctor_iommu() 503 dma_addr_t dma_addr = node->dma_addrs[i]; in gk20a_instobj_ctor_iommu()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 90 dma_addr_t *dma_addrs; member 280 omap_obj->dma_addrs = addrs; in omap_gem_attach_pages() 303 if (omap_obj->dma_addrs[i]) in omap_gem_detach_pages() 304 dma_unmap_page(obj->dev->dev, omap_obj->dma_addrs[i], in omap_gem_detach_pages() 308 kfree(omap_obj->dma_addrs); in omap_gem_detach_pages() 309 omap_obj->dma_addrs = NULL; in omap_gem_detach_pages() 710 if (omap_obj->dma_addrs[pgoff]) { in omap_gem_cpu_sync_page() 711 dma_unmap_page(dev->dev, omap_obj->dma_addrs[pgoff], in omap_gem_cpu_sync_page() 713 omap_obj->dma_addrs[pgoff] = 0; in omap_gem_cpu_sync_page() 731 if (!omap_obj->dma_addrs[i]) { in omap_gem_dma_sync_buffer() [all …]
|
/drivers/net/ethernet/mediatek/ |
D | mtk_star_emac.c | 229 dma_addr_t dma_addrs[MTK_STAR_RING_NUM_DESCS]; member 300 desc_data->dma_addr = ring->dma_addrs[ring->tail]; in mtk_star_ring_pop_tail() 303 ring->dma_addrs[ring->tail] = 0; in mtk_star_ring_pop_tail() 326 ring->dma_addrs[ring->head] = desc_data->dma_addr; in mtk_star_ring_push_head() 677 ring->dma_addrs[i] = dma_addr; in mtk_star_prepare_rx_skbs() 692 if (!ring->dma_addrs[i]) in mtk_star_ring_free_skbs() 695 desc_data.dma_addr = ring->dma_addrs[i]; in mtk_star_ring_free_skbs()
|