Lines Matching refs:fcr31

762 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr,  in force_fcr31_sig()  argument
767 if (fcr31 & FPU_CSR_INV_X) in force_fcr31_sig()
769 else if (fcr31 & FPU_CSR_DIV_X) in force_fcr31_sig()
771 else if (fcr31 & FPU_CSR_OVF_X) in force_fcr31_sig()
773 else if (fcr31 & FPU_CSR_UDF_X) in force_fcr31_sig()
775 else if (fcr31 & FPU_CSR_INE_X) in force_fcr31_sig()
781 int process_fpemu_return(int sig, void __user *fault_addr, unsigned long fcr31) in process_fpemu_return() argument
791 force_fcr31_sig(fcr31, fault_addr, current); in process_fpemu_return()
820 unsigned long fcr31; in simulate_fp() local
852 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in simulate_fp()
853 current->thread.fpu.fcr31 &= ~fcr31; in simulate_fp()
859 process_fpemu_return(sig, fault_addr, fcr31); in simulate_fp()
867 asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31) in do_fpe() argument
879 write_32bit_cp1_register(CP1_STATUS, fcr31 & ~mask_fcr31_x(fcr31)); in do_fpe()
884 if (fcr31 & FPU_CSR_UNI_X) { in do_fpe()
904 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_fpe()
905 current->thread.fpu.fcr31 &= ~fcr31; in do_fpe()
915 process_fpemu_return(sig, fault_addr, fcr31); in do_fpe()
1170 unsigned long fcr31 = 0; in do_ri() local
1172 status = mipsr2_decoder(regs, opcode, &fcr31); in do_ri()
1182 fcr31); in do_ri()
1387 current->thread.fpu.fcr31); in enable_restore_fp_context()
1471 unsigned long fcr31; in do_cpu() local
1486 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_cpu()
1487 current->thread.fpu.fcr31 &= ~fcr31; in do_cpu()
1490 if (!process_fpemu_return(sig, fault_addr, fcr31) && !err) in do_cpu()