Lines Matching refs:mib_regs
568 struct gmac_mib_counters * mib_regs = (void *) GMAC_MIB_COUNTERS_OFFSET;
571 WARN_ON( (u32)&mib_regs->rx_unicast_packets != (0x428) );
582 mib_regs = (void *)(dev->base_addr + GMAC_MIB_COUNTERS_OFFSET);
585 dest->rx_packets = mib_regs->rx_packets ;
586 dest->tx_packets = mib_regs->tx_packets ;
588 dest->multicast = mib_regs->multicast ;
589 dest->collisions = mib_regs->collisions ;
591 dest->rx_length_errors = mib_regs->rx_length_errors ;
592 dest->rx_over_errors = mib_regs->rx_over_errors ;
593 dest->rx_crc_errors = mib_regs->rx_crc_errors ;
594 dest->rx_frame_errors = mib_regs->rx_frame_errors ;
595 dest->rx_missed_errors = mib_regs->rx_missed_errors ;
597 dest->tx_aborted_errors = mib_regs->tx_aborted_errors ;
598 dest->tx_fifo_errors = mib_regs->tx_fifo_errors ;
599 dest->tx_window_errors = mib_regs->tx_window_errors ;
600 dest->tx_heartbeat_errors = mib_regs->tx_m_col_packets ;
619 dest->rx_bytes = mib_regs->rx_bytes ;
620 dest->tx_bytes = mib_regs->tx_bytes ;