Searched refs:pa_stats (Results 1 – 4 of 4) sorted by relevance
45 if (prueth->pa_stats) { in emac_update_hardware_stats()50 regmap_read(prueth->pa_stats, reg, &val); in emac_update_hardware_stats()51 emac->pa_stats[i] += val; in emac_update_hardware_stats()76 if (emac->prueth->pa_stats) { in emac_get_stat_by_name()79 return emac->pa_stats[icssg_all_pa_stats[i].offset / sizeof(u32)]; in emac_get_stat_by_name()
74 if (emac->prueth->pa_stats) in emac_get_sset_count()94 if (emac->prueth->pa_stats) in emac_get_strings()115 if (emac->prueth->pa_stats) in emac_get_ethtool_stats()117 *(data++) = emac->pa_stats[i]; in emac_get_ethtool_stats()
199 u64 pa_stats[ICSSG_NUM_PA_STATS]; member276 struct regmap *pa_stats; member
1367 prueth->pa_stats = syscon_regmap_lookup_by_phandle(np, "ti,pa-stats"); in prueth_probe()1368 if (IS_ERR(prueth->pa_stats)) { in prueth_probe()1370 prueth->pa_stats = NULL; in prueth_probe()