Home
last modified time | relevance | path

Searched refs:ST0_CU2 (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/arch/mips/cavium-octeon/crypto/
Docteon-crypto.c35 write_c0_status(status | ST0_CU2); in octeon_crypto_enable()
36 if (KSTK_STATUS(current) & ST0_CU2) { in octeon_crypto_enable()
38 KSTK_STATUS(current) &= ~ST0_CU2; in octeon_crypto_enable()
39 status &= ~ST0_CU2; in octeon_crypto_enable()
40 } else if (status & ST0_CU2) { in octeon_crypto_enable()
44 return status & ST0_CU2; in octeon_crypto_enable()
62 if (crypto_flags & ST0_CU2) in octeon_crypto_disable()
65 write_c0_status(read_c0_status() & ~ST0_CU2); in octeon_crypto_disable()
/linux-6.1.9/arch/mips/cavium-octeon/
Dcpu.c33 KSTK_STATUS(current) |= ST0_CU2; in cnmips_cu2_call()
35 write_c0_status(status | ST0_CU2); in cnmips_cu2_call()
37 write_c0_status(status & ~ST0_CU2); in cnmips_cu2_call()
/linux-6.1.9/arch/mips/include/asm/
Dswitch_to.h122 set_c0_status(ST0_CU2); \
123 if ((KSTK_STATUS(prev) & ST0_CU2)) { \
125 KSTK_STATUS(prev) &= ~ST0_CU2; \
128 if (KSTK_STATUS(next) & ST0_CU2 && \
Dmipsregs.h373 #define ST0_CU2 0x40000000 macro
379 #define ST0_KERNEL_CUMASK (ST0_CU0 | ST0_CU2)
/linux-6.1.9/arch/mips/loongson64/
Dcop2-ex.c47 set_c0_status(ST0_CU1 | ST0_CU2); in loongson_cu2_call()
49 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()
51 KSTK_STATUS(current) |= (ST0_CU1 | ST0_CU2); in loongson_cu2_call()
/linux-6.1.9/arch/mips/kernel/
Dprocess.c57 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
123 p->thread.cp0_status = (read_c0_status() & ~(ST0_CU2|ST0_CU1)) | ST0_KERNEL_CUMASK; in copy_thread()
156 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()