Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1251 static struct hinic_stats hinic_port_stats[] = { variable
1426 ARRAY_SIZE(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()
1427 i += ARRAY_SIZE(hinic_port_stats); in hinic_get_ethtool_stats()
1436 for (j = 0; j < ARRAY_SIZE(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_SIZE(hinic_port_stats); in hinic_get_sset_count()
1484 for (i = 0; i < ARRAY_SIZE(hinic_port_stats); i++) in hinic_get_strings()
1485 ethtool_puts(&data, hinic_port_stats[i].name); in hinic_get_strings()
Dhinic_port.h609 struct hinic_port_stats { struct
Dhinic_port.c1030 struct hinic_port_stats *port_stats; in hinic_get_phy_port_stats()