Lines Matching refs:status
260 /* check the status of the link */
516 static void ks8842_update_rx_err_counters(struct net_device *netdev, u32 status)
518 netdev_dbg(netdev, "RX error, status: %x\n", status);
521 if (status & RXSR_TOO_LONG)
523 if (status & RXSR_CRC_ERROR)
525 if (status & RXSR_RUNT)
529 static void ks8842_update_rx_counters(struct net_device *netdev, u32 status,
536 if (status & RXSR_MULTICAST)
597 u32 status;
607 status = *((u32 *)skb->data);
609 netdev_dbg(netdev, "%s - rx_data: status: %x\n",
610 __func__, status & 0xffff);
612 /* check the status */
613 if ((status & RXSR_VALID) && !(status & RXSR_ERROR)) {
614 int len = (status >> 16) & 0x7ff;
616 ks8842_update_rx_counters(netdev, status, len);
618 /* reserve 4 bytes which is the status word */
625 ks8842_update_rx_err_counters(netdev, status);
633 u32 status;
637 status = ks8842_read16(adapter, 17, REG_QMU_DATA_LO);
639 netdev_dbg(netdev, "%s - rx_data: status: %x\n",
640 __func__, status);
642 status = ks8842_read32(adapter, 17, REG_QMU_DATA_LO);
643 len = (status >> 16) & 0x7ff;
644 status &= 0xffff;
645 netdev_dbg(netdev, "%s - rx_data: status: %x\n",
646 __func__, status);
649 /* check the status */
650 if ((status & RXSR_VALID) && !(status & RXSR_ERROR)) {
655 ks8842_update_rx_counters(netdev, status, len);
682 ks8842_update_rx_err_counters(netdev, status);