Home
last modified time | relevance | path

Searched refs:sgts (Results 1 – 4 of 4) sorted by relevance

/drivers/hwtracing/intel_th/
Dmsu-sink.c18 struct sg_table **sgts; member
30 priv->sgts = kcalloc(MAX_SGTS, sizeof(void *), GFP_KERNEL); in msu_sink_assign()
31 if (!priv->sgts) { in msu_sink_assign()
46 kfree(priv->sgts); in msu_sink_unassign()
68 priv->sgts[priv->nr_sgts++] = *sgt; in msu_sink_alloc_window()
/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c38 if (bo->sgts) { in panfrost_gem_free_object()
43 if (bo->sgts[i].sgl) { in panfrost_gem_free_object()
44 dma_unmap_sgtable(pfdev->dev, &bo->sgts[i], in panfrost_gem_free_object()
46 sg_free_table(&bo->sgts[i]); in panfrost_gem_free_object()
49 kvfree(bo->sgts); in panfrost_gem_free_object()
Dpanfrost_mmu.c418 bo->sgts = kvmalloc_array(bo->base.base.size / SZ_2M, in panfrost_mmu_map_fault_addr()
420 if (!bo->sgts) { in panfrost_mmu_map_fault_addr()
429 kvfree(bo->sgts); in panfrost_mmu_map_fault_addr()
430 bo->sgts = NULL; in panfrost_mmu_map_fault_addr()
461 sgt = &bo->sgts[page_offset / (SZ_2M / PAGE_SIZE)]; in panfrost_mmu_map_fault_addr()
Dpanfrost_gem.h14 struct sg_table *sgts; member