Lines Matching refs:emac
473 struct ethtool_eth_mac_stats pmac, emac; in ethtool_aggregate_mac_stats() local
475 memset(&emac, 0xff, sizeof(emac)); in ethtool_aggregate_mac_stats()
477 emac.src = ETHTOOL_MAC_STATS_SRC_EMAC; in ethtool_aggregate_mac_stats()
480 ops->get_eth_mac_stats(dev, &emac); 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
495 memset(&emac, 0xff, sizeof(emac)); in ethtool_aggregate_phy_stats()
497 emac.src = ETHTOOL_MAC_STATS_SRC_EMAC; in ethtool_aggregate_phy_stats()
500 ops->get_eth_phy_stats(dev, &emac); 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
515 memset(&emac, 0xff, sizeof(emac)); in ethtool_aggregate_ctrl_stats()
517 emac.src = ETHTOOL_MAC_STATS_SRC_EMAC; in ethtool_aggregate_ctrl_stats()
520 ops->get_eth_ctrl_stats(dev, &emac); 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
535 memset(&emac, 0xff, sizeof(emac)); in ethtool_aggregate_pause_stats()
537 emac.src = ETHTOOL_MAC_STATS_SRC_EMAC; in ethtool_aggregate_pause_stats()
540 ops->get_pause_stats(dev, &emac); 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
556 memset(&emac, 0xff, sizeof(emac)); in ethtool_aggregate_rmon_stats()
558 emac.src = ETHTOOL_MAC_STATS_SRC_EMAC; in ethtool_aggregate_rmon_stats()
561 ops->get_rmon_stats(dev, &emac, &dummy); in ethtool_aggregate_rmon_stats()
564 ethtool_aggregate_stats(rmon_stats, &emac, &pmac, in ethtool_aggregate_rmon_stats()