Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c1234 static struct hinic_stats hinic_port_stats[] = { variable
1409 ARRAY_SIZE(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()
1410 i += ARRAY_SIZE(hinic_port_stats); in hinic_get_ethtool_stats()
1419 for (j = 0; j < ARRAY_SIZE(hinic_port_stats); j++, i++) { in hinic_get_ethtool_stats()
1420 p = (char *)port_stats + hinic_port_stats[j].offset; in hinic_get_ethtool_stats()
1421 data[i] = (hinic_port_stats[j].size == in hinic_get_ethtool_stats()
1445 count += ARRAY_SIZE(hinic_port_stats); in hinic_get_sset_count()
1467 for (i = 0; i < ARRAY_SIZE(hinic_port_stats); i++) in hinic_get_strings()
1468 ethtool_puts(&data, hinic_port_stats[i].name); in hinic_get_strings()
H A Dhinic_port.h609 struct hinic_port_stats { struct
610 statushinic_port_stats global() argument
611 versionhinic_port_stats global() argument
612 rsvdhinic_port_stats global() argument
614 statshinic_port_stats global() argument