Home
last modified time | relevance | path

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

/linux/arch/mips/cavium-octeon/
H A Docteon-crypto.c34 write_c0_status(status | ST0_CU2); in octeon_crypto_enable()
35 if (KSTK_STATUS(current) & ST0_CU2) { in octeon_crypto_enable()
37 KSTK_STATUS(current) &= ~ST0_CU2; in octeon_crypto_enable()
38 status &= ~ST0_CU2; in octeon_crypto_enable()
39 } else if (status & ST0_CU2) { in octeon_crypto_enable()
43 return status & ST0_CU2; in octeon_crypto_enable()
61 if (crypto_flags & ST0_CU2) in octeon_crypto_disable()
64 write_c0_status(read_c0_status() & ~ST0_CU2); in octeon_crypto_disable()
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()
/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()
/linux/arch/mips/include/asm/
H A Dmipsregs.h518 #define ST0_CU2 0x40000000 macro
524 #define ST0_KERNEL_CUMASK (ST0_CU0 | ST0_CU2)