Home
last modified time | relevance | path

Searched refs:ttbr1 (Results 1 – 8 of 8) sorted by relevance

/linux/arch/arm/mm/
A Dproc-v7-3level.S117 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp
119 cmp \ttbr1, \tmp, lsr #12 @ PHYS_OFFSET > PAGE_OFFSET?
132 mov \tmp, \ttbr1, lsr #20
133 mov \ttbr1, \ttbr1, lsl #12
134 addls \ttbr1, \ttbr1, #TTBR1_OFFSET
135 mcrr p15, 1, \ttbr1, \tmp, c2 @ load TTBR1
A Dproc-v7-2level.S144 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp
148 ALT_SMP(orr \ttbr1, \ttbr1, #TTB_FLAGS_SMP)
149 ALT_UP(orr \ttbr1, \ttbr1, #TTB_FLAGS_UP)
150 mcr p15, 0, \ttbr1, c2, c0, 1 @ load TTB1
/linux/arch/arm64/include/asm/
A Duaccess.h96 unsigned long flags, ttbr0, ttbr1; in __uaccess_ttbr0_enable() local
107 ttbr1 = read_sysreg(ttbr1_el1); in __uaccess_ttbr0_enable()
108 ttbr1 &= ~TTBR_ASID_MASK; /* safety measure */ in __uaccess_ttbr0_enable()
109 ttbr1 |= ttbr0 & TTBR_ASID_MASK; in __uaccess_ttbr0_enable()
110 write_sysreg(ttbr1, ttbr1_el1); in __uaccess_ttbr0_enable()
A Dmmu_context.h153 phys_addr_t ttbr1 = phys_to_ttbr(virt_to_phys(pgdp)); in cpu_replace_ttbr1() local
164 ttbr1 |= TTBR_CNP_BIT; in cpu_replace_ttbr1()
170 replace_phys(ttbr1); in cpu_replace_ttbr1()
A Dkexec.h107 phys_addr_t ttbr1; member
/linux/arch/arm64/mm/
A Dcontext.c351 unsigned long ttbr1 = read_sysreg(ttbr1_el1); in cpu_do_switch_mm() local
364 ttbr1 &= ~TTBR_ASID_MASK; in cpu_do_switch_mm()
365 ttbr1 |= FIELD_PREP(TTBR_ASID_MASK, asid); in cpu_do_switch_mm()
367 write_sysreg(ttbr1, ttbr1_el1); in cpu_do_switch_mm()
/linux/arch/arm64/kernel/
A Dmachine_kexec.c149 kimage->arch.ttbr1 = __pa(trans_pgd); in machine_kexec_post_load()
A Dasm-offsets.c180 DEFINE(KIMAGE_ARCH_TTBR1, offsetof(struct kimage, arch.ttbr1)); in main()

Completed in 12 milliseconds