Searched refs:fec_mode (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 1397 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()
|
D | hnae3.h | 482 u8 *fec_mode); 483 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
|
/drivers/media/dvb-frontends/ |
D | stb0899_drv.h | 101 u8 fec_mode; member
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 2662 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 …]
|
D | hclge_main.h | 270 u32 fec_mode; /* active fec mode */ member
|
D | hclge_cmd.h | 687 u8 fec_mode; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 682 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/ |
D | pctv452e.c | 874 .fec_mode = 0,
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 1534 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()
|
D | qed_hsi.h | 11576 u32 fec_mode; member
|