Searched refs:get_stats32 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 3768 data[i] = get_stats32(hw, port, sky2_stats[i].offset); in sky2_phy_stats() 3913 stats->multicast = get_stats32(hw, port, GM_RXF_MC_OK) in sky2_get_stats() 3914 + get_stats32(hw, port, GM_RXF_BC_OK); in sky2_get_stats() 3916 stats->collisions = get_stats32(hw, port, GM_TXF_COL); in sky2_get_stats() 3918 stats->rx_length_errors = get_stats32(hw, port, GM_RXF_LNG_ERR); in sky2_get_stats() 3919 stats->rx_crc_errors = get_stats32(hw, port, GM_RXF_FCS_ERR); in sky2_get_stats() 3920 stats->rx_frame_errors = get_stats32(hw, port, GM_RXF_SHT) in sky2_get_stats() 3921 + get_stats32(hw, port, GM_RXE_FRAG); in sky2_get_stats() 3922 stats->rx_over_errors = get_stats32(hw, port, GM_RXE_FIFO_OV); in sky2_get_stats()
|
H A D | sky2.h | 2373 static inline u32 get_stats32(struct sky2_hw *hw, unsigned port, unsigned reg) in get_stats32() function
|