Searched refs:sgts (Results 1 – 4 of 4) sorted by relevance
18 struct sg_table **sgts; member30 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()
38 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()
478 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()
14 struct sg_table *sgts; member