Searched refs:nxp_c45_hw_stats (Results 1 – 1 of 1) sorted by relevance
808 static const struct nxp_c45_phy_stats nxp_c45_hw_stats[] = { variable837 return ARRAY_SIZE(nxp_c45_hw_stats); in nxp_c45_get_sset_count()844 for (i = 0; i < ARRAY_SIZE(nxp_c45_hw_stats); i++) { in nxp_c45_get_strings()846 nxp_c45_hw_stats[i].name, ETH_GSTRING_LEN); in nxp_c45_get_strings()856 for (i = 0; i < ARRAY_SIZE(nxp_c45_hw_stats); i++) { in nxp_c45_get_stats()857 ret = phy_read_mmd(phydev, nxp_c45_hw_stats[i].mmd, in nxp_c45_get_stats()858 nxp_c45_hw_stats[i].reg); in nxp_c45_get_stats()862 data[i] = ret & nxp_c45_hw_stats[i].mask; in nxp_c45_get_stats()863 data[i] >>= nxp_c45_hw_stats[i].off; in nxp_c45_get_stats()