Lines Matching refs:devcs
252 u32 devcs; /* Device control and status. */ member
601 u32 devcs, pkt_len, dmas; in korina_rx() local
609 devcs = rd->devcs; in korina_rx()
617 if (!(devcs & ETH_RX_LD)) in korina_rx()
620 if (!(devcs & ETH_RX_ROK)) { in korina_rx()
624 if (devcs & ETH_RX_CRC) in korina_rx()
626 if (devcs & ETH_RX_LE) in korina_rx()
628 if (devcs & ETH_RX_OVR) in korina_rx()
630 if (devcs & ETH_RX_CV) in korina_rx()
632 if (devcs & ETH_RX_CES) in korina_rx()
650 pkt_len = RCVPKT_LENGTH(devcs); in korina_rx()
664 if (devcs & ETH_RX_MP) in korina_rx()
671 rd->devcs = 0; in korina_rx()
694 rd->devcs = 0; in korina_rx()
768 u32 devcs; in korina_tx() local
780 devcs = lp->td_ring[lp->tx_next_done].devcs; in korina_tx()
781 if ((devcs & (ETH_TX_FD | ETH_TX_LD)) != in korina_tx()
789 } else if (devcs & ETH_TX_TOK) { in korina_tx()
798 if (devcs & ETH_TX_UND) in korina_tx()
802 if (devcs & ETH_TX_OF) in korina_tx()
806 if (devcs & ETH_TX_ED) in korina_tx()
810 if (devcs & ETH_TX_EC) in korina_tx()
814 if (devcs & ETH_TX_LC) in korina_tx()
829 lp->td_ring[lp->tx_next_done].devcs = ETH_TX_FD | ETH_TX_LD; in korina_tx()
997 lp->td_ring[i].devcs = ETH_TX_FD | ETH_TX_LD; in korina_alloc_ring()
1013 lp->rd_ring[i].devcs = 0; in korina_alloc_ring()