Lines Matching refs:gpuobj
37 struct nouveau_gpuobj *gpuobj = dev_priv->gart_info.sg_ctxdma; in nv04_sgdma_bind() local
49 nv_wo32(gpuobj, (pte * 4) + 0, offset_l | 3); in nv04_sgdma_bind()
63 struct nouveau_gpuobj *gpuobj = dev_priv->gart_info.sg_ctxdma; in nv04_sgdma_unbind() local
74 nv_wo32(gpuobj, (pte * 4) + 0, 0x00000000); in nv04_sgdma_unbind()
337 struct nouveau_gpuobj *gpuobj = NULL; in nouveau_sgdma_init() local
382 NVOBJ_FLAG_ZERO_FREE, &gpuobj); in nouveau_sgdma_init()
388 dev_priv->gart_info.sg_ctxdma = gpuobj; in nouveau_sgdma_init()
395 NVOBJ_FLAG_ZERO_FREE, &gpuobj); in nouveau_sgdma_init()
401 nv_wo32(gpuobj, 0, NV_CLASS_DMA_IN_MEMORY | in nouveau_sgdma_init()
406 nv_wo32(gpuobj, 4, aper_size - 1); in nouveau_sgdma_init()
408 dev_priv->gart_info.sg_ctxdma = gpuobj; in nouveau_sgdma_init()
437 struct nouveau_gpuobj *gpuobj = dev_priv->gart_info.sg_ctxdma; in nouveau_sgdma_get_physical() local
442 return (nv_ro32(gpuobj, 4 * pte) & ~NV_CTXDMA_PAGE_MASK) | in nouveau_sgdma_get_physical()