Home
last modified time | relevance | path

Searched refs:CSR_EUEN_LBTEN (Results 1 – 4 of 4) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dlbt.h24 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LBTEN) ? in is_lbt_enabled()
38 csr_xchg32(CSR_EUEN_LBTEN, CSR_EUEN_LBTEN, LOONGARCH_CSR_EUEN); in enable_lbt()
44 csr_xchg32(0, CSR_EUEN_LBTEN, LOONGARCH_CSR_EUEN); in disable_lbt()
51 KSTK_EUEN(current) |= CSR_EUEN_LBTEN; in __own_lbt()
79 KSTK_EUEN(tsk) &= ~(CSR_EUEN_LBTEN); in lose_lbt_inatomic()
H A Dloongarch.h223 #define CSR_EUEN_LBTEN (_ULCAST_(0x1) << CSR_EUEN_LBTEN_SHIFT) macro
/linux/arch/loongarch/kvm/
H A Dvcpu.c1242 set_csr_euen(CSR_EUEN_LBTEN); in kvm_own_lbt()
1255 clear_csr_euen(CSR_EUEN_LBTEN); in kvm_lose_lbt()
/linux/arch/loongarch/kernel/
H A Dtraps.c242 print_bool_fragment("BTE", FIELD_GET(CSR_EUEN_LBTEN, x), false); in print_euen()