mac_stats 2800 drivers/net/ethernet/alteon/acenic.c struct ace_mac_stats __iomem *mac_stats = mac_stats 2803 drivers/net/ethernet/alteon/acenic.c dev->stats.rx_missed_errors = readl(&mac_stats->drop_space); mac_stats 2804 drivers/net/ethernet/alteon/acenic.c dev->stats.multicast = readl(&mac_stats->kept_mc); mac_stats 2805 drivers/net/ethernet/alteon/acenic.c dev->stats.collisions = readl(&mac_stats->coll); mac_stats 1163 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h union mac_stats mac_stats; mac_stats 328 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, mac_stats)); mac_stats 329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, mac_stats)); mac_stats 341 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, mac_stats) + mac_stats 343 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, mac_stats) + mac_stats 356 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, mac_stats) + mac_stats 358 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, mac_stats) + mac_stats 406 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c mac_stats.mstat_stats.stats_tx) >> 2; mac_stats 408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c mac_stats.mstat_stats.stats_rx) >> 2; mac_stats 418 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, mac_stats)); mac_stats 419 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, mac_stats)); mac_stats 430 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c U64_LO(bnx2x_sp_mapping(bp, mac_stats) + (tx_len << 2)); mac_stats 432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c U64_HI(bnx2x_sp_mapping(bp, mac_stats) + (tx_len << 2)); mac_stats 559 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct bmac1_stats *new = bnx2x_sp(bp, mac_stats.bmac1_stats); mac_stats 594 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct bmac2_stats *new = bnx2x_sp(bp, mac_stats.bmac2_stats); mac_stats 660 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct mstat_stats *new = bnx2x_sp(bp, mac_stats.mstat_stats); mac_stats 747 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct emac_stats *new = bnx2x_sp(bp, mac_stats.emac_stats); mac_stats 837 drivers/net/ethernet/brocade/bna/bfi_enet.h struct bfi_enet_stats_mac mac_stats; mac_stats 2428 drivers/net/ethernet/brocade/bna/bnad.c struct bfi_enet_stats_mac *mac_stats; mac_stats 2432 drivers/net/ethernet/brocade/bna/bnad.c mac_stats = &bnad->stats.bna_stats->hw_stats.mac_stats; mac_stats 2434 drivers/net/ethernet/brocade/bna/bnad.c mac_stats->rx_fcs_error + mac_stats->rx_alignment_error + mac_stats 2435 drivers/net/ethernet/brocade/bna/bnad.c mac_stats->rx_frame_length_error + mac_stats->rx_code_error + mac_stats 2436 drivers/net/ethernet/brocade/bna/bnad.c mac_stats->rx_undersize; mac_stats 2437 drivers/net/ethernet/brocade/bna/bnad.c stats->tx_errors = mac_stats->tx_fcs_error + mac_stats 2438 drivers/net/ethernet/brocade/bna/bnad.c mac_stats->tx_undersize; mac_stats 2439 drivers/net/ethernet/brocade/bna/bnad.c stats->rx_dropped = mac_stats->rx_drop; mac_stats 2440 drivers/net/ethernet/brocade/bna/bnad.c stats->tx_dropped = mac_stats->tx_drop; mac_stats 2441 drivers/net/ethernet/brocade/bna/bnad.c stats->multicast = mac_stats->rx_multicast; mac_stats 2442 drivers/net/ethernet/brocade/bna/bnad.c stats->collisions = mac_stats->tx_total_collision; mac_stats 2444 drivers/net/ethernet/brocade/bna/bnad.c stats->rx_length_errors = mac_stats->rx_frame_length_error; mac_stats 2448 drivers/net/ethernet/brocade/bna/bnad.c stats->rx_crc_errors = mac_stats->rx_fcs_error; mac_stats 2449 drivers/net/ethernet/brocade/bna/bnad.c stats->rx_frame_errors = mac_stats->rx_alignment_error; mac_stats 483 drivers/net/ethernet/chelsio/cxgb3/common.h struct mac_stats stats; mac_stats 715 drivers/net/ethernet/chelsio/cxgb3/common.h const struct mac_stats *t3_mac_update_stats(struct cmac *mac); mac_stats 1493 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c const struct mac_stats *pstats; mac_stats 1669 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c const struct mac_stats *s; mac_stats 472 drivers/net/ethernet/chelsio/cxgb3/xgmac.c struct mac_stats *s = &mac->stats; mac_stats 535 drivers/net/ethernet/chelsio/cxgb3/xgmac.c struct mac_stats *s = &mac->stats; mac_stats 598 drivers/net/ethernet/chelsio/cxgb3/xgmac.c const struct mac_stats *t3_mac_update_stats(struct cmac *mac) mac_stats 446 drivers/net/ethernet/hisilicon/hns3/hnae3.h struct hns3_mac_stats *mac_stats); mac_stats 1739 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_mac_stats mac_stats; mac_stats 1741 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c h->ae_algo->ops->get_mac_stats(h, &mac_stats); mac_stats 1743 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c mac_stats.tx_pause_cnt, mac_stats.rx_pause_cnt); mac_stats 418 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u64 *data = (u64 *)(&hdev->hw_stats.mac_stats); mac_stats 455 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u64 *data = (u64 *)(&hdev->hw_stats.mac_stats); mac_stats 804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c p = hclge_comm_get_stats(&hdev->hw_stats.mac_stats, g_mac_stats_string, mac_stats 810 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hns3_mac_stats *mac_stats) mac_stats 817 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_stats->tx_pause_cnt = hdev->hw_stats.mac_stats.mac_tx_mac_pause_num; mac_stats 818 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_stats->rx_pause_cnt = hdev->hw_stats.mac_stats.mac_rx_mac_pause_num; mac_stats 461 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h struct hclge_mac_stats mac_stats; mac_stats 1125 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c struct qlcnic_mac_statistics *mac_stats) mac_stats 1134 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c if (mac_stats == NULL) mac_stats 1152 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_tx_frames = le64_to_cpu(stats->mac_tx_frames); mac_stats 1153 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_tx_bytes = le64_to_cpu(stats->mac_tx_bytes); mac_stats 1154 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_tx_mcast_pkts = mac_stats 1156 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_tx_bcast_pkts = mac_stats 1158 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_frames = le64_to_cpu(stats->mac_rx_frames); mac_stats 1159 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_bytes = le64_to_cpu(stats->mac_rx_bytes); mac_stats 1160 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_mcast_pkts = mac_stats 1162 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_length_error = mac_stats 1164 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_length_small = mac_stats 1166 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_length_large = mac_stats 1168 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_jabber = le64_to_cpu(stats->mac_rx_jabber); mac_stats 1169 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_dropped = le64_to_cpu(stats->mac_rx_dropped); mac_stats 1170 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mac_stats->mac_rx_crc_error = le64_to_cpu(stats->mac_rx_crc_error); mac_stats 1255 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c struct qlcnic_mac_statistics *mac_stats = mac_stats 1257 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_frames); mac_stats 1258 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_bytes); mac_stats 1259 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_mcast_pkts); mac_stats 1260 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_bcast_pkts); mac_stats 1261 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_pause_cnt); mac_stats 1262 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_ctrl_pkt); mac_stats 1263 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_lt_64b_pkts); mac_stats 1264 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_lt_127b_pkts); mac_stats 1265 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_lt_255b_pkts); mac_stats 1266 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_lt_511b_pkts); mac_stats 1267 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_lt_1023b_pkts); mac_stats 1268 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_lt_1518b_pkts); mac_stats 1269 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_tx_gt_1518b_pkts); mac_stats 1270 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_frames); mac_stats 1271 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_bytes); mac_stats 1272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_mcast_pkts); mac_stats 1273 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_bcast_pkts); mac_stats 1274 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_pause_cnt); mac_stats 1275 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_ctrl_pkt); mac_stats 1276 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_lt_64b_pkts); mac_stats 1277 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_lt_127b_pkts); mac_stats 1278 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_lt_255b_pkts); mac_stats 1279 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_lt_511b_pkts); mac_stats 1280 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_lt_1023b_pkts); mac_stats 1281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_lt_1518b_pkts); mac_stats 1282 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_gt_1518b_pkts); mac_stats 1283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_length_error); mac_stats 1284 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_length_small); mac_stats 1285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_length_large); mac_stats 1286 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_jabber); mac_stats 1287 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_dropped); mac_stats 1288 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_rx_crc_error); mac_stats 1289 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(mac_stats->mac_align_error); mac_stats 1348 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c struct qlcnic_mac_statistics mac_stats; mac_stats 1377 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memset(&mac_stats, 0, sizeof(struct qlcnic_mac_statistics)); mac_stats 1378 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_get_mac_stats(adapter, &mac_stats); mac_stats 1379 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c data = qlcnic_fill_stats(data, &mac_stats, QLCNIC_MAC_STATS); mac_stats 3902 drivers/net/ethernet/sun/niu.c struct niu_xmac_stats *mp = &np->mac_stats.xmac; mac_stats 3974 drivers/net/ethernet/sun/niu.c struct niu_bmac_stats *mp = &np->mac_stats.bmac; mac_stats 6175 drivers/net/ethernet/sun/niu.c struct niu_xmac_stats *mp = &np->mac_stats.xmac; mac_stats 6200 drivers/net/ethernet/sun/niu.c struct niu_bmac_stats *mp = &np->mac_stats.bmac; mac_stats 7783 drivers/net/ethernet/sun/niu.c memcpy(data, &np->mac_stats.xmac, mac_stats 7787 drivers/net/ethernet/sun/niu.c memcpy(data, &np->mac_stats.bmac, mac_stats 3267 drivers/net/ethernet/sun/niu.h union niu_mac_stats mac_stats; mac_stats 244 drivers/net/wireless/mediatek/mt7601u/mt7601u.h struct mac_stats stats; mac_stats 853 drivers/staging/wilc1000/wilc_netdev.c .ndo_get_stats = mac_stats,