Lines Matching refs:pmac

473 	struct ethtool_eth_mac_stats pmac, emac;  in ethtool_aggregate_mac_stats()  local
476 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_mac_stats()
478 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_mac_stats()
481 ops->get_eth_mac_stats(dev, &pmac); in ethtool_aggregate_mac_stats()
483 ethtool_aggregate_stats(mac_stats, &emac, &pmac, in ethtool_aggregate_mac_stats()
493 struct ethtool_eth_phy_stats pmac, emac; in ethtool_aggregate_phy_stats() local
496 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_phy_stats()
498 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_phy_stats()
501 ops->get_eth_phy_stats(dev, &pmac); in ethtool_aggregate_phy_stats()
503 ethtool_aggregate_stats(phy_stats, &emac, &pmac, in ethtool_aggregate_phy_stats()
513 struct ethtool_eth_ctrl_stats pmac, emac; in ethtool_aggregate_ctrl_stats() local
516 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_ctrl_stats()
518 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_ctrl_stats()
521 ops->get_eth_ctrl_stats(dev, &pmac); in ethtool_aggregate_ctrl_stats()
523 ethtool_aggregate_stats(ctrl_stats, &emac, &pmac, in ethtool_aggregate_ctrl_stats()
533 struct ethtool_pause_stats pmac, emac; in ethtool_aggregate_pause_stats() local
536 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_pause_stats()
538 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_pause_stats()
541 ops->get_pause_stats(dev, &pmac); in ethtool_aggregate_pause_stats()
543 ethtool_aggregate_stats(pause_stats, &emac, &pmac, in ethtool_aggregate_pause_stats()
554 struct ethtool_rmon_stats pmac, emac; in ethtool_aggregate_rmon_stats() local
557 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_rmon_stats()
559 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_rmon_stats()
562 ops->get_rmon_stats(dev, &pmac, &dummy); in ethtool_aggregate_rmon_stats()
564 ethtool_aggregate_stats(rmon_stats, &emac, &pmac, in ethtool_aggregate_rmon_stats()