Searched refs:tpidr2_el0 (Results 1 – 2 of 2) sorted by relevance
472 p->thread.tpidr2_el0 = read_sysreg_s(SYS_TPIDR2_EL0); in copy_thread()477 p->thread.tpidr2_el0 = 0; in copy_thread()527 current->thread.tpidr2_el0 = read_sysreg_s(SYS_TPIDR2_EL0); in tls_preserve_current_state()541 write_sysreg_s(next->thread.tpidr2_el0, SYS_TPIDR2_EL0); in tls_thread_switch()
540 u64 tpidr2_el0 = read_sysreg_s(SYS_TPIDR2_EL0); in preserve_tpidr2_context() local545 __put_user_error(tpidr2_el0, &ctx->tpidr2, err); in preserve_tpidr2_context()552 u64 tpidr2_el0; in restore_tpidr2_context() local558 __get_user_error(tpidr2_el0, &user->tpidr2->tpidr2, err); in restore_tpidr2_context()560 write_sysreg_s(tpidr2_el0, SYS_TPIDR2_EL0); in restore_tpidr2_context()