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

/linux-4.1.27/drivers/net/ethernet/cirrus/
H A Dep93xx_eth.c102 u32 rstat1; member in struct:ep93xx_rstat
239 u32 rstat1; ep93xx_rx() local
247 rstat1 = rstat->rstat1; ep93xx_rx()
248 if (!(rstat0 & RSTAT0_RFP) || !(rstat1 & RSTAT1_RFP)) ep93xx_rx()
252 rstat->rstat1 = 0; ep93xx_rx()
255 pr_crit("not end-of-frame %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
257 pr_crit("not end-of-buffer %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
258 if ((rstat1 & RSTAT1_BUFFER_INDEX) >> 16 != entry) ep93xx_rx()
259 pr_crit("entry mismatch %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
274 length = rstat1 & RSTAT1_FRAME_LENGTH; ep93xx_rx()
276 pr_notice("invalid length %.8x %.8x\n", rstat0, rstat1); ep93xx_rx()
316 return !!((rstat->rstat0 & RSTAT0_RFP) && (rstat->rstat1 & RSTAT1_RFP)); ep93xx_have_more_rx()

Completed in 56 milliseconds