Lines Matching refs:status
314 count_rx_errors(int status, struct net_device *dev)
317 if (status & RX_RUNT)
319 if (status & RX_EXTRA_DATA)
321 if ((status & RX_CRC_ERROR) && !(status & (RX_EXTRA_DATA | RX_RUNT)))
324 if (status & RX_DRIBBLE)
421 int status, length;
424 status = bp[0] + (bp[1] << 8);
428 cs89_dbg(5, debug, "%s: receiving DMA packet at %lx, status %x, length %x\n",
429 dev->name, (unsigned long)bp, status, length);
431 if ((status & RX_OK) == 0) {
432 count_rx_errors(status, dev);
675 int status, length;
677 status = ioread16(lp->virt_addr + RX_FRAME_PORT);
680 if ((status & RX_OK) == 0) {
681 count_rx_errors(status, dev);
716 int status;
729 while ((status = ioread16(lp->virt_addr + ISQ_PORT))) {
730 cs89_dbg(4, debug, "%s: event=%04x\n", dev->name, status);
732 switch (status & ISQ_EVENT_MASK) {
740 if ((status & (TX_OK |
745 if ((status & TX_OK) == 0)
747 if (status & TX_LOST_CRS)
749 if (status & TX_SQE_ERROR)
751 if (status & TX_LATE_COL)
753 if (status & TX_16_COL)
758 if (status & READY_FOR_TX) {
767 if (status & TX_UNDERRUN) {
784 if (lp->use_dma && (status & RX_DMA)) {
806 dev->stats.rx_missed_errors += (status >> 6);
809 dev->stats.collisions += (status >> 6);
1398 * However, since we do read the status of HCB1 and use