Searched refs:hwstat (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/ |
D | dnet.c | 663 static inline void dnet_print_pretty_hwstats(struct dnet_stats *hwstat) in dnet_print_pretty_hwstats() argument 668 pr_debug("RX_PKT_IGNR_CNT %-8x\n", hwstat->rx_pkt_ignr); in dnet_print_pretty_hwstats() 669 pr_debug("RX_LEN_CHK_ERR_CNT %-8x\n", hwstat->rx_len_chk_err); in dnet_print_pretty_hwstats() 670 pr_debug("RX_LNG_FRM_CNT %-8x\n", hwstat->rx_lng_frm); in dnet_print_pretty_hwstats() 671 pr_debug("RX_SHRT_FRM_CNT %-8x\n", hwstat->rx_shrt_frm); in dnet_print_pretty_hwstats() 672 pr_debug("RX_IPG_VIOL_CNT %-8x\n", hwstat->rx_ipg_viol); in dnet_print_pretty_hwstats() 673 pr_debug("RX_CRC_ERR_CNT %-8x\n", hwstat->rx_crc_err); in dnet_print_pretty_hwstats() 674 pr_debug("RX_OK_PKT_CNT %-8x\n", hwstat->rx_ok_pkt); in dnet_print_pretty_hwstats() 675 pr_debug("RX_CTL_FRM_CNT %-8x\n", hwstat->rx_ctl_frm); in dnet_print_pretty_hwstats() 676 pr_debug("RX_PAUSE_FRM_CNT %-8x\n", hwstat->rx_pause_frm); in dnet_print_pretty_hwstats() [all …]
|
/drivers/net/ethernet/cadence/ |
D | macb.c | 2030 struct gem_stats *hwstat = &bp->hw_stats.gem; in gem_get_stats() local 2035 nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors + in gem_get_stats() 2036 hwstat->rx_alignment_errors + in gem_get_stats() 2037 hwstat->rx_resource_errors + in gem_get_stats() 2038 hwstat->rx_overruns + in gem_get_stats() 2039 hwstat->rx_oversize_frames + in gem_get_stats() 2040 hwstat->rx_jabbers + in gem_get_stats() 2041 hwstat->rx_undersized_frames + in gem_get_stats() 2042 hwstat->rx_length_field_frame_errors); in gem_get_stats() 2043 nstat->tx_errors = (hwstat->tx_late_collisions + in gem_get_stats() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | b44.c | 1684 struct b44_hw_stats *hwstat = &bp->hw_stats; in b44_get_stats64() local 1688 start = u64_stats_fetch_begin_irq(&hwstat->syncp); in b44_get_stats64() 1691 nstat->rx_packets = hwstat->rx_pkts; in b44_get_stats64() 1692 nstat->tx_packets = hwstat->tx_pkts; in b44_get_stats64() 1693 nstat->rx_bytes = hwstat->rx_octets; in b44_get_stats64() 1694 nstat->tx_bytes = hwstat->tx_octets; in b44_get_stats64() 1695 nstat->tx_errors = (hwstat->tx_jabber_pkts + in b44_get_stats64() 1696 hwstat->tx_oversize_pkts + in b44_get_stats64() 1697 hwstat->tx_underruns + in b44_get_stats64() 1698 hwstat->tx_excessive_cols + in b44_get_stats64() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_iba6120.c | 1242 u64 val, config1, prev_val, hwstat, ibc; in qib_6120_bringup_serdes() local 1360 hwstat = qib_read_kreg64(dd, kr_hwerrstatus); in qib_6120_bringup_serdes() 1361 if (hwstat) { in qib_6120_bringup_serdes() 1363 qib_write_kreg(dd, kr_hwerrclear, hwstat); in qib_6120_bringup_serdes()
|