hwstat           1231 drivers/infiniband/hw/qib/qib_iba6120.c 	u64 val, config1, prev_val, hwstat, ibc;
hwstat           1349 drivers/infiniband/hw/qib/qib_iba6120.c 	hwstat = qib_read_kreg64(dd, kr_hwerrstatus);
hwstat           1350 drivers/infiniband/hw/qib/qib_iba6120.c 	if (hwstat) {
hwstat           1352 drivers/infiniband/hw/qib/qib_iba6120.c 		qib_write_kreg(dd, kr_hwerrclear, hwstat);
hwstat           1682 drivers/net/ethernet/broadcom/b44.c 	struct b44_hw_stats *hwstat = &bp->hw_stats;
hwstat           1686 drivers/net/ethernet/broadcom/b44.c 		start = u64_stats_fetch_begin_irq(&hwstat->syncp);
hwstat           1689 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_packets = hwstat->rx_pkts;
hwstat           1690 drivers/net/ethernet/broadcom/b44.c 		nstat->tx_packets = hwstat->tx_pkts;
hwstat           1691 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_bytes   = hwstat->rx_octets;
hwstat           1692 drivers/net/ethernet/broadcom/b44.c 		nstat->tx_bytes   = hwstat->tx_octets;
hwstat           1693 drivers/net/ethernet/broadcom/b44.c 		nstat->tx_errors  = (hwstat->tx_jabber_pkts +
hwstat           1694 drivers/net/ethernet/broadcom/b44.c 				     hwstat->tx_oversize_pkts +
hwstat           1695 drivers/net/ethernet/broadcom/b44.c 				     hwstat->tx_underruns +
hwstat           1696 drivers/net/ethernet/broadcom/b44.c 				     hwstat->tx_excessive_cols +
hwstat           1697 drivers/net/ethernet/broadcom/b44.c 				     hwstat->tx_late_cols);
hwstat           1698 drivers/net/ethernet/broadcom/b44.c 		nstat->multicast  = hwstat->rx_multicast_pkts;
hwstat           1699 drivers/net/ethernet/broadcom/b44.c 		nstat->collisions = hwstat->tx_total_cols;
hwstat           1701 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_length_errors = (hwstat->rx_oversize_pkts +
hwstat           1702 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_undersize);
hwstat           1703 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_over_errors   = hwstat->rx_missed_pkts;
hwstat           1704 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_frame_errors  = hwstat->rx_align_errs;
hwstat           1705 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_crc_errors    = hwstat->rx_crc_errs;
hwstat           1706 drivers/net/ethernet/broadcom/b44.c 		nstat->rx_errors        = (hwstat->rx_jabber_pkts +
hwstat           1707 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_oversize_pkts +
hwstat           1708 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_missed_pkts +
hwstat           1709 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_crc_align_errs +
hwstat           1710 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_undersize +
hwstat           1711 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_crc_errs +
hwstat           1712 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_align_errs +
hwstat           1713 drivers/net/ethernet/broadcom/b44.c 					   hwstat->rx_symbol_errs);
hwstat           1715 drivers/net/ethernet/broadcom/b44.c 		nstat->tx_aborted_errors = hwstat->tx_underruns;
hwstat           1718 drivers/net/ethernet/broadcom/b44.c 		nstat->tx_carrier_errors = hwstat->tx_carrier_lost;
hwstat           1720 drivers/net/ethernet/broadcom/b44.c 	} while (u64_stats_fetch_retry_irq(&hwstat->syncp, start));
hwstat           2073 drivers/net/ethernet/broadcom/b44.c 	struct b44_hw_stats *hwstat = &bp->hw_stats;
hwstat           2083 drivers/net/ethernet/broadcom/b44.c 		data_src = &hwstat->tx_good_octets;
hwstat           2085 drivers/net/ethernet/broadcom/b44.c 		start = u64_stats_fetch_begin_irq(&hwstat->syncp);
hwstat           2090 drivers/net/ethernet/broadcom/b44.c 	} while (u64_stats_fetch_retry_irq(&hwstat->syncp, start));
hwstat           2535 drivers/net/ethernet/cadence/macb_main.c 	struct gem_stats *hwstat = &bp->hw_stats.gem;
hwstat           2540 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors +
hwstat           2541 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_alignment_errors +
hwstat           2542 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_resource_errors +
hwstat           2543 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_overruns +
hwstat           2544 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_oversize_frames +
hwstat           2545 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_jabbers +
hwstat           2546 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_undersized_frames +
hwstat           2547 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_length_field_frame_errors);
hwstat           2548 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_errors = (hwstat->tx_late_collisions +
hwstat           2549 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->tx_excessive_collisions +
hwstat           2550 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->tx_underrun +
hwstat           2551 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->tx_carrier_sense_errors);
hwstat           2552 drivers/net/ethernet/cadence/macb_main.c 	nstat->multicast = hwstat->rx_multicast_frames;
hwstat           2553 drivers/net/ethernet/cadence/macb_main.c 	nstat->collisions = (hwstat->tx_single_collision_frames +
hwstat           2554 drivers/net/ethernet/cadence/macb_main.c 			     hwstat->tx_multiple_collision_frames +
hwstat           2555 drivers/net/ethernet/cadence/macb_main.c 			     hwstat->tx_excessive_collisions);
hwstat           2556 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_length_errors = (hwstat->rx_oversize_frames +
hwstat           2557 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_jabbers +
hwstat           2558 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_undersized_frames +
hwstat           2559 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_length_field_frame_errors);
hwstat           2560 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_over_errors = hwstat->rx_resource_errors;
hwstat           2561 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_crc_errors = hwstat->rx_frame_check_sequence_errors;
hwstat           2562 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_frame_errors = hwstat->rx_alignment_errors;
hwstat           2563 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_fifo_errors = hwstat->rx_overruns;
hwstat           2564 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_aborted_errors = hwstat->tx_excessive_collisions;
hwstat           2565 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_carrier_errors = hwstat->tx_carrier_sense_errors;
hwstat           2566 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_fifo_errors = hwstat->tx_underrun;
hwstat           2623 drivers/net/ethernet/cadence/macb_main.c 	struct macb_stats *hwstat = &bp->hw_stats.macb;
hwstat           2632 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_errors = (hwstat->rx_fcs_errors +
hwstat           2633 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_align_errors +
hwstat           2634 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_resource_errors +
hwstat           2635 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_overruns +
hwstat           2636 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_oversize_pkts +
hwstat           2637 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_jabbers +
hwstat           2638 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_undersize_pkts +
hwstat           2639 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->rx_length_mismatch);
hwstat           2640 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_errors = (hwstat->tx_late_cols +
hwstat           2641 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->tx_excessive_cols +
hwstat           2642 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->tx_underruns +
hwstat           2643 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->tx_carrier_errors +
hwstat           2644 drivers/net/ethernet/cadence/macb_main.c 			    hwstat->sqe_test_errors);
hwstat           2645 drivers/net/ethernet/cadence/macb_main.c 	nstat->collisions = (hwstat->tx_single_cols +
hwstat           2646 drivers/net/ethernet/cadence/macb_main.c 			     hwstat->tx_multiple_cols +
hwstat           2647 drivers/net/ethernet/cadence/macb_main.c 			     hwstat->tx_excessive_cols);
hwstat           2648 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_length_errors = (hwstat->rx_oversize_pkts +
hwstat           2649 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_jabbers +
hwstat           2650 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_undersize_pkts +
hwstat           2651 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_length_mismatch);
hwstat           2652 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_over_errors = hwstat->rx_resource_errors +
hwstat           2653 drivers/net/ethernet/cadence/macb_main.c 				   hwstat->rx_overruns;
hwstat           2654 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_crc_errors = hwstat->rx_fcs_errors;
hwstat           2655 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_frame_errors = hwstat->rx_align_errors;
hwstat           2656 drivers/net/ethernet/cadence/macb_main.c 	nstat->rx_fifo_errors = hwstat->rx_overruns;
hwstat           2658 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_aborted_errors = hwstat->tx_excessive_cols;
hwstat           2659 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_carrier_errors = hwstat->tx_carrier_errors;
hwstat           2660 drivers/net/ethernet/cadence/macb_main.c 	nstat->tx_fifo_errors = hwstat->tx_underruns;
hwstat            658 drivers/net/ethernet/dnet.c static inline void dnet_print_pretty_hwstats(struct dnet_stats *hwstat)
hwstat            663 drivers/net/ethernet/dnet.c 	pr_debug("RX_PKT_IGNR_CNT %-8x\n", hwstat->rx_pkt_ignr);
hwstat            664 drivers/net/ethernet/dnet.c 	pr_debug("RX_LEN_CHK_ERR_CNT %-8x\n", hwstat->rx_len_chk_err);
hwstat            665 drivers/net/ethernet/dnet.c 	pr_debug("RX_LNG_FRM_CNT %-8x\n", hwstat->rx_lng_frm);
hwstat            666 drivers/net/ethernet/dnet.c 	pr_debug("RX_SHRT_FRM_CNT %-8x\n", hwstat->rx_shrt_frm);
hwstat            667 drivers/net/ethernet/dnet.c 	pr_debug("RX_IPG_VIOL_CNT %-8x\n", hwstat->rx_ipg_viol);
hwstat            668 drivers/net/ethernet/dnet.c 	pr_debug("RX_CRC_ERR_CNT %-8x\n", hwstat->rx_crc_err);
hwstat            669 drivers/net/ethernet/dnet.c 	pr_debug("RX_OK_PKT_CNT %-8x\n", hwstat->rx_ok_pkt);
hwstat            670 drivers/net/ethernet/dnet.c 	pr_debug("RX_CTL_FRM_CNT %-8x\n", hwstat->rx_ctl_frm);
hwstat            671 drivers/net/ethernet/dnet.c 	pr_debug("RX_PAUSE_FRM_CNT %-8x\n", hwstat->rx_pause_frm);
hwstat            672 drivers/net/ethernet/dnet.c 	pr_debug("RX_MULTICAST_CNT %-8x\n", hwstat->rx_multicast);
hwstat            673 drivers/net/ethernet/dnet.c 	pr_debug("RX_BROADCAST_CNT %-8x\n", hwstat->rx_broadcast);
hwstat            674 drivers/net/ethernet/dnet.c 	pr_debug("RX_VLAN_TAG_CNT %-8x\n", hwstat->rx_vlan_tag);
hwstat            675 drivers/net/ethernet/dnet.c 	pr_debug("RX_PRE_SHRINK_CNT %-8x\n", hwstat->rx_pre_shrink);
hwstat            676 drivers/net/ethernet/dnet.c 	pr_debug("RX_DRIB_NIB_CNT %-8x\n", hwstat->rx_drib_nib);
hwstat            677 drivers/net/ethernet/dnet.c 	pr_debug("RX_UNSUP_OPCD_CNT %-8x\n", hwstat->rx_unsup_opcd);
hwstat            678 drivers/net/ethernet/dnet.c 	pr_debug("RX_BYTE_CNT %-8x\n", hwstat->rx_byte);
hwstat            681 drivers/net/ethernet/dnet.c 	pr_debug("TX_UNICAST_CNT %-8x\n", hwstat->tx_unicast);
hwstat            682 drivers/net/ethernet/dnet.c 	pr_debug("TX_PAUSE_FRM_CNT %-8x\n", hwstat->tx_pause_frm);
hwstat            683 drivers/net/ethernet/dnet.c 	pr_debug("TX_MULTICAST_CNT %-8x\n", hwstat->tx_multicast);
hwstat            684 drivers/net/ethernet/dnet.c 	pr_debug("TX_BRDCAST_CNT %-8x\n", hwstat->tx_brdcast);
hwstat            685 drivers/net/ethernet/dnet.c 	pr_debug("TX_VLAN_TAG_CNT %-8x\n", hwstat->tx_vlan_tag);
hwstat            686 drivers/net/ethernet/dnet.c 	pr_debug("TX_BAD_FCS_CNT %-8x\n", hwstat->tx_bad_fcs);
hwstat            687 drivers/net/ethernet/dnet.c 	pr_debug("TX_JUMBO_CNT %-8x\n", hwstat->tx_jumbo);
hwstat            688 drivers/net/ethernet/dnet.c 	pr_debug("TX_BYTE_CNT %-8x\n", hwstat->tx_byte);
hwstat            696 drivers/net/ethernet/dnet.c 	struct dnet_stats *hwstat = &bp->hw_stats;
hwstat            702 drivers/net/ethernet/dnet.c 	nstat->rx_errors = (hwstat->rx_len_chk_err +
hwstat            703 drivers/net/ethernet/dnet.c 			    hwstat->rx_lng_frm + hwstat->rx_shrt_frm +
hwstat            706 drivers/net/ethernet/dnet.c 			    hwstat->rx_crc_err +
hwstat            707 drivers/net/ethernet/dnet.c 			    hwstat->rx_pre_shrink +
hwstat            708 drivers/net/ethernet/dnet.c 			    hwstat->rx_drib_nib + hwstat->rx_unsup_opcd);
hwstat            709 drivers/net/ethernet/dnet.c 	nstat->tx_errors = hwstat->tx_bad_fcs;
hwstat            710 drivers/net/ethernet/dnet.c 	nstat->rx_length_errors = (hwstat->rx_len_chk_err +
hwstat            711 drivers/net/ethernet/dnet.c 				   hwstat->rx_lng_frm +
hwstat            712 drivers/net/ethernet/dnet.c 				   hwstat->rx_shrt_frm + hwstat->rx_pre_shrink);
hwstat            713 drivers/net/ethernet/dnet.c 	nstat->rx_crc_errors = hwstat->rx_crc_err;
hwstat            714 drivers/net/ethernet/dnet.c 	nstat->rx_frame_errors = hwstat->rx_pre_shrink + hwstat->rx_drib_nib;
hwstat            715 drivers/net/ethernet/dnet.c 	nstat->rx_packets = hwstat->rx_ok_pkt;
hwstat            716 drivers/net/ethernet/dnet.c 	nstat->tx_packets = (hwstat->tx_unicast +
hwstat            717 drivers/net/ethernet/dnet.c 			     hwstat->tx_multicast + hwstat->tx_brdcast);
hwstat            718 drivers/net/ethernet/dnet.c 	nstat->rx_bytes = hwstat->rx_byte;
hwstat            719 drivers/net/ethernet/dnet.c 	nstat->tx_bytes = hwstat->tx_byte;
hwstat            720 drivers/net/ethernet/dnet.c 	nstat->multicast = hwstat->rx_multicast;
hwstat            721 drivers/net/ethernet/dnet.c 	nstat->rx_missed_errors = hwstat->rx_pkt_ignr;
hwstat            723 drivers/net/ethernet/dnet.c 	dnet_print_pretty_hwstats(hwstat);