Lines Matching refs:hwstat
2974 struct gem_stats *hwstat = &bp->hw_stats.gem; in gem_get_stats() local
2982 nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors + in gem_get_stats()
2983 hwstat->rx_alignment_errors + in gem_get_stats()
2984 hwstat->rx_resource_errors + in gem_get_stats()
2985 hwstat->rx_overruns + in gem_get_stats()
2986 hwstat->rx_oversize_frames + in gem_get_stats()
2987 hwstat->rx_jabbers + in gem_get_stats()
2988 hwstat->rx_undersized_frames + in gem_get_stats()
2989 hwstat->rx_length_field_frame_errors); in gem_get_stats()
2990 nstat->tx_errors = (hwstat->tx_late_collisions + in gem_get_stats()
2991 hwstat->tx_excessive_collisions + in gem_get_stats()
2992 hwstat->tx_underrun + in gem_get_stats()
2993 hwstat->tx_carrier_sense_errors); in gem_get_stats()
2994 nstat->multicast = hwstat->rx_multicast_frames; in gem_get_stats()
2995 nstat->collisions = (hwstat->tx_single_collision_frames + in gem_get_stats()
2996 hwstat->tx_multiple_collision_frames + in gem_get_stats()
2997 hwstat->tx_excessive_collisions); in gem_get_stats()
2998 nstat->rx_length_errors = (hwstat->rx_oversize_frames + in gem_get_stats()
2999 hwstat->rx_jabbers + in gem_get_stats()
3000 hwstat->rx_undersized_frames + in gem_get_stats()
3001 hwstat->rx_length_field_frame_errors); in gem_get_stats()
3002 nstat->rx_over_errors = hwstat->rx_resource_errors; in gem_get_stats()
3003 nstat->rx_crc_errors = hwstat->rx_frame_check_sequence_errors; in gem_get_stats()
3004 nstat->rx_frame_errors = hwstat->rx_alignment_errors; in gem_get_stats()
3005 nstat->rx_fifo_errors = hwstat->rx_overruns; in gem_get_stats()
3006 nstat->tx_aborted_errors = hwstat->tx_excessive_collisions; in gem_get_stats()
3007 nstat->tx_carrier_errors = hwstat->tx_carrier_sense_errors; in gem_get_stats()
3008 nstat->tx_fifo_errors = hwstat->tx_underrun; in gem_get_stats()
3065 struct macb_stats *hwstat = &bp->hw_stats.macb; in macb_get_stats() local
3074 nstat->rx_errors = (hwstat->rx_fcs_errors + in macb_get_stats()
3075 hwstat->rx_align_errors + in macb_get_stats()
3076 hwstat->rx_resource_errors + in macb_get_stats()
3077 hwstat->rx_overruns + in macb_get_stats()
3078 hwstat->rx_oversize_pkts + in macb_get_stats()
3079 hwstat->rx_jabbers + in macb_get_stats()
3080 hwstat->rx_undersize_pkts + in macb_get_stats()
3081 hwstat->rx_length_mismatch); in macb_get_stats()
3082 nstat->tx_errors = (hwstat->tx_late_cols + in macb_get_stats()
3083 hwstat->tx_excessive_cols + in macb_get_stats()
3084 hwstat->tx_underruns + in macb_get_stats()
3085 hwstat->tx_carrier_errors + in macb_get_stats()
3086 hwstat->sqe_test_errors); in macb_get_stats()
3087 nstat->collisions = (hwstat->tx_single_cols + in macb_get_stats()
3088 hwstat->tx_multiple_cols + in macb_get_stats()
3089 hwstat->tx_excessive_cols); in macb_get_stats()
3090 nstat->rx_length_errors = (hwstat->rx_oversize_pkts + in macb_get_stats()
3091 hwstat->rx_jabbers + in macb_get_stats()
3092 hwstat->rx_undersize_pkts + in macb_get_stats()
3093 hwstat->rx_length_mismatch); in macb_get_stats()
3094 nstat->rx_over_errors = hwstat->rx_resource_errors + in macb_get_stats()
3095 hwstat->rx_overruns; in macb_get_stats()
3096 nstat->rx_crc_errors = hwstat->rx_fcs_errors; in macb_get_stats()
3097 nstat->rx_frame_errors = hwstat->rx_align_errors; in macb_get_stats()
3098 nstat->rx_fifo_errors = hwstat->rx_overruns; in macb_get_stats()
3100 nstat->tx_aborted_errors = hwstat->tx_excessive_cols; in macb_get_stats()
3101 nstat->tx_carrier_errors = hwstat->tx_carrier_errors; in macb_get_stats()
3102 nstat->tx_fifo_errors = hwstat->tx_underruns; in macb_get_stats()