Home
last modified time | relevance | path

Searched refs:eflag (Results 1 – 5 of 5) sorted by relevance

/linux/arch/sparc/math-emu/
H A Dmath_32.c217 static inline int record_exception(unsigned long *pfsr, int eflag) in record_exception() argument
223 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception()
227 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception()
228 if ((eflag & (eflag - 1)) != 0) { in record_exception()
229 if (eflag & FP_EX_INVALID) in record_exception()
230 eflag = FP_EX_INVALID; in record_exception()
231 else if (eflag & FP_EX_OVERFLOW) in record_exception()
232 eflag = FP_EX_OVERFLOW; in record_exception()
233 else if (eflag & FP_EX_UNDERFLOW) in record_exception()
234 eflag = FP_EX_UNDERFLOW; in record_exception()
[all …]
H A Dmath_64.c101 static inline int record_exception(struct pt_regs *regs, int eflag) in record_exception() argument
107 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception()
111 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception()
112 if((eflag & (eflag - 1)) != 0) { in record_exception()
113 if(eflag & FP_EX_INVALID) in record_exception()
114 eflag = FP_EX_INVALID; in record_exception()
115 else if(eflag & FP_EX_OVERFLOW) in record_exception()
116 eflag = FP_EX_OVERFLOW; in record_exception()
117 else if(eflag & FP_EX_UNDERFLOW) in record_exception()
118 eflag = FP_EX_UNDERFLOW; in record_exception()
[all …]
/linux/arch/powerpc/math-emu/
H A Dmath.c168 record_exception(struct pt_regs *regs, int eflag) in record_exception() argument
174 if (eflag) { in record_exception()
176 if (eflag & EFLAG_OVERFLOW) in record_exception()
178 if (eflag & EFLAG_UNDERFLOW) in record_exception()
180 if (eflag & EFLAG_DIVZERO) in record_exception()
182 if (eflag & EFLAG_INEXACT) in record_exception()
184 if (eflag & EFLAG_INVALID) in record_exception()
186 if (eflag & EFLAG_VXSNAN) in record_exception()
188 if (eflag & EFLAG_VXISI) in record_exception()
190 if (eflag & EFLAG_VXIDI) in record_exception()
[all …]
/linux/drivers/net/can/spi/
H A Dhi311x.c638 u8 intf, eflag, statf; in hi3110_can_ist() local
646 eflag = hi3110_read(spi, HI3110_READ_ERR); in hi3110_can_ist()
648 if (eflag & HI3110_ERR_BUSOFF) in hi3110_can_ist()
650 else if (eflag & HI3110_ERR_PASSIVE_MASK) in hi3110_can_ist()
695 if (eflag & HI3110_ERR_PROTOCOL_MASK) { in hi3110_can_ist()
701 if (eflag & HI3110_ERR_BITERR) { in hi3110_can_ist()
705 } else if (eflag & HI3110_ERR_FRMERR) { in hi3110_can_ist()
709 } else if (eflag & HI3110_ERR_STUFERR) { in hi3110_can_ist()
713 } else if (eflag & HI3110_ERR_CRCERR) { in hi3110_can_ist()
717 } else if (eflag & HI3110_ERR_ACKERR) { in hi3110_can_ist()
H A Dmcp251x.c1079 u8 intf, eflag; in mcp251x_can_ist() local
1083 mcp251x_read_2regs(spi, CANINTF, &intf, &eflag); in mcp251x_can_ist()
1104 eflag |= eflag1; in mcp251x_can_ist()
1125 if (eflag & (EFLG_RX0OVR | EFLG_RX1OVR)) in mcp251x_can_ist()
1126 mcp251x_write_bits(spi, EFLG, eflag, 0x00); in mcp251x_can_ist()
1129 if (eflag & EFLG_TXBO) { in mcp251x_can_ist()
1132 } else if (eflag & EFLG_TXEP) { in mcp251x_can_ist()
1136 } else if (eflag & EFLG_RXEP) { in mcp251x_can_ist()
1140 } else if (eflag & EFLG_TXWAR) { in mcp251x_can_ist()
1144 } else if (eflag & EFLG_RXWAR) { in mcp251x_can_ist()
[all …]