/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 1119 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update() local 1123 nstats->rx_packets = in bnx2x_net_stats_update() 1128 nstats->tx_packets = in bnx2x_net_stats_update() 1133 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update() 1135 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update() 1143 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; in bnx2x_net_stats_update() 1145 nstats->tx_dropped = 0; in bnx2x_net_stats_update() 1147 nstats->multicast = in bnx2x_net_stats_update() 1150 nstats->collisions = in bnx2x_net_stats_update() 1153 nstats in bnx2x_net_stats_update() 1662 struct net_device_stats *nstats = &bp->dev->stats; bnx2x_save_statistics() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 1120 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update() local 1124 nstats->rx_packets = in bnx2x_net_stats_update() 1129 nstats->tx_packets = in bnx2x_net_stats_update() 1134 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update() 1136 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update() 1144 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; in bnx2x_net_stats_update() 1146 nstats->tx_dropped = 0; in bnx2x_net_stats_update() 1148 nstats->multicast = in bnx2x_net_stats_update() 1151 nstats->collisions = in bnx2x_net_stats_update() 1154 nstats in bnx2x_net_stats_update() 1663 struct net_device_stats *nstats = &bp->dev->stats; bnx2x_save_statistics() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 2090 struct net_device_stats *nstats, *stats0, *stats1; in ravb_get_stats() local 2092 nstats = &ndev->stats; in ravb_get_stats() 2096 nstats->tx_dropped += ravb_read(ndev, TROCR); in ravb_get_stats() 2101 nstats->collisions += ravb_read(ndev, CXR41); in ravb_get_stats() 2103 nstats->tx_carrier_errors += ravb_read(ndev, CXR42); in ravb_get_stats() 2107 nstats->rx_packets = stats0->rx_packets; in ravb_get_stats() 2108 nstats->tx_packets = stats0->tx_packets; in ravb_get_stats() 2109 nstats->rx_bytes = stats0->rx_bytes; in ravb_get_stats() 2110 nstats->tx_bytes = stats0->tx_bytes; in ravb_get_stats() 2111 nstats in ravb_get_stats() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 1638 struct net_device_stats *nstats, *stats0, *stats1; in ravb_get_stats() local 1640 nstats = &ndev->stats; in ravb_get_stats() 1645 nstats->tx_dropped += ravb_read(ndev, TROCR); in ravb_get_stats() 1649 nstats->rx_packets = stats0->rx_packets + stats1->rx_packets; in ravb_get_stats() 1650 nstats->tx_packets = stats0->tx_packets + stats1->tx_packets; in ravb_get_stats() 1651 nstats->rx_bytes = stats0->rx_bytes + stats1->rx_bytes; in ravb_get_stats() 1652 nstats->tx_bytes = stats0->tx_bytes + stats1->tx_bytes; in ravb_get_stats() 1653 nstats->multicast = stats0->multicast + stats1->multicast; in ravb_get_stats() 1654 nstats->rx_errors = stats0->rx_errors + stats1->rx_errors; in ravb_get_stats() 1655 nstats in ravb_get_stats() [all...] |
/kernel/linux/linux-5.10/drivers/net/phy/mscc/ |
H A D | mscc_main.c | 127 return priv->nstats; in vsc85xx_get_sset_count() 138 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_strings() 168 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_stats() 2101 vsc8531->nstats = ARRAY_SIZE(vsc85xx_hw_stats); in vsc8514_probe() 2102 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8514_probe() 2130 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8574_probe() 2131 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8574_probe() 2165 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8584_probe() 2166 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8584_probe() 2205 vsc8531->nstats in vsc85xx_probe() [all...] |
H A D | mscc.h | 362 int nstats; member
|
/kernel/linux/linux-6.6/drivers/net/phy/mscc/ |
H A D | mscc_main.c | 130 return priv->nstats; in vsc85xx_get_sset_count() 141 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_strings() 171 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_stats() 2225 vsc8531->nstats = ARRAY_SIZE(vsc85xx_hw_stats); in vsc8514_probe() 2226 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8514_probe() 2254 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8574_probe() 2255 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8574_probe() 2289 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8584_probe() 2290 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8584_probe() 2329 vsc8531->nstats in vsc85xx_probe() [all...] |
H A D | mscc.h | 372 int nstats; member
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
H A D | ks_hostif.c | 353 priv->nstats.rx_errors++; in hostif_data_indication_wpa() 429 priv->nstats.rx_errors++; in hostif_data_indication() 442 priv->nstats.rx_errors++; in hostif_data_indication() 464 priv->nstats.rx_dropped++; in hostif_data_indication() 484 priv->nstats.rx_dropped++; in hostif_data_indication() 505 priv->nstats.rx_errors++; in hostif_data_indication() 516 priv->nstats.rx_packets++; in hostif_data_indication() 517 priv->nstats.rx_bytes += rx_ind_size; in hostif_data_indication()
|
H A D | ks_wlan.h | 441 struct net_device_stats nstats; member
|
H A D | ks_wlan_net.c | 2484 return &priv->nstats; in ks_wlan_get_stats() 2513 priv->nstats.tx_errors++; in ks_wlan_tx_timeout() 2548 priv->nstats.tx_packets++; in send_packet_complete() 2554 priv->nstats.tx_bytes += skb->len; in send_packet_complete()
|
H A D | ks7010_sdio.c | 938 memset(&priv->nstats, 0, sizeof(priv->nstats)); in ks7010_private_init()
|
/kernel/linux/linux-6.6/drivers/staging/ks7010/ |
H A D | ks_hostif.c | 348 priv->nstats.rx_errors++; in hostif_data_indication_wpa() 424 priv->nstats.rx_errors++; in hostif_data_indication() 437 priv->nstats.rx_errors++; in hostif_data_indication() 459 priv->nstats.rx_dropped++; in hostif_data_indication() 479 priv->nstats.rx_dropped++; in hostif_data_indication() 500 priv->nstats.rx_errors++; in hostif_data_indication() 511 priv->nstats.rx_packets++; in hostif_data_indication() 512 priv->nstats.rx_bytes += rx_ind_size; in hostif_data_indication()
|
H A D | ks_wlan.h | 441 struct net_device_stats nstats; member
|
H A D | ks_wlan_net.c | 2487 return &priv->nstats; in ks_wlan_get_stats() 2516 priv->nstats.tx_errors++; in ks_wlan_tx_timeout() 2551 priv->nstats.tx_packets++; in send_packet_complete() 2557 priv->nstats.tx_bytes += skb->len; in send_packet_complete()
|
H A D | ks7010_sdio.c | 938 memset(&priv->nstats, 0, sizeof(priv->nstats)); in ks7010_private_init()
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_mb.h | 51 uint8_t nstats; member
|
H A D | csio_lnode.c | 1403 portparams.nstats = 6; in csio_get_phy_port_stats() 1405 portparams.nstats = 4; in csio_get_phy_port_stats()
|
H A D | csio_mb.c | 1042 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | in csio_fcoe_read_portparams_init_mb() 1069 memcpy(dst, src, (portparams->nstats * 8)); in csio_mb_process_portparams_rsp()
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_mb.h | 51 uint8_t nstats; member
|
H A D | csio_mb.c | 1042 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | in csio_fcoe_read_portparams_init_mb() 1069 memcpy(dst, src, (portparams->nstats * 8)); in csio_mb_process_portparams_rsp()
|
H A D | csio_lnode.c | 1403 portparams.nstats = 6; in csio_get_phy_port_stats() 1405 portparams.nstats = 4; in csio_get_phy_port_stats()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_main.c | 1474 unsigned int nstats; in fun_init_stats_area() local 1479 nstats = PORT_MAC_RX_STATS_MAX + PORT_MAC_TX_STATS_MAX + in fun_init_stats_area() 1482 fp->stats = dma_alloc_coherent(&fp->pdev->dev, nstats * sizeof(u64), in fun_init_stats_area() 1491 unsigned int nstats; in fun_free_stats_area() local 1494 nstats = PORT_MAC_RX_STATS_MAX + PORT_MAC_TX_STATS_MAX; in fun_free_stats_area() 1495 dma_free_coherent(&fp->pdev->dev, nstats * sizeof(u64), in fun_free_stats_area()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 1778 unsigned int nstats = min(6U, rem); in t4vf_get_port_stats() local 1793 FW_VI_STATS_CMD_NSTATS_V(nstats)); in t4vf_get_port_stats() 1798 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats() 1800 rem -= nstats; in t4vf_get_port_stats() 1801 fwsp += nstats; in t4vf_get_port_stats()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 1779 unsigned int nstats = min(6U, rem); in t4vf_get_port_stats() local 1794 FW_VI_STATS_CMD_NSTATS_V(nstats)); in t4vf_get_port_stats() 1799 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats() 1801 rem -= nstats; in t4vf_get_port_stats() 1802 fwsp += nstats; in t4vf_get_port_stats()
|