61 offset = nv_ro32(pgt, 8 + (offset >> 10));
99 nv_wo32(*pgpuobj, 0x00, flags0 | (adjust << 20));
100 nv_wo32(*pgpuobj, 0x04, length);
101 nv_wo32(*pgpuobj, 0x08, flags2 | offset);
102 nv_wo32(*pgpuobj, 0x0c, flags2 | offset);
119 data, size, &dmaobj);
120 *pobject = nv_object(dmaobj);
131 ret = dmaeng->
bind(dmaeng, *pobject, &dmaobj->
base, &gpuobj);
133 *pobject = nv_object(gpuobj);
143 nv04_dmaobj_ofuncs = {
144 .ctor = nv04_dmaobj_ctor,
151 nv04_dmaobj_sclass[] = {
152 { 0x0002, &nv04_dmaobj_ofuncs },
153 { 0x0003, &nv04_dmaobj_ofuncs },
154 { 0x003d, &nv04_dmaobj_ofuncs },
167 *pobject = nv_object(priv);
171 priv->
base.base.sclass = nv04_dmaobj_sclass;
172 priv->
base.bind = nv04_dmaobj_bind;
180 .ctor = nv04_dmaeng_ctor,