Lines Matching refs:tsc
364 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nvc0_validate_tsc() local
368 if (!tsc) { in nvc0_validate_tsc()
372 if (tsc->id < 0) { in nvc0_validate_tsc()
373 tsc->id = nvc0_screen_tsc_alloc(nvc0->screen, tsc); in nvc0_validate_tsc()
376 65536 + tsc->id * 32, NOUVEAU_BO_VRAM, in nvc0_validate_tsc()
377 32, tsc->tsc); in nvc0_validate_tsc()
380 nvc0->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nvc0_validate_tsc()
382 commands[n++] = (tsc->id << 12) | (i << 4) | 1; in nvc0_validate_tsc()
407 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nve4_validate_tsc() local
409 if (!tsc) { in nve4_validate_tsc()
413 if (tsc->id < 0) { in nve4_validate_tsc()
414 tsc->id = nvc0_screen_tsc_alloc(nvc0->screen, tsc); in nve4_validate_tsc()
418 PUSH_DATAh(push, txc->offset + 65536 + (tsc->id * 32)); in nve4_validate_tsc()
419 PUSH_DATA (push, txc->offset + 65536 + (tsc->id * 32)); in nve4_validate_tsc()
425 PUSH_DATAp(push, &tsc->tsc[0], 8); in nve4_validate_tsc()
429 nvc0->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nve4_validate_tsc()
432 nvc0->tex_handles[s][i] |= tsc->id << 20; in nve4_validate_tsc()