Searched refs:tpidr2_el0 (Results 1 – 4 of 4) sorted by relevance
470 p->thread.tpidr2_el0 = read_sysreg_s(SYS_TPIDR2_EL0); in copy_thread()475 p->thread.tpidr2_el0 = 0; in copy_thread()525 current->thread.tpidr2_el0 = read_sysreg_s(SYS_TPIDR2_EL0); in tls_preserve_current_state()539 write_sysreg_s(next->thread.tpidr2_el0, SYS_TPIDR2_EL0); in tls_thread_switch()
508 u64 tpidr2_el0 = read_sysreg_s(SYS_TPIDR2_EL0); in preserve_tpidr2_context() local513 __put_user_error(tpidr2_el0, &ctx->tpidr2, err); in preserve_tpidr2_context()520 u64 tpidr2_el0; in restore_tpidr2_context() local526 __get_user_error(tpidr2_el0, &user->tpidr2->tpidr2, err); in restore_tpidr2_context()528 write_sysreg_s(tpidr2_el0, SYS_TPIDR2_EL0); in restore_tpidr2_context()
672 ret = membuf_store(&to, target->thread.tpidr2_el0); in tls_get()688 tls[1] = target->thread.tpidr2_el0; in tls_set()696 target->thread.tpidr2_el0 = tls[1]; in tls_set()
193 u64 tpidr2_el0; member