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);
117 struct tlb_inv_context cxt;
122 __tlb_switch_to_guest(mmu, &cxt);
143 __tlb_switch_to_host(&cxt);
149 struct tlb_inv_context cxt;
162 __tlb_switch_to_guest(mmu, &cxt);
171 __tlb_switch_to_host(&cxt);
176 struct tlb_inv_context cxt;
181 __tlb_switch_to_guest(mmu, &cxt);
187 __tlb_switch_to_host(&cxt);
192 struct tlb_inv_context cxt;
195 __tlb_switch_to_guest(mmu, &cxt);
202 __tlb_switch_to_host(&cxt);