Home
last modified time | relevance | path

Searched refs:pa_stats (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_stats.c45 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()
H A Dicssg_ethtool.c74 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()
H A Dicssg_prueth.h199 u64 pa_stats[ICSSG_NUM_PA_STATS]; member
276 struct regmap *pa_stats; member
H A Dicssg_prueth.c1410 prueth->pa_stats = syscon_regmap_lookup_by_phandle(np, "ti,pa-stats"); in prueth_probe()
1411 if (IS_ERR(prueth->pa_stats)) { in prueth_probe()
1413 prueth->pa_stats = NULL; in prueth_probe()