Searched refs:ST0_CU2 (Results 1 – 8 of 8) 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()
116 set_c0_status(ST0_CU2); \117 if ((KSTK_STATUS(prev) & ST0_CU2)) { \119 KSTK_STATUS(prev) &= ~ST0_CU2; \122 if (KSTK_STATUS(next) & ST0_CU2 && \126 clear_c0_status(ST0_CU2); \
387 #define ST0_CU2 0x40000000 macro
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()
34 set_c0_status(ST0_CU1 | ST0_CU2); in loongson_cu2_call()36 set_c0_status(ST0_CU1 | ST0_CU2 | ST0_FR); in loongson_cu2_call()38 KSTK_STATUS(current) |= (ST0_CU1 | ST0_CU2); in loongson_cu2_call()
103 KSTK_STATUS(current) |= ST0_CU2; in nlm_cu2_call()105 write_c0_status(status | ST0_CU2); in nlm_cu2_call()107 write_c0_status(status & ~ST0_CU2); in nlm_cu2_call()
134 p->thread.cp0_status = read_c0_status() & ~(ST0_CU2|ST0_CU1); in copy_thread_tls()169 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread_tls()
248 write_c0_status((sr & ~ST0_IE) | ST0_CU2); in nlm_cop2_enable_irqsave()