/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 1090 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 D | stb0899_drv.h | 101 u8 fec_mode; member
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-dfl-devices-n3000-nios | 1 What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.c | 3829 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 D | hclge_main.c | 2854 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 D | hclge_cmd.h | 368 u8 fec_mode; member
|
H A D | hclge_main.h | 295 u32 fec_mode; /* active fec mode */ member
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 626 u8 *fec_mode); 627 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
|
/linux/drivers/fpga/ |
H A D | dfl-n3000-nios.c | 285 static DEVICE_ATTR_RO(fec_mode);
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mbox.h | 170 M(CGX_FEC_SET, 0x210, cgx_set_fec_param, fec_mode, fec_mode) \ 614 struct fec_mode { struct
|
H A D | rvu_cgx.c | 1177 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 D | otx2_ethtool.c | 1028 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 D | en_ethtool.c | 936 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 D | pctv452e.c | 876 .fec_mode = 0,
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.c | 1565 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 D | qed_mfw_hsi.h | 113 u32 fec_mode; member
|