/linux/drivers/net/ethernet/ti/ |
A D | am65-cpsw-ethtool.c | 645 u32 i, num_stats; in am65_cpsw_get_strings() local 650 num_stats = ARRAY_SIZE(am65_host_stats); in am65_cpsw_get_strings() 652 for (i = 0; i < num_stats; i++) { in am65_cpsw_get_strings() 657 num_stats = ARRAY_SIZE(am65_slave_stats); in am65_cpsw_get_strings() 659 for (i = 0; i < num_stats; i++) { in am65_cpsw_get_strings() 667 for (i = 0; i < num_stats; i++) { in am65_cpsw_get_strings() 683 u32 i, num_stats; in am65_cpsw_get_ethtool_stats() local 687 num_stats = ARRAY_SIZE(am65_host_stats); in am65_cpsw_get_ethtool_stats() 689 for (i = 0; i < num_stats; i++) in am65_cpsw_get_ethtool_stats() 693 num_stats = ARRAY_SIZE(am65_slave_stats); in am65_cpsw_get_ethtool_stats() [all …]
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_ethtool.c | 208 portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_queue_sys_stats() 232 u64 *portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_ana_ac_stats_stats() 507 u64 *portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_device_stats() 790 u64 *portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_asm_stats() 820 portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_eth_phy_stats() 845 portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_eth_mac_stats() 913 portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_eth_mac_ctrl_stats() 945 portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_eth_rmon_stats() 1029 portstats = &sparx5->stats[portno * sparx5->num_stats]; in sparx5_get_sset_data() 1205 sparx5->num_stats = spx5_stats_count; in sparx_stats_init() [all …]
|
A D | sparx5_main.h | 192 u32 num_stats; member
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_ethtool.c | 1194 int index, i, num_stats; in qlcnic_get_strings() local 1202 num_stats = ARRAY_SIZE(qlcnic_tx_queue_stats_strings); in qlcnic_get_strings() 1204 for (index = 0; index < num_stats; index++) { in qlcnic_get_strings() 1218 num_stats = ARRAY_SIZE(qlcnic_83xx_tx_stats_strings); in qlcnic_get_strings() 1219 for (i = 0; i < num_stats; i++, index++) in qlcnic_get_strings() 1224 for (i = 0; i < num_stats; i++, index++) in qlcnic_get_strings() 1228 num_stats = ARRAY_SIZE(qlcnic_83xx_rx_stats_strings); in qlcnic_get_strings() 1229 for (i = 0; i < num_stats; i++, index++) in qlcnic_get_strings() 1236 for (i = 0; i < num_stats; i++, index++) in qlcnic_get_strings() 1243 num_stats = ARRAY_SIZE(qlcnic_device_gstrings_stats); in qlcnic_get_strings() [all …]
|
/linux/drivers/virtio/ |
A D | virtio_balloon.c | 384 unsigned int len, num_stats; in stats_handle_request() local 386 num_stats = update_balloon_stats(vb); in stats_handle_request() 391 sg_init_one(&sg, vb->stats, sizeof(vb->stats[0]) * num_stats); in stats_handle_request() 543 unsigned int num_stats; in init_vqs() local 550 num_stats = update_balloon_stats(vb); in init_vqs() 552 sg_init_one(&sg, vb->stats, sizeof(vb->stats[0]) * num_stats); in init_vqs()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_stats.c | 502 int num_stats = 0; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local 505 num_stats += NUM_Q_COUNTERS; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 508 num_stats += NUM_DROP_RQ_COUNTERS; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 510 return num_stats; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 1078 int num_stats; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local 1081 num_stats = 1; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 1089 return num_stats; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 1267 int num_stats = 0; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local 1270 num_stats += NUM_PCIE_PERF_COUNTERS; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 1273 num_stats += NUM_PCIE_PERF_COUNTERS64; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() [all …]
|
A D | en_stats.h | 84 int MLX5E_STATS_GRP_OP(grp, num_stats)(struct mlx5e_priv *priv) 102 .get_num_stats = MLX5E_STATS_GRP_OP(grp, num_stats), \
|
/linux/drivers/net/dsa/ocelot/ |
A D | felix.h | 20 unsigned int num_stats; member
|
A D | felix.c | 992 ocelot->num_stats = felix->info->num_stats; in felix_init_structs()
|
A D | seville_vsc9953.c | 1173 .num_stats = ARRAY_SIZE(vsc9953_stats_layout),
|
A D | felix_vsc9959.c | 1355 .num_stats = ARRAY_SIZE(vsc9959_stats_layout),
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
A D | dpaa_ethtool.c | 206 unsigned int total_stats, num_stats; in dpaa_get_sset_count() local 208 num_stats = num_online_cpus() + 1; in dpaa_get_sset_count() 209 total_stats = num_stats * (DPAA_STATS_PERCPU_LEN + 1) + in dpaa_get_sset_count()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | papr_scm.c | 277 unsigned int num_stats) in drc_pmem_query_stats() argument 290 cpu_to_be32(num_stats); in drc_pmem_query_stats() 296 if (num_stats) in drc_pmem_query_stats() 299 num_stats * sizeof(struct papr_scm_perf_stat); in drc_pmem_query_stats()
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot.c | 1595 for (i = 0; i < ocelot->num_stats; i++) in ocelot_get_strings() 1611 for (j = 0; j < ocelot->num_stats; j++) { in ocelot_update_stats() 1613 unsigned int idx = i * ocelot->num_stats + j; in ocelot_update_stats() 1649 for (i = 0; i < ocelot->num_stats; i++) in ocelot_get_ethtool_stats() 1650 *data++ = ocelot->stats[port * ocelot->num_stats + i]; in ocelot_get_ethtool_stats() 1659 return ocelot->num_stats; in ocelot_get_sset_count() 2493 ocelot->num_phys_ports * ocelot->num_stats, in ocelot_init()
|
A D | ocelot_vsc7514.c | 519 ocelot->num_stats = ARRAY_SIZE(ocelot_stats_layout); in ocelot_chip_init()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_ethtool.c | 38 int i, num_stats = 0; in ionic_get_stats_count() local 41 num_stats += ionic_stats_groups[i].get_count(lif); in ionic_get_stats_count() 43 return num_stats; in ionic_get_stats_count()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 444 int num_stats = QEDE_NUM_STATS, i; in qede_get_sset_count() local 450 num_stats--; in qede_get_sset_count() 453 num_stats += QEDE_TSS_COUNT(edev) * QEDE_NUM_TQSTATS * in qede_get_sset_count() 457 num_stats += QEDE_RSS_COUNT(edev) * QEDE_NUM_RQSTATS; in qede_get_sset_count() 461 num_stats += QEDE_RSS_COUNT(edev) * QEDE_NUM_TQSTATS; in qede_get_sset_count() 462 return num_stats; in qede_get_sset_count()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_ethtool.c | 1852 int num_stats; in lio_get_strings() local 1856 num_stats = ARRAY_SIZE(oct_stats_strings); in lio_get_strings() 1857 for (j = 0; j < num_stats; j++) { in lio_get_strings() 1900 int num_stats; in lio_vf_get_strings() local 1904 num_stats = ARRAY_SIZE(oct_vf_stats_strings); in lio_vf_get_strings() 1905 for (j = 0; j < num_stats; j++) { in lio_vf_get_strings()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 505 int num_stats = bnxt_get_num_ring_stats(bp); in bnxt_get_num_stats() local 507 num_stats += BNXT_NUM_SW_FUNC_STATS; in bnxt_get_num_stats() 510 num_stats += BNXT_NUM_PORT_STATS; in bnxt_get_num_stats() 513 num_stats += bp->fw_rx_stats_ext_size + in bnxt_get_num_stats() 516 num_stats += BNXT_NUM_STATS_PRI; in bnxt_get_num_stats() 519 return num_stats; in bnxt_get_num_stats()
|
/linux/include/soc/mscc/ |
A D | ocelot.h | 638 unsigned int num_stats; member
|