Lines Matching refs:linear
56 } else if (dobj->linear) { in armada_gem_free_object()
59 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
61 kfree(dobj->linear); in armada_gem_free_object()
85 if (obj->page || obj->linear) in armada_gem_linear_back()
144 ret = drm_mm_insert_node_generic(&priv->linear, node, in armada_gem_linear_back()
152 obj->linear = node; in armada_gem_linear_back()
155 ptr = ioremap_wc(obj->linear->start, size); in armada_gem_linear_back()
158 drm_mm_remove_node(obj->linear); in armada_gem_linear_back()
160 kfree(obj->linear); in armada_gem_linear_back()
161 obj->linear = NULL; in armada_gem_linear_back()
168 obj->phys_addr = obj->linear->start; in armada_gem_linear_back()
169 obj->dev_addr = obj->linear->start; in armada_gem_linear_back()
184 if (!dobj->addr && dobj->linear) in armada_gem_map_object()
430 } else if (dobj->linear) { in armada_gem_prime_map_dma_buf()
459 if (!dobj->linear) in armada_gem_prime_unmap_dma_buf()