Searched refs:rxstat (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ |
D | smsc911x.c | 921 smsc911x_rx_counterrors(struct net_device *dev, unsigned int rxstat) in smsc911x_rx_counterrors() argument 925 if (unlikely(rxstat & 0x00008000)) { in smsc911x_rx_counterrors() 927 if (unlikely(rxstat & 0x00000002)) { in smsc911x_rx_counterrors() 933 if (unlikely((rxstat & 0x00001020) == 0x00001020)) { in smsc911x_rx_counterrors() 938 if (rxstat & RX_STS_MCAST_) in smsc911x_rx_counterrors() 980 unsigned int rxstat = smsc911x_rx_get_rxstatus(pdata); in smsc911x_poll() local 982 if (!rxstat) { in smsc911x_poll() 998 pktlength = ((rxstat & 0x3FFF0000) >> 16); in smsc911x_poll() 1000 smsc911x_rx_counterrors(dev, rxstat); in smsc911x_poll() 1002 if (unlikely(rxstat & RX_STS_ES_)) { in smsc911x_poll()
|
D | enc28j60.c | 904 u16 erxrdpt, next_packet, rxstat; in enc28j60_hw_rx() local 940 rxstat = rsv[5]; in enc28j60_hw_rx() 941 rxstat <<= 8; in enc28j60_hw_rx() 942 rxstat |= rsv[4]; in enc28j60_hw_rx() 945 enc28j60_dump_rsv(priv, __func__, next_packet, len, rxstat); in enc28j60_hw_rx() 947 if (!RSV_GETBIT(rxstat, RSV_RXOK) || len > MAX_FRAMELEN) { in enc28j60_hw_rx() 949 dev_err(&ndev->dev, "Rx Error (%04x)\n", rxstat); in enc28j60_hw_rx() 951 if (RSV_GETBIT(rxstat, RSV_CRCERROR)) in enc28j60_hw_rx() 953 if (RSV_GETBIT(rxstat, RSV_LENCHECKERR)) in enc28j60_hw_rx()
|