Lines Matching refs:cxt
20 struct tlb_inv_context *cxt)
24 local_irq_save(cxt->flags);
36 val = cxt->tcr = read_sysreg_el1(SYS_TCR);
39 val = cxt->sctlr = read_sysreg_el1(SYS_SCTLR);
63 static void __tlb_switch_to_host(struct tlb_inv_context *cxt)
75 write_sysreg_el1(cxt->tcr, SYS_TCR);
76 write_sysreg_el1(cxt->sctlr, SYS_SCTLR);
79 local_irq_restore(cxt->flags);
85 struct tlb_inv_context cxt;
90 __tlb_switch_to_guest(mmu, &cxt);
111 __tlb_switch_to_host(&cxt);
116 struct tlb_inv_context cxt;
121 __tlb_switch_to_guest(mmu, &cxt);
127 __tlb_switch_to_host(&cxt);
132 struct tlb_inv_context cxt;
135 __tlb_switch_to_guest(mmu, &cxt);
142 __tlb_switch_to_host(&cxt);