Home
last modified time | relevance | path

Searched refs:hist_tx (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/meta/fbnic/
A Dfbnic_mac.c714 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[0], in fbnic_mac_get_rmon_stats()
716 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[1], in fbnic_mac_get_rmon_stats()
718 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[2], in fbnic_mac_get_rmon_stats()
720 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[3], in fbnic_mac_get_rmon_stats()
722 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[4], in fbnic_mac_get_rmon_stats()
724 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[5], in fbnic_mac_get_rmon_stats()
726 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[6], in fbnic_mac_get_rmon_stats()
728 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[7], in fbnic_mac_get_rmon_stats()
730 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[8], in fbnic_mac_get_rmon_stats()
732 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist_tx[9], in fbnic_mac_get_rmon_stats()
[all …]
A Dfbnic_hw_stats.h39 struct fbnic_stat_counter hist_tx[ETHTOOL_RMON_HIST_MAX]; member
A Dfbnic_ethtool.c1672 rmon_stats->hist_tx[i] = mac_stats->rmon.hist_tx[i].value; in fbnic_get_rmon_stats()
/drivers/net/ethernet/broadcom/asp2/
A Dbcmasp_ethtool.c394 rmon_stats->hist_tx[0] = umac_rl(intf, UMC_TR64); in bcmasp_get_rmon_stats()
395 rmon_stats->hist_tx[1] = umac_rl(intf, UMC_TR127); in bcmasp_get_rmon_stats()
396 rmon_stats->hist_tx[2] = umac_rl(intf, UMC_TR255); in bcmasp_get_rmon_stats()
397 rmon_stats->hist_tx[3] = umac_rl(intf, UMC_TR511); in bcmasp_get_rmon_stats()
398 rmon_stats->hist_tx[4] = umac_rl(intf, UMC_TR1023); in bcmasp_get_rmon_stats()
399 rmon_stats->hist_tx[5] = umac_rl(intf, UMC_TR1518); in bcmasp_get_rmon_stats()
400 rmon_stats->hist_tx[6] = umac_rl(intf, UMC_TRMGV); in bcmasp_get_rmon_stats()
/drivers/net/ethernet/mscc/
A Docelot_stats.c582 rmon_stats->hist_tx[0] = s[OCELOT_STAT_TX_64]; in ocelot_port_rmon_stats_cb()
583 rmon_stats->hist_tx[1] = s[OCELOT_STAT_TX_65_127]; in ocelot_port_rmon_stats_cb()
584 rmon_stats->hist_tx[2] = s[OCELOT_STAT_TX_128_255]; in ocelot_port_rmon_stats_cb()
585 rmon_stats->hist_tx[3] = s[OCELOT_STAT_TX_256_511]; in ocelot_port_rmon_stats_cb()
586 rmon_stats->hist_tx[4] = s[OCELOT_STAT_TX_512_1023]; in ocelot_port_rmon_stats_cb()
587 rmon_stats->hist_tx[5] = s[OCELOT_STAT_TX_1024_1526]; in ocelot_port_rmon_stats_cb()
588 rmon_stats->hist_tx[6] = s[OCELOT_STAT_TX_1527_MAX]; in ocelot_port_rmon_stats_cb()
610 rmon_stats->hist_tx[0] = s[OCELOT_STAT_TX_PMAC_64]; in ocelot_port_pmac_rmon_stats_cb()
611 rmon_stats->hist_tx[1] = s[OCELOT_STAT_TX_PMAC_65_127]; in ocelot_port_pmac_rmon_stats_cb()
612 rmon_stats->hist_tx[2] = s[OCELOT_STAT_TX_PMAC_128_255]; in ocelot_port_pmac_rmon_stats_cb()
[all …]
/drivers/net/ethernet/ti/icssg/
A Dicssg_ethtool.c203 rmon_stats->hist_tx[0] = emac_get_stat_by_name(emac, "tx_bucket1_frames"); in emac_get_rmon_stats()
204 rmon_stats->hist_tx[1] = emac_get_stat_by_name(emac, "tx_bucket2_frames"); in emac_get_rmon_stats()
205 rmon_stats->hist_tx[2] = emac_get_stat_by_name(emac, "tx_bucket3_frames"); in emac_get_rmon_stats()
206 rmon_stats->hist_tx[3] = emac_get_stat_by_name(emac, "tx_bucket4_frames"); in emac_get_rmon_stats()
207 rmon_stats->hist_tx[4] = emac_get_stat_by_name(emac, "tx_bucket5_frames"); in emac_get_rmon_stats()
/drivers/net/ethernet/hisilicon/hibmcge/
A Dhbg_ethtool.c467 rmon_stats->hist_tx[0] = stats->tx_framesize_64; in hbg_ethtool_get_rmon_stats()
468 rmon_stats->hist_tx[1] = stats->tx_framesize_65_127; in hbg_ethtool_get_rmon_stats()
469 rmon_stats->hist_tx[2] = stats->tx_framesize_128_255; in hbg_ethtool_get_rmon_stats()
470 rmon_stats->hist_tx[3] = stats->tx_framesize_256_511; in hbg_ethtool_get_rmon_stats()
471 rmon_stats->hist_tx[4] = stats->tx_framesize_512_1023; in hbg_ethtool_get_rmon_stats()
472 rmon_stats->hist_tx[5] = stats->tx_framesize_1024_1518; in hbg_ethtool_get_rmon_stats()
473 rmon_stats->hist_tx[6] = stats->tx_framesize_bt_1518; in hbg_ethtool_get_rmon_stats()
/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_ethtool.c481 rmon_stats->hist_tx[0] = in lan966x_get_eth_rmon_stats()
484 rmon_stats->hist_tx[1] = in lan966x_get_eth_rmon_stats()
487 rmon_stats->hist_tx[2] = in lan966x_get_eth_rmon_stats()
490 rmon_stats->hist_tx[3] = in lan966x_get_eth_rmon_stats()
493 rmon_stats->hist_tx[4] = in lan966x_get_eth_rmon_stats()
496 rmon_stats->hist_tx[5] = in lan966x_get_eth_rmon_stats()
499 rmon_stats->hist_tx[6] = in lan966x_get_eth_rmon_stats()
/drivers/net/ethernet/fungible/funeth/
A Dfuneth_ethtool.c921 stats->hist_tx[0] = TX_STAT(fp, etherStatsPkts64Octets); in fun_get_rmon_stats()
922 stats->hist_tx[1] = TX_STAT(fp, etherStatsPkts65to127Octets); in fun_get_rmon_stats()
923 stats->hist_tx[2] = TX_STAT(fp, etherStatsPkts128to255Octets); in fun_get_rmon_stats()
924 stats->hist_tx[3] = TX_STAT(fp, etherStatsPkts256to511Octets); in fun_get_rmon_stats()
925 stats->hist_tx[4] = TX_STAT(fp, etherStatsPkts512to1023Octets); in fun_get_rmon_stats()
926 stats->hist_tx[5] = TX_STAT(fp, etherStatsPkts1024to1518Octets); in fun_get_rmon_stats()
927 stats->hist_tx[6] = TX_STAT(fp, etherStatsPkts1519toMaxOctets); in fun_get_rmon_stats()
/drivers/net/ethernet/freescale/enetc/
A Denetc_ethtool.c405 s->hist_tx[0] = enetc_port_rd64(hw, ENETC_PM_T64(mac)); in enetc_rmon_stats()
406 s->hist_tx[1] = enetc_port_rd64(hw, ENETC_PM_T127(mac)); in enetc_rmon_stats()
407 s->hist_tx[2] = enetc_port_rd64(hw, ENETC_PM_T255(mac)); in enetc_rmon_stats()
408 s->hist_tx[3] = enetc_port_rd64(hw, ENETC_PM_T511(mac)); in enetc_rmon_stats()
409 s->hist_tx[4] = enetc_port_rd64(hw, ENETC_PM_T1023(mac)); in enetc_rmon_stats()
410 s->hist_tx[5] = enetc_port_rd64(hw, ENETC_PM_T1522(mac)); in enetc_rmon_stats()
411 s->hist_tx[6] = enetc_port_rd64(hw, ENETC_PM_T1523X(mac)); in enetc_rmon_stats()
/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_ethtool.c978 rmon_stats->hist_tx[0] = portstats[spx5_stats_tx_size64_cnt] + in sparx5_get_eth_rmon_stats()
980 rmon_stats->hist_tx[1] = portstats[spx5_stats_tx_size65to127_cnt] + in sparx5_get_eth_rmon_stats()
982 rmon_stats->hist_tx[2] = portstats[spx5_stats_tx_size128to255_cnt] + in sparx5_get_eth_rmon_stats()
984 rmon_stats->hist_tx[3] = portstats[spx5_stats_tx_size256to511_cnt] + in sparx5_get_eth_rmon_stats()
986 rmon_stats->hist_tx[4] = portstats[spx5_stats_tx_size512to1023_cnt] + in sparx5_get_eth_rmon_stats()
988 rmon_stats->hist_tx[5] = portstats[spx5_stats_tx_size1024to1518_cnt] + in sparx5_get_eth_rmon_stats()
990 rmon_stats->hist_tx[6] = portstats[spx5_stats_tx_size1519tomax_cnt] + in sparx5_get_eth_rmon_stats()
/drivers/net/ethernet/xilinx/
A Dxilinx_axienet_main.c2477 rmon_stats->hist_tx[0] = in axienet_ethtool_get_rmon_stats()
2479 rmon_stats->hist_tx[1] = in axienet_ethtool_get_rmon_stats()
2481 rmon_stats->hist_tx[2] = in axienet_ethtool_get_rmon_stats()
2483 rmon_stats->hist_tx[3] = in axienet_ethtool_get_rmon_stats()
2485 rmon_stats->hist_tx[4] = in axienet_ethtool_get_rmon_stats()
2487 rmon_stats->hist_tx[5] = in axienet_ethtool_get_rmon_stats()
2489 rmon_stats->hist_tx[6] = in axienet_ethtool_get_rmon_stats()
/drivers/net/dsa/
A Dmt7530.c894 &rmon_stats->hist_tx[0]); in mt7530_get_rmon_stats()
896 &rmon_stats->hist_tx[1]); in mt7530_get_rmon_stats()
898 &rmon_stats->hist_tx[2]); in mt7530_get_rmon_stats()
900 &rmon_stats->hist_tx[3]); in mt7530_get_rmon_stats()
902 &rmon_stats->hist_tx[4]); in mt7530_get_rmon_stats()
904 &rmon_stats->hist_tx[5]); in mt7530_get_rmon_stats()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c5422 rmon_stats->hist_tx[0] = in bnxt_get_rmon_stats()
5424 rmon_stats->hist_tx[1] = in bnxt_get_rmon_stats()
5426 rmon_stats->hist_tx[2] = in bnxt_get_rmon_stats()
5428 rmon_stats->hist_tx[3] = in bnxt_get_rmon_stats()
5430 rmon_stats->hist_tx[4] = in bnxt_get_rmon_stats()
5432 rmon_stats->hist_tx[5] = in bnxt_get_rmon_stats()
5434 rmon_stats->hist_tx[6] = in bnxt_get_rmon_stats()
5436 rmon_stats->hist_tx[7] = in bnxt_get_rmon_stats()
5438 rmon_stats->hist_tx[8] = in bnxt_get_rmon_stats()
5440 rmon_stats->hist_tx[9] = in bnxt_get_rmon_stats()
/drivers/net/ethernet/cadence/
A Dmacb_main.c3393 rmon_stats->hist_tx[0] = hwstat->tx_64_byte_frames; in gem_get_rmon_stats()
3394 rmon_stats->hist_tx[1] = hwstat->tx_65_127_byte_frames; in gem_get_rmon_stats()
3395 rmon_stats->hist_tx[2] = hwstat->tx_128_255_byte_frames; in gem_get_rmon_stats()
3396 rmon_stats->hist_tx[3] = hwstat->tx_256_511_byte_frames; in gem_get_rmon_stats()
3397 rmon_stats->hist_tx[4] = hwstat->tx_512_1023_byte_frames; in gem_get_rmon_stats()
3398 rmon_stats->hist_tx[5] = hwstat->tx_1024_1518_byte_frames; in gem_get_rmon_stats()
3399 rmon_stats->hist_tx[6] = hwstat->tx_greater_than_1518_byte_frames; in gem_get_rmon_stats()
/drivers/net/ethernet/airoha/
A Dairoha_eth.c2064 stats->hist_tx[i] = hw_stats->tx_len[i]; in airoha_ethtool_get_rmon_stats()

Completed in 73 milliseconds