Home
last modified time | relevance | path

Searched refs:fec_mode (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1397 u8 fec_mode; in hns3_get_fecparam() local
1405 ops->get_fec(handle, &fec_ability, &fec_mode); in hns3_get_fecparam()
1408 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam()
1419 u32 fec_mode; in hns3_set_fecparam() local
1426 fec_mode = eth_to_loc_fec(fec->fec); in hns3_set_fecparam()
1428 netif_dbg(handle, drv, netdev, "set fecparam: mode=%u\n", fec_mode); in hns3_set_fecparam()
1430 return ops->set_fec(handle, fec_mode); in hns3_set_fecparam()
Dhnae3.h482 u8 *fec_mode);
483 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
/drivers/media/dvb-frontends/
Dstb0899_drv.h101 u8 fec_mode; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c2662 static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) in hclge_set_fec_hw() argument
2671 if (fec_mode & BIT(HNAE3_FEC_AUTO)) in hclge_set_fec_hw()
2672 hnae3_set_bit(req->fec_mode, HCLGE_MAC_CFG_FEC_AUTO_EN_B, 1); in hclge_set_fec_hw()
2673 if (fec_mode & BIT(HNAE3_FEC_RS)) in hclge_set_fec_hw()
2674 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
2676 if (fec_mode & BIT(HNAE3_FEC_BASER)) in hclge_set_fec_hw()
2677 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
2687 static int hclge_set_fec(struct hnae3_handle *handle, u32 fec_mode) in hclge_set_fec() argument
2694 if (fec_mode && !(mac->fec_ability & fec_mode)) { in hclge_set_fec()
2699 ret = hclge_set_fec_hw(hdev, fec_mode); in hclge_set_fec()
[all …]
Dhclge_main.h270 u32 fec_mode; /* active fec mode */ member
Dhclge_cmd.h687 u8 fec_mode; member
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c682 static u32 pplm2ethtool_fec(u_long fec_mode, unsigned long size) in pplm2ethtool_fec() argument
686 if (!fec_mode) in pplm2ethtool_fec()
689 mode = find_first_bit(&fec_mode, size); in pplm2ethtool_fec()
/drivers/media/usb/dvb-usb/
Dpctv452e.c874 .fec_mode = 0,
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1534 SET_MFW_FIELD(phy_cfg.fec_mode, FEC_FORCE_MODE, fec_bit); in qed_mcp_set_link()
1594 SET_MFW_FIELD(phy_cfg.fec_mode, FEC_EXTENDED_MODE, in qed_mcp_set_link()
1604 phy_cfg.loopback_mode, phy_cfg.fec_mode, in qed_mcp_set_link()
Dqed_hsi.h11576 u32 fec_mode; member