Lines Matching defs:rstat0
101 u32 rstat0;
246 u32 rstat0;
254 rstat0 = rstat->rstat0;
256 if (!(rstat0 & RSTAT0_RFP) || !(rstat1 & RSTAT1_RFP))
259 rstat->rstat0 = 0;
262 if (!(rstat0 & RSTAT0_EOF))
263 pr_crit("not end-of-frame %.8x %.8x\n", rstat0, rstat1);
264 if (!(rstat0 & RSTAT0_EOB))
265 pr_crit("not end-of-buffer %.8x %.8x\n", rstat0, rstat1);
267 pr_crit("entry mismatch %.8x %.8x\n", rstat0, rstat1);
269 if (!(rstat0 & RSTAT0_RWE)) {
271 if (rstat0 & RSTAT0_OE)
273 if (rstat0 & RSTAT0_FE)
275 if (rstat0 & (RSTAT0_RUNT | RSTAT0_EDATA))
277 if (rstat0 & RSTAT0_CRCE)
284 pr_notice("invalid length %.8x %.8x\n", rstat0, rstat1);
289 if (rstat0 & RSTAT0_CRCI)
320 return !!((rstat->rstat0 & RSTAT0_RFP) && (rstat->rstat1 & RSTAT1_RFP));