Lines Matching refs:dmaobj
43 struct gf119_dmaobj *dmaobj = gf119_dmaobj(base); in gf119_dmaobj_bind() local
44 struct nvkm_device *device = dmaobj->base.dma->engine.subdev.device; in gf119_dmaobj_bind()
50 nvkm_wo32(*pgpuobj, 0x00, dmaobj->flags0); in gf119_dmaobj_bind()
51 nvkm_wo32(*pgpuobj, 0x04, dmaobj->base.start >> 8); in gf119_dmaobj_bind()
52 nvkm_wo32(*pgpuobj, 0x08, dmaobj->base.limit >> 8); in gf119_dmaobj_bind()
75 struct gf119_dmaobj *dmaobj; in gf119_dmaobj_new() local
79 if (!(dmaobj = kzalloc(sizeof(*dmaobj), GFP_KERNEL))) in gf119_dmaobj_new()
81 *pdmaobj = &dmaobj->base; in gf119_dmaobj_new()
84 &data, &size, &dmaobj->base); in gf119_dmaobj_new()
100 if (dmaobj->base.target != NV_MEM_TARGET_VM) { in gf119_dmaobj_new()
112 dmaobj->flags0 = (kind << 20) | (page << 6); in gf119_dmaobj_new()
114 switch (dmaobj->base.target) { in gf119_dmaobj_new()
116 dmaobj->flags0 |= 0x00000009; in gf119_dmaobj_new()