Home
last modified time | relevance | path

Searched refs:hinic_port_stats (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c1249 static struct hinic_stats hinic_port_stats[] = { variable
1424 ARRAY_SIZE(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()
1425 i += ARRAY_SIZE(hinic_port_stats); in hinic_get_ethtool_stats()
1434 for (j = 0; j < ARRAY_SIZE(hinic_port_stats); j++, i++) { in hinic_get_ethtool_stats()
1435 p = (char *)port_stats + hinic_port_stats[j].offset; in hinic_get_ethtool_stats()
1436 data[i] = (hinic_port_stats[j].size == in hinic_get_ethtool_stats()
1460 count += ARRAY_SIZE(hinic_port_stats); in hinic_get_sset_count()
1486 for (i = 0; i < ARRAY_SIZE(hinic_port_stats); i++) { in hinic_get_strings()
1487 memcpy(p, hinic_port_stats[i].name, in hinic_get_strings()
H A Dhinic_port.h609 struct hinic_port_stats { struct
H A Dhinic_port.c1030 struct hinic_port_stats *port_stats; in hinic_get_phy_port_stats()