Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c1090 u64 fec_mode; in fun_set_fecparam() local
1094 fec_mode = FUN_PORT_FEC_AUTO; in fun_set_fecparam()
1099 fec_mode = FUN_PORT_FEC_OFF; in fun_set_fecparam()
1104 fec_mode = FUN_PORT_FEC_FC; in fun_set_fecparam()
1109 fec_mode = FUN_PORT_FEC_RS; in fun_set_fecparam()
1115 return fun_port_write_cmd(fp, FUN_ADMIN_PORT_KEY_FEC, fec_mode); in fun_set_fecparam()
/linux/drivers/media/dvb-frontends/
H A Dstb0899_drv.h101 u8 fec_mode; member
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-dfl-devices-n3000-nios1 What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1725 u8 fec_mode; in hns3_get_fecparam() local
1733 ops->get_fec(handle, &fec_ability, &fec_mode); in hns3_get_fecparam()
1736 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam()
1749 u32 fec_mode; in hns3_set_fecparam() local
1756 fec_mode = eth_to_loc_fec(fec->fec); in hns3_set_fecparam()
1758 netif_dbg(handle, drv, netdev, "set fecparam: mode=%u\n", fec_mode); in hns3_set_fecparam()
1760 return ops->set_fec(handle, fec_mode); in hns3_set_fecparam()
H A Dhnae3.h626 u8 *fec_mode);
627 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c3805 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_parpcs_e82x() local
3808 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_parpcs_e82x()
3977 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_tx_offset_e82x() local
4003 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_tx_offset_e82x()
4076 enum ice_ptp_fec_mode fec_mode, u64 *pmd_adj) in ice_phy_calc_pmd_adj_e82x() argument
4132 if (pmd_align != 65 || fec_mode == ICE_PTP_FEC_MODE_CLAUSE74) in ice_phy_calc_pmd_adj_e82x()
4280 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_rx_offset_e82x() local
4306 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_rx_offset_e82x()
4340 err = ice_phy_calc_pmd_adj_e82x(hw, port, link_spd, fec_mode, &pmd); in ice_phy_cfg_rx_offset_e82x()
4347 if (fec_mode == ICE_PTP_FEC_MODE_RS_FEC) in ice_phy_cfg_rx_offset_e82x()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c2863 u32 fec_mode = hdev->hw.mac.fec_mode; in hclge_comm_get_fec_stats() local
2865 switch (fec_mode) { in hclge_comm_get_fec_stats()
2876 fec_mode); in hclge_comm_get_fec_stats()
2886 u32 fec_mode = hdev->hw.mac.fec_mode; in hclge_get_fec_stats() local
2888 if (fec_mode == BIT(HNAE3_FEC_NONE) || in hclge_get_fec_stats()
2889 fec_mode == BIT(HNAE3_FEC_AUTO) || in hclge_get_fec_stats()
2890 fec_mode == BIT(HNAE3_FEC_USER_DEF)) in hclge_get_fec_stats()
2898 static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) in hclge_set_fec_hw() argument
2907 if (fec_mode & BIT(HNAE3_FEC_AUTO)) in hclge_set_fec_hw()
2908 hnae3_set_bit(req->fec_mode, HCLGE_MAC_CFG_FEC_AUTO_EN_B, 1); in hclge_set_fec_hw()
[all …]
H A Dhclge_cmd.h368 u8 fec_mode; member
H A Dhclge_main.h295 u32 fec_mode; /* active fec mode */ member
/linux/drivers/fpga/
H A Ddfl-n3000-nios.c285 static DEVICE_ATTR_RO(fec_mode);
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h167 M(CGX_FEC_SET, 0x210, cgx_set_fec_param, fec_mode, fec_mode) \
606 struct fec_mode { struct
H A Drvu_cgx.c1154 struct fec_mode *req, in rvu_mbox_handler_cgx_set_fec_param()
1155 struct fec_mode *rsp) in rvu_mbox_handler_cgx_set_fec_param()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c1038 struct fec_mode *req, *rsp; in otx2_set_fecparam()
1073 rsp = (struct fec_mode *)otx2_mbox_get_rsp(&pfvf->mbox.mbox, in otx2_set_fecparam()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c933 static u32 pplm2ethtool_fec(u_long fec_mode, unsigned long size) in pplm2ethtool_fec() argument
937 if (!fec_mode) in pplm2ethtool_fec()
940 mode = find_first_bit(&fec_mode, size); in pplm2ethtool_fec()
/linux/drivers/media/usb/dvb-usb/
H A Dpctv452e.c876 .fec_mode = 0,
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c1571 SET_MFW_FIELD(phy_cfg.fec_mode, FEC_FORCE_MODE, fec_bit); in qed_mcp_set_link()
1627 SET_MFW_FIELD(phy_cfg.fec_mode, FEC_EXTENDED_MODE, in qed_mcp_set_link()
1637 phy_cfg.loopback_mode, phy_cfg.fec_mode, in qed_mcp_set_link()
H A Dqed_mfw_hsi.h113 u32 fec_mode; member