Lines Matching refs:tc

505 SMMUTranslationProcess::configCacheLookup(Yield &yield, TranslContext &tc)
526 tc.stage1Enable = e->stage1_en;
527 tc.stage2Enable = e->stage2_en;
529 tc.ttb0 = e->ttb0;
530 tc.ttb1 = e->ttb1;
531 tc.asid = e->asid;
532 tc.httb = e->httb;
533 tc.vmid = e->vmid;
535 tc.stage1TranslGranule = e->stage1_tg;
536 tc.stage2TranslGranule = e->stage2_tg;
538 tc.t0sz = e->t0sz;
539 tc.s2t0sz = e->s2t0sz;
546 const TranslContext &tc)
555 e.stage1_en = tc.stage1Enable;
556 e.stage2_en = tc.stage2Enable;
557 e.ttb0 = tc.ttb0;
558 e.ttb1 = tc.ttb1;
559 e.asid = tc.asid;
560 e.httb = tc.httb;
561 e.vmid = tc.vmid;
562 e.stage1_tg = tc.stage1TranslGranule;
563 e.stage2_tg = tc.stage2TranslGranule;
564 e.t0sz = tc.t0sz;
565 e.s2t0sz = tc.s2t0sz;
578 TranslContext &tc,
581 tc.stage1Enable = false;
582 tc.stage2Enable = false;
592 tc.stage1Enable = true;
596 tc.stage2Enable = true;
600 tc.stage1Enable = true;
601 tc.stage2Enable = true;
612 if (tc.stage2Enable) {
613 tc.httb = ste.dw3.s2ttb << STE_S2TTB_SHIFT;
614 tc.vmid = ste.dw2.s2vmid;
615 tc.stage2TranslGranule = ste.dw2.s2tg;
616 tc.s2t0sz = ste.dw2.s2t0sz;
618 tc.httb = 0xdeadbeef;
619 tc.vmid = 0;
620 tc.stage2TranslGranule = TRANS_GRANULE_INVALID;
621 tc.s2t0sz = 0;
630 tc.ttb0 = cd.dw1.ttb0 << CD_TTB_SHIFT;
631 tc.ttb1 = cd.dw2.ttb1 << CD_TTB_SHIFT;
632 tc.asid = cd.dw0.asid;
633 tc.stage1TranslGranule = cd.dw0.tg0;
634 tc.t0sz = cd.dw0.t0sz;
636 tc.ttb0 = 0xcafebabe;
637 tc.ttb1 = 0xcafed00d;
638 tc.asid = 0;
639 tc.stage1TranslGranule = TRANS_GRANULE_INVALID;
640 tc.t0sz = 0;