Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1251 static struct hinic_stats hinic_port_stats[] = { variable
1426 ARRAY_LEN(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()
1427 i += ARRAY_LEN(hinic_port_stats); in hinic_get_ethtool_stats()
1436 for (j = 0; j < ARRAY_LEN(hinic_port_stats); j++, i++) { in hinic_get_ethtool_stats()
1437 p = (char *)port_stats + hinic_port_stats[j].offset; in hinic_get_ethtool_stats()
1438 data[i] = (hinic_port_stats[j].size == in hinic_get_ethtool_stats()
1462 count += ARRAY_LEN(hinic_port_stats); in hinic_get_sset_count()
1488 for (i = 0; i < ARRAY_LEN(hinic_port_stats); i++) { in hinic_get_strings()
1489 memcpy(p, hinic_port_stats[i].name, in hinic_get_strings()
Dhinic_port.h598 struct hinic_port_stats { struct
Dhinic_port.c1015 struct hinic_port_stats *port_stats; in hinic_get_phy_port_stats()