Home
last modified time | relevance | path

Searched refs:fec_mode (Results 1 – 16 of 16) 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/intel/ice/
H A Dice_ptp_hw.c3829 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_parpcs_e82x() local
3832 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_parpcs_e82x()
4001 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_tx_offset_e82x() local
4027 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_tx_offset_e82x()
4100 enum ice_ptp_fec_mode fec_mode, u64 *pmd_adj) in ice_phy_calc_pmd_adj_e82x() argument
4156 if (pmd_align != 65 || fec_mode == ICE_PTP_FEC_MODE_CLAUSE74) in ice_phy_calc_pmd_adj_e82x()
4304 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_rx_offset_e82x() local
4330 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_rx_offset_e82x()
4364 err = ice_phy_calc_pmd_adj_e82x(hw, port, link_spd, fec_mode, &pmd); in ice_phy_cfg_rx_offset_e82x()
4371 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.c2854 u32 fec_mode = hdev->hw.mac.fec_mode; in hclge_comm_get_fec_stats() local
2856 switch (fec_mode) { in hclge_comm_get_fec_stats()
2867 fec_mode); in hclge_comm_get_fec_stats()
2877 u32 fec_mode = hdev->hw.mac.fec_mode; in hclge_get_fec_stats() local
2879 if (fec_mode == BIT(HNAE3_FEC_NONE) || in hclge_get_fec_stats()
2880 fec_mode == BIT(HNAE3_FEC_AUTO) || in hclge_get_fec_stats()
2881 fec_mode == BIT(HNAE3_FEC_USER_DEF)) in hclge_get_fec_stats()
2889 static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) in hclge_set_fec_hw() argument
2898 if (fec_mode & BIT(HNAE3_FEC_AUTO)) in hclge_set_fec_hw()
2899 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/net/ethernet/hisilicon/hns3/
H A Dhnae3.h626 u8 *fec_mode);
627 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
/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.h170 M(CGX_FEC_SET, 0x210, cgx_set_fec_param, fec_mode, fec_mode) \
614 struct fec_mode { struct
H A Drvu_cgx.c1177 struct fec_mode *req, in rvu_mbox_handler_cgx_set_fec_param()
1178 struct fec_mode *rsp) in rvu_mbox_handler_cgx_set_fec_param()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c1028 struct fec_mode *req, *rsp; in otx2_set_fecparam()
1063 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.c936 static u32 pplm2ethtool_fec(u_long fec_mode, unsigned long size) in pplm2ethtool_fec() argument
940 if (!fec_mode) in pplm2ethtool_fec()
943 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.c1565 SET_MFW_FIELD(phy_cfg.fec_mode, FEC_FORCE_MODE, fec_bit); in qed_mcp_set_link()
1621 SET_MFW_FIELD(phy_cfg.fec_mode, FEC_EXTENDED_MODE, in qed_mcp_set_link()
1631 phy_cfg.loopback_mode, phy_cfg.fec_mode, in qed_mcp_set_link()
H A Dqed_mfw_hsi.h113 u32 fec_mode; member