/drivers/net/ethernet/dlink/ |
D | sundance.c | 390 } xstats; member 1540 np->xstats.tx_multiple_collisions += mult_coll; in get_stats() 1542 np->xstats.tx_single_collisions += single_coll; in get_stats() 1544 np->xstats.tx_late_collisions += late_coll; in get_stats() 1549 np->xstats.tx_deferred += ioread8(ioaddr + StatsTxDefer); in get_stats() 1550 np->xstats.tx_deferred_excessive += ioread8(ioaddr + StatsTxXSDefer); in get_stats() 1551 np->xstats.tx_aborted += ioread8(ioaddr + StatsTxAbort); in get_stats() 1552 np->xstats.tx_bcasts += ioread8(ioaddr + StatsBcastTx); in get_stats() 1553 np->xstats.rx_bcasts += ioread8(ioaddr + StatsBcastRx); in get_stats() 1554 np->xstats.tx_mcasts += ioread8(ioaddr + StatsMcastTx); in get_stats() [all …]
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 748 priv->xstats.tx_clean++; in sxgbe_tx_queue_clean() 1166 memset(&priv->xstats, 0, sizeof(struct sxgbe_extra_stats)); in sxgbe_open() 1168 priv->xstats.tx_threshold = priv->tx_tc; in sxgbe_open() 1169 priv->xstats.rx_threshold = priv->rx_tc; in sxgbe_open() 1398 priv->xstats.tx_reset_ic_bit++; in sxgbe_xmit() 1525 status = priv->hw->desc->rx_wbstatus(p, &priv->xstats, in sxgbe_rx() 1575 priv->xstats.napi_poll++; in sxgbe_poll() 1617 status = priv->hw->mac->host_irq_status(priv->ioaddr, &priv->xstats); in sxgbe_common_interrupt() 1620 priv->xstats.tx_lpi_entry_n++; in sxgbe_common_interrupt() 1624 priv->xstats.tx_lpi_exit_n++; in sxgbe_common_interrupt() [all …]
|
D | sxgbe_ethtool.c | 37 offsetof(struct sxgbe_priv_data, xstats.m) \ 240 priv->xstats.eee_wakeup_error_n = val; in sxgbe_get_ethtool_stats()
|
D | sxgbe_common.h | 486 struct sxgbe_extra_stats xstats; member
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 48 offsetof(struct stmmac_priv, xstats.m)} 286 if (!priv->xstats.pcs_link) { in stmmac_ethtool_getsettings() 291 cmd->duplex = priv->xstats.pcs_duplex; in stmmac_ethtool_getsettings() 293 ethtool_cmd_speed_set(cmd, priv->xstats.pcs_speed); in stmmac_ethtool_getsettings() 536 (void *) &priv->xstats, in stmmac_get_ethtool_stats() 555 priv->xstats.phy_eee_wakeup_error_n = val; in stmmac_get_ethtool_stats() 561 (void *)&priv->xstats); in stmmac_get_ethtool_stats()
|
D | stmmac_main.c | 1309 priv->xstats.threshold = SF_DMA_MODE; in stmmac_dma_operation_mode() 1327 priv->xstats.tx_clean++; in stmmac_tx_clean() 1340 &priv->xstats, p, in stmmac_tx_clean() 1353 priv->xstats.tx_pkt_n++; in stmmac_tx_clean() 1467 status = priv->hw->dma->dma_interrupt(priv->ioaddr, &priv->xstats); in stmmac_dma_interrupt() 1476 if (unlikely(priv->xstats.threshold != SF_DMA_MODE) && in stmmac_dma_interrupt() 1485 priv->xstats.threshold = tc; in stmmac_dma_interrupt() 1808 memset(&priv->xstats, 0, sizeof(struct stmmac_extra_stats)); in stmmac_open() 1809 priv->xstats.threshold = tc; in stmmac_open() 2107 priv->xstats.tx_tso_frames++; in stmmac_tso_xmit() [all …]
|
D | stmmac.h | 102 struct stmmac_extra_stats xstats ____cacheline_aligned_in_smp;
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 606 struct vortex_extra_stats xstats; /* NIC-specific extra stats */ member 1981 if (tx_status & 0x08) vp->xstats.tx_max_collisions++; in vortex_error() 2889 vp->xstats.tx_multiple_collisions += window_read8(vp, 6, 2); in update_stats() 2890 vp->xstats.tx_single_collisions += window_read8(vp, 6, 3); in update_stats() 2891 vp->xstats.tx_deferred += window_read8(vp, 6, 8); in update_stats() 2892 vp->xstats.rx_bad_ssd += window_read8(vp, 4, 12); in update_stats() 2894 dev->stats.collisions = vp->xstats.tx_multiple_collisions in update_stats() 2895 + vp->xstats.tx_single_collisions in update_stats() 2896 + vp->xstats.tx_max_collisions; in update_stats() 2957 data[0] = vp->xstats.tx_deferred; in vortex_get_ethtool_stats() [all …]
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 3249 struct xpakStat *xstats = &stats->xpak_stat; in s2io_updt_xpak_counter() local 3282 s2io_chk_xpak_counter(&xstats->alarm_transceiver_temp_high, in s2io_updt_xpak_counter() 3283 &xstats->xpak_regs_stat, in s2io_updt_xpak_counter() 3287 xstats->alarm_transceiver_temp_low++; in s2io_updt_xpak_counter() 3291 s2io_chk_xpak_counter(&xstats->alarm_laser_bias_current_high, in s2io_updt_xpak_counter() 3292 &xstats->xpak_regs_stat, in s2io_updt_xpak_counter() 3296 xstats->alarm_laser_bias_current_low++; in s2io_updt_xpak_counter() 3300 s2io_chk_xpak_counter(&xstats->alarm_laser_output_power_high, in s2io_updt_xpak_counter() 3301 &xstats->xpak_regs_stat, in s2io_updt_xpak_counter() 3305 xstats->alarm_laser_output_power_low++; in s2io_updt_xpak_counter() [all …]
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 613 struct rtl_extra_stats xstats; member 1686 tp->xstats.tx_timeouts++; in rtl8139_tx_timeout_task() 1864 tp->xstats.rx_lost_in_ring++; in rtl8139_rx_err() 2004 tp->xstats.early_rx++; in rtl8139_rx() 2480 data[0] = tp->xstats.early_rx; in rtl8139_get_ethtool_stats() 2481 data[1] = tp->xstats.tx_buf_mapped; in rtl8139_get_ethtool_stats() 2482 data[2] = tp->xstats.tx_timeouts; in rtl8139_get_ethtool_stats() 2483 data[3] = tp->xstats.rx_lost_in_ring; in rtl8139_get_ethtool_stats()
|
/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 386 struct xgmac_extra_stats xstats; member 527 struct xgmac_extra_stats *x = &priv->xstats; in desc_get_tx_status() 554 struct xgmac_extra_stats *x = &priv->xstats; in desc_get_rx_status() 1028 memset(&priv->xstats, 0, sizeof(struct xgmac_extra_stats)); in xgmac_open() 1408 struct xgmac_extra_stats *x = &priv->xstats; in xgmac_interrupt() 1586 { #m, offsetof(struct xgmac_priv, xstats.m), false }
|