Lines Matching refs:ctxvals_pos

250 	ctx->ctxvals_pos += 0x400; /* padding... no idea why you need it */  in nv50_grctx_generate()
283 *size = ctx.ctxvals_pos * 4; in nv50_grctx_init()
789 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + i), val); in dd_emit()
791 ctx->ctxvals_pos += num; in dd_emit()
799 base = ctx->ctxvals_pos; in nv50_gr_construct_mmio_ddata()
1107 num = ctx->ctxvals_pos - base; in nv50_gr_construct_mmio_ddata()
1108 ctx->ctxvals_pos = base; in nv50_gr_construct_mmio_ddata()
1162 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + (i << 3)), val); in xf_emit()
1164 ctx->ctxvals_pos += num << 3; in xf_emit()
1197 offset = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer1()
1202 ctx->ctxvals_pos = offset; in nv50_gr_construct_xfer1()
1208 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1209 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1212 ctx->ctxvals_pos = offset + 0x1; in nv50_gr_construct_xfer1()
1218 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1219 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1222 ctx->ctxvals_pos = offset + 0x2; in nv50_gr_construct_xfer1()
1229 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1230 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1233 ctx->ctxvals_pos = offset + 3; in nv50_gr_construct_xfer1()
1237 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1238 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1242 ctx->ctxvals_pos = offset + 4 + i; in nv50_gr_construct_xfer1()
1247 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1248 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1252 ctx->ctxvals_pos = offset; in nv50_gr_construct_xfer1()
1259 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1260 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1263 ctx->ctxvals_pos = offset + 1; in nv50_gr_construct_xfer1()
1265 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1266 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1269 ctx->ctxvals_pos = offset + 2; in nv50_gr_construct_xfer1()
1273 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1274 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1277 ctx->ctxvals_pos = offset + 3; in nv50_gr_construct_xfer1()
1279 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1280 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1283 ctx->ctxvals_pos = offset + 4; in nv50_gr_construct_xfer1()
1285 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1286 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1289 ctx->ctxvals_pos = offset + 5; in nv50_gr_construct_xfer1()
1296 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1297 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1300 ctx->ctxvals_pos = offset + 6; in nv50_gr_construct_xfer1()
1312 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1313 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1316 ctx->ctxvals_pos = offset + 7; in nv50_gr_construct_xfer1()
1333 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1334 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1337 ctx->ctxvals_pos = offset + size * 8; in nv50_gr_construct_xfer1()
1338 ctx->ctxvals_pos = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer1()
3281 offset = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer2()
3285 ctx->ctxvals_pos = offset + i; in nv50_gr_construct_xfer2()
3292 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3293 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3297 ctx->ctxvals_pos = offset; in nv50_gr_construct_xfer2()
3305 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3306 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3309 ctx->ctxvals_pos = offset + 1; in nv50_gr_construct_xfer2()
3314 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3315 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3318 ctx->ctxvals_pos = offset + 2; in nv50_gr_construct_xfer2()
3325 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3326 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3329 ctx->ctxvals_pos = offset + 3; in nv50_gr_construct_xfer2()
3336 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3337 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3339 ctx->ctxvals_pos = offset + size * 8; in nv50_gr_construct_xfer2()
3340 ctx->ctxvals_pos = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer2()