eth_fec 695 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c unsigned int eth_fec = 0; eth_fec 698 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec |= ETHTOOL_FEC_RS; eth_fec 700 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec |= ETHTOOL_FEC_BASER; eth_fec 703 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (!eth_fec) eth_fec 704 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec = ETHTOOL_FEC_OFF; eth_fec 706 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c return eth_fec; eth_fec 712 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c unsigned int eth_fec = 0; eth_fec 715 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec |= ETHTOOL_FEC_AUTO; eth_fec 717 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec |= ETHTOOL_FEC_RS; eth_fec 719 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec |= ETHTOOL_FEC_BASER; eth_fec 722 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (!eth_fec) eth_fec 723 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c eth_fec = ETHTOOL_FEC_OFF; eth_fec 725 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c return eth_fec; eth_fec 729 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static inline unsigned int eth_to_cc_fec(unsigned int eth_fec) eth_fec 733 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (eth_fec & ETHTOOL_FEC_OFF) eth_fec 736 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (eth_fec & ETHTOOL_FEC_AUTO) eth_fec 738 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (eth_fec & ETHTOOL_FEC_RS) eth_fec 740 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (eth_fec & ETHTOOL_FEC_BASER) eth_fec 1496 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c unsigned int eth_fec = 0; eth_fec 1499 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec |= ETHTOOL_FEC_RS; eth_fec 1501 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec |= ETHTOOL_FEC_BASER; eth_fec 1504 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (!eth_fec) eth_fec 1505 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec = ETHTOOL_FEC_OFF; eth_fec 1507 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c return eth_fec; eth_fec 1513 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c unsigned int eth_fec = 0; eth_fec 1516 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec |= ETHTOOL_FEC_AUTO; eth_fec 1518 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec |= ETHTOOL_FEC_RS; eth_fec 1520 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec |= ETHTOOL_FEC_BASER; eth_fec 1523 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (!eth_fec) eth_fec 1524 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c eth_fec = ETHTOOL_FEC_OFF; eth_fec 1526 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c return eth_fec; eth_fec 1320 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u32 eth_fec = 0; eth_fec 1323 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c eth_fec |= ETHTOOL_FEC_AUTO; eth_fec 1325 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c eth_fec |= ETHTOOL_FEC_RS; eth_fec 1327 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c eth_fec |= ETHTOOL_FEC_BASER; eth_fec 1330 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (!eth_fec) eth_fec 1331 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c eth_fec = ETHTOOL_FEC_OFF; eth_fec 1333 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return eth_fec; eth_fec 1337 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c static unsigned int eth_to_loc_fec(unsigned int eth_fec) eth_fec 1341 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (eth_fec & ETHTOOL_FEC_OFF) eth_fec 1344 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (eth_fec & ETHTOOL_FEC_AUTO) eth_fec 1346 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (eth_fec & ETHTOOL_FEC_RS) eth_fec 1348 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (eth_fec & ETHTOOL_FEC_BASER)