Searched refs:eflag (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/arch/powerpc/math-emu/
H A Dmath.c167 record_exception(struct pt_regs *regs, int eflag) record_exception() argument
173 if (eflag) { record_exception()
175 if (eflag & EFLAG_OVERFLOW) record_exception()
177 if (eflag & EFLAG_UNDERFLOW) record_exception()
179 if (eflag & EFLAG_DIVZERO) record_exception()
181 if (eflag & EFLAG_INEXACT) record_exception()
183 if (eflag & EFLAG_INVALID) record_exception()
185 if (eflag & EFLAG_VXSNAN) record_exception()
187 if (eflag & EFLAG_VXISI) record_exception()
189 if (eflag & EFLAG_VXIDI) record_exception()
191 if (eflag & EFLAG_VXZDZ) record_exception()
193 if (eflag & EFLAG_VXIMZ) record_exception()
195 if (eflag & EFLAG_VXVC) record_exception()
197 if (eflag & EFLAG_VXSOFT) record_exception()
199 if (eflag & EFLAG_VXSQRT) record_exception()
201 if (eflag & EFLAG_VXCVI) record_exception()
234 int eflag, trap; do_mathemu() local
434 eflag = func(op0, op1, op2, op3); do_mathemu()
441 trap = record_exception(regs, eflag); do_mathemu()
/linux-4.4.14/arch/sparc/math-emu/
H A Dmath_64.c100 static inline int record_exception(struct pt_regs *regs, int eflag) record_exception() argument
106 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; record_exception()
110 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); record_exception()
111 if((eflag & (eflag - 1)) != 0) { record_exception()
112 if(eflag & FP_EX_INVALID) record_exception()
113 eflag = FP_EX_INVALID; record_exception()
114 else if(eflag & FP_EX_OVERFLOW) record_exception()
115 eflag = FP_EX_OVERFLOW; record_exception()
116 else if(eflag & FP_EX_UNDERFLOW) record_exception()
117 eflag = FP_EX_UNDERFLOW; record_exception()
118 else if(eflag & FP_EX_DIVZERO) record_exception()
119 eflag = FP_EX_DIVZERO; record_exception()
120 else if(eflag & FP_EX_INEXACT) record_exception()
121 eflag = FP_EX_INEXACT; record_exception()
132 fsr |= ((long)eflag << FSR_CEXC_SHIFT); record_exception()
141 fsr |= ((long)eflag << FSR_AEXC_SHIFT); record_exception()
H A Dmath_32.c216 static inline int record_exception(unsigned long *pfsr, int eflag) record_exception() argument
222 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; record_exception()
226 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); record_exception()
227 if ((eflag & (eflag - 1)) != 0) { record_exception()
228 if (eflag & FP_EX_INVALID) record_exception()
229 eflag = FP_EX_INVALID; record_exception()
230 else if (eflag & FP_EX_OVERFLOW) record_exception()
231 eflag = FP_EX_OVERFLOW; record_exception()
232 else if (eflag & FP_EX_UNDERFLOW) record_exception()
233 eflag = FP_EX_UNDERFLOW; record_exception()
234 else if (eflag & FP_EX_DIVZERO) record_exception()
235 eflag = FP_EX_DIVZERO; record_exception()
236 else if (eflag & FP_EX_INEXACT) record_exception()
237 eflag = FP_EX_INEXACT; record_exception()
248 fsr |= ((long)eflag << FSR_CEXC_SHIFT); record_exception()
257 fsr |= ((long)eflag << FSR_AEXC_SHIFT); record_exception()
/linux-4.4.14/fs/nfsd/
H A Dnfs4acl.c240 int eflag = ((flags & NFS4_ACL_TYPE_DEFAULT) ? _posix_to_nfsv4_one() local
258 ace->flag = eflag; _posix_to_nfsv4_one()
266 ace->flag = eflag; _posix_to_nfsv4_one()
278 ace->flag = eflag; _posix_to_nfsv4_one()
286 ace->flag = eflag; _posix_to_nfsv4_one()
304 ace->flag = eflag; _posix_to_nfsv4_one()
313 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; _posix_to_nfsv4_one()
330 ace->flag = eflag; _posix_to_nfsv4_one()
343 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; _posix_to_nfsv4_one()
356 ace->flag = eflag; _posix_to_nfsv4_one()
/linux-4.4.14/drivers/net/can/spi/
H A Dmcp251x.c812 u8 intf, eflag; mcp251x_can_ist() local
816 mcp251x_read_2regs(spi, CANINTF, &intf, &eflag); mcp251x_can_ist()
846 if (eflag) mcp251x_can_ist()
847 mcp251x_write_bits(spi, EFLG, eflag, 0x00); mcp251x_can_ist()
850 if (eflag & EFLG_TXBO) { mcp251x_can_ist()
853 } else if (eflag & EFLG_TXEP) { mcp251x_can_ist()
857 } else if (eflag & EFLG_RXEP) { mcp251x_can_ist()
861 } else if (eflag & EFLG_TXWAR) { mcp251x_can_ist()
865 } else if (eflag & EFLG_RXWAR) { mcp251x_can_ist()
891 if (eflag & (EFLG_RX0OVR | EFLG_RX1OVR)) { mcp251x_can_ist()
892 if (eflag & EFLG_RX0OVR) { mcp251x_can_ist()
896 if (eflag & EFLG_RX1OVR) { mcp251x_can_ist()
/linux-4.4.14/drivers/isdn/icn/
H A Dicn.c252 int eflag; icn_pollbchan_receive() local
265 eflag = 0; icn_pollbchan_receive()
270 eflag = readb(&rbuf_f); icn_pollbchan_receive()
274 if (!eflag) { icn_pollbchan_receive()
/linux-4.4.14/drivers/staging/dgap/
H A Ddgap.h1116 unsigned char eflag; /* U Host event flags */ member in struct:bs_t

Completed in 528 milliseconds