Lines Matching refs:status
315 count_rx_errors(int status, struct net_device *dev)
318 if (status & RX_RUNT)
320 if (status & RX_EXTRA_DATA)
322 if ((status & RX_CRC_ERROR) && !(status & (RX_EXTRA_DATA | RX_RUNT)))
325 if (status & RX_DRIBBLE)
422 int status, length;
425 status = bp[0] + (bp[1] << 8);
429 cs89_dbg(5, debug, "%s: receiving DMA packet at %lx, status %x, length %x\n",
430 dev->name, (unsigned long)bp, status, length);
432 if ((status & RX_OK) == 0) {
433 count_rx_errors(status, dev);
676 int status, length;
678 status = ioread16(lp->virt_addr + RX_FRAME_PORT);
681 if ((status & RX_OK) == 0) {
682 count_rx_errors(status, dev);
717 int status;
730 while ((status = ioread16(lp->virt_addr + ISQ_PORT))) {
731 cs89_dbg(4, debug, "%s: event=%04x\n", dev->name, status);
733 switch (status & ISQ_EVENT_MASK) {
741 if ((status & (TX_OK |
746 if ((status & TX_OK) == 0)
748 if (status & TX_LOST_CRS)
750 if (status & TX_SQE_ERROR)
752 if (status & TX_LATE_COL)
754 if (status & TX_16_COL)
759 if (status & READY_FOR_TX) {
768 if (status & TX_UNDERRUN) {
785 if (lp->use_dma && (status & RX_DMA)) {
807 dev->stats.rx_missed_errors += (status >> 6);
810 dev->stats.collisions += (status >> 6);
1401 * However, since we do read the status of HCB1 and use