Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/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.c478 bo->sgts = kvmalloc_array(bo->base.base.size / SZ_2M, in panfrost_mmu_map_fault_addr()
480 if (!bo->sgts) { in panfrost_mmu_map_fault_addr()
489 kvfree(bo->sgts); in panfrost_mmu_map_fault_addr()
490 bo->sgts = NULL; in panfrost_mmu_map_fault_addr()
514 sgt = &bo->sgts[page_offset / (SZ_2M / PAGE_SIZE)]; in panfrost_mmu_map_fault_addr()
Dpanfrost_gem.h14 struct sg_table *sgts; member