Searched refs:ST0_CU2 (Results 1 – 6 of 6) sorted by relevance
35 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()
33 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()
122 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 && \
373 #define ST0_CU2 0x40000000 macro379 #define ST0_KERNEL_CUMASK (ST0_CU0 | ST0_CU2)
47 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()
57 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()