Searched refs:fec_stats (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/net/ethernet/sfc/
H A Dethtool.c220 struct ethtool_fec_stats *fec_stats)
225 efx->type->get_fec_stats(efx, fec_stats);
219 efx_ethtool_get_fec_stats(struct net_device *net_dev, struct ethtool_fec_stats *fec_stats) argument
H A Dnet_driver.h1389 struct ethtool_fec_stats *fec_stats);
H A Def10.c1764 struct ethtool_fec_stats *fec_stats)
1772 fec_stats->corrected_blocks.total =
1775 fec_stats->uncorrectable_blocks.total =
1763 efx_ef10_get_fec_stats(struct efx_nic *efx, struct ethtool_fec_stats *fec_stats) argument
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool.c220 struct ethtool_fec_stats *fec_stats)
225 efx->type->get_fec_stats(efx, fec_stats);
219 efx_ethtool_get_fec_stats(struct net_device *net_dev, struct ethtool_fec_stats *fec_stats) argument
H A Dnet_driver.h1340 struct ethtool_fec_stats *fec_stats);
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c238 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats;
1279 struct ethtool_fec_stats *fec_stats)
1287 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks;
1288 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks;
1298 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats;
1301 fec_stats->corrected_blocks.total = p->brfec_corr_blks;
1302 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks;
1304 fec_stats->corrected_blocks.total = p->rsfec_corr_cws;
1305 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws;
1278 otx2_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c1327 fec_stats->corrected_blocks.lanes[(idx)] = \
1330 fec_stats->uncorrectable_blocks.lanes[(idx)] = \
1335 static void fec_set_fc_stats(struct ethtool_fec_stats *fec_stats, argument
1348 static void fec_set_rs_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt) argument
1350 fec_stats->corrected_blocks.total =
1353 fec_stats->uncorrectable_blocks.total =
1359 struct ethtool_fec_stats *fec_stats)
1379 fec_set_rs_stats(fec_stats, out);
1382 fec_set_fc_stats(fec_stats, out, fec_num_lanes(mdev));
1387 struct ethtool_fec_stats *fec_stats)
1358 fec_set_block_stats(struct mlx5e_priv *priv, struct ethtool_fec_stats *fec_stats) argument
1386 fec_set_corrected_bits_total(struct mlx5e_priv *priv, struct ethtool_fec_stats *fec_stats) argument
1406 mlx5e_stats_fec_get(struct mlx5e_priv *priv, struct ethtool_fec_stats *fec_stats) argument
[all...]
H A Den_stats.h118 struct ethtool_fec_stats *fec_stats);
H A Den_ethtool.c1658 struct ethtool_fec_stats *fec_stats)
1662 mlx5e_stats_fec_get(priv, fec_stats);
1657 mlx5e_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) argument
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c2848 } fec_stats[] = { variable in typeref:struct:fec_stat
2911 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64))
2928 for (i = 0; i < ARRAY_SIZE(fec_stats); i++)
2929 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset);
2991 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) {
2992 ethtool_puts(&data, fec_stats[i].name);
3012 count = ARRAY_SIZE(fec_stats) + XDP_STATS_TOTAL;
3032 for (i = 0; i < ARRAY_SIZE(fec_stats); i++)
3033 writel(0, fep->hwp + fec_stats[i].offset);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c2705 hdev->fec_stats.per_lanes[i] +=
2718 hdev->fec_stats.base_r_lane_num = req->base_r_lane_num;
2719 hdev->fec_stats.rs_corr_blocks +=
2721 hdev->fec_stats.rs_uncorr_blocks +=
2723 hdev->fec_stats.rs_error_blocks +=
2725 hdev->fec_stats.base_r_corr_blocks +=
2727 hdev->fec_stats.base_r_uncorr_blocks +=
2773 struct ethtool_fec_stats *fec_stats)
2775 fec_stats->corrected_blocks.total = hdev->fec_stats
2772 hclge_get_fec_stats_total(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) argument
2780 hclge_get_fec_stats_lanes(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) argument
2801 hclge_comm_get_fec_stats(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) argument
2822 hclge_get_fec_stats(struct hnae3_handle *handle, struct ethtool_fec_stats *fec_stats) argument
[all...]
H A Dhclge_main.h870 struct hclge_fec_stats fec_stats; member in struct:hclge_dev
/linux-master/include/linux/
H A Dethtool.h920 struct ethtool_fec_stats *fec_stats);
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h611 struct ethtool_fec_stats *fec_stats);
H A Dhns3_ethtool.c1668 struct ethtool_fec_stats *fec_stats)
1677 ops->get_fec_stats(handle, fec_stats);
1667 hns3_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) argument
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c2934 struct ethtool_fec_stats *fec_stats)
2943 fec_stats->corrected_bits.total =
2949 fec_stats->corrected_blocks.total =
2951 fec_stats->uncorrectable_blocks.total =
2933 bnxt_get_fec_stats(struct net_device *dev, struct ethtool_fec_stats *fec_stats) argument
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h627 } fec_stats; member in struct:phy_s

Completed in 346 milliseconds