fecparam 1433 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct ethtool_fecparam *fecparam) fecparam 1452 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->fec = 0; fecparam 1455 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->fec |= ETHTOOL_FEC_AUTO; fecparam 1458 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->fec |= ETHTOOL_FEC_RS; fecparam 1461 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->fec |= ETHTOOL_FEC_BASER; fecparam 1463 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->fec |= ETHTOOL_FEC_OFF; fecparam 1466 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->active_fec = ETHTOOL_FEC_BASER; fecparam 1468 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->active_fec = ETHTOOL_FEC_RS; fecparam 1470 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->active_fec = ETHTOOL_FEC_OFF; fecparam 1476 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct ethtool_fecparam *fecparam) fecparam 1490 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (fecparam->fec) { fecparam 1508 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fecparam->fec); fecparam 1019 drivers/net/ethernet/intel/ice/ice_ethtool.c ice_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) fecparam 1025 drivers/net/ethernet/intel/ice/ice_ethtool.c switch (fecparam->fec) { fecparam 1041 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->fec); fecparam 1054 drivers/net/ethernet/intel/ice/ice_ethtool.c ice_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) fecparam 1073 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->active_fec = ETHTOOL_FEC_BASER; fecparam 1078 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->active_fec = ETHTOOL_FEC_RS; fecparam 1081 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->active_fec = ETHTOOL_FEC_OFF; fecparam 1098 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->fec |= ETHTOOL_FEC_AUTO; fecparam 1103 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->fec |= ETHTOOL_FEC_BASER; fecparam 1107 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->fec |= ETHTOOL_FEC_RS; fecparam 1109 drivers/net/ethernet/intel/ice/ice_ethtool.c fecparam->fec |= ETHTOOL_FEC_OFF; fecparam 1517 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_fecparam *fecparam) fecparam 1530 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c fecparam->active_fec = pplm2ethtool_fec((u_long)fec_active, fecparam 1533 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (!fecparam->active_fec) fecparam 1536 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c fecparam->fec = pplm2ethtool_fec((u_long)fec_configured, fecparam 1543 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_fecparam *fecparam) fecparam 1551 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (bitmap_weight((unsigned long *)&fecparam->fec, fecparam 1556 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (!(pplm_fec_2_ethtool[mode] & fecparam->fec)) fecparam 1510 drivers/net/ethernet/sfc/ethtool.c struct ethtool_fecparam *fecparam) fecparam 1518 drivers/net/ethernet/sfc/ethtool.c rc = efx->phy_op->get_fecparam(efx, fecparam); fecparam 1525 drivers/net/ethernet/sfc/ethtool.c struct ethtool_fecparam *fecparam) fecparam 1533 drivers/net/ethernet/sfc/ethtool.c rc = efx->phy_op->set_fecparam(efx, fecparam); fecparam 2531 net/core/ethtool.c struct ethtool_fecparam fecparam = { .cmd = ETHTOOL_GFECPARAM }; fecparam 2537 net/core/ethtool.c rc = dev->ethtool_ops->get_fecparam(dev, &fecparam); fecparam 2541 net/core/ethtool.c if (copy_to_user(useraddr, &fecparam, sizeof(fecparam))) fecparam 2548 net/core/ethtool.c struct ethtool_fecparam fecparam; fecparam 2553 net/core/ethtool.c if (copy_from_user(&fecparam, useraddr, sizeof(fecparam))) fecparam 2556 net/core/ethtool.c return dev->ethtool_ops->set_fecparam(dev, &fecparam);