Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/cavium-octeon/crypto/
H A 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()
/openbmc/linux/arch/mips/cavium-octeon/
H A 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()
/openbmc/linux/arch/mips/include/asm/
H A 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 && \
H A Dmipsregs.h373 #define ST0_CU2 0x40000000 macro
379 #define ST0_KERNEL_CUMASK (ST0_CU0 | ST0_CU2)
/openbmc/linux/arch/mips/loongson64/
H A 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()
/openbmc/linux/arch/mips/kernel/
H A 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()
165 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
/openbmc/u-boot/arch/mips/include/asm/
H A Dmipsregs.h312 #define ST0_CU2 0x40000000 macro