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

/linux-4.1.27/drivers/net/ethernet/cirrus/
H A Dep93xx_eth.c101 u32 rstat0; member in struct:ep93xx_rstat
238 u32 rstat0; ep93xx_rx() local
246 rstat0 = rstat->rstat0; ep93xx_rx()
248 if (!(rstat0 & RSTAT0_RFP) || !(rstat1 & RSTAT1_RFP)) ep93xx_rx()
251 rstat->rstat0 = 0; ep93xx_rx()
254 if (!(rstat0 & RSTAT0_EOF)) ep93xx_rx()
255 pr_crit("not end-of-frame %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
256 if (!(rstat0 & RSTAT0_EOB)) ep93xx_rx()
257 pr_crit("not end-of-buffer %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
259 pr_crit("entry mismatch %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
261 if (!(rstat0 & RSTAT0_RWE)) { ep93xx_rx()
263 if (rstat0 & RSTAT0_OE) ep93xx_rx()
265 if (rstat0 & RSTAT0_FE) ep93xx_rx()
267 if (rstat0 & (RSTAT0_RUNT | RSTAT0_EDATA)) ep93xx_rx()
269 if (rstat0 & RSTAT0_CRCE) ep93xx_rx()
276 pr_notice("invalid length %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
281 if (rstat0 & RSTAT0_CRCI) ep93xx_rx()
316 return !!((rstat->rstat0 & RSTAT0_RFP) && (rstat->rstat1 & RSTAT1_RFP)); ep93xx_have_more_rx()

Completed in 43 milliseconds