| /linux-6.15/drivers/media/dvb-frontends/ |
| H A D | stb0899_drv.h | 101 u8 fec_mode; member
|
| /linux-6.15/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-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-bus-dfl-devices-n3000-nios | 1 What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 1706 u8 fec_mode; in hns3_get_fecparam() local 1714 ops->get_fec(handle, &fec_ability, &fec_mode); in hns3_get_fecparam() 1717 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam() 1730 u32 fec_mode; in hns3_set_fecparam() local 1737 fec_mode = eth_to_loc_fec(fec->fec); in hns3_set_fecparam() 1739 netif_dbg(handle, drv, netdev, "set fecparam: mode=%u\n", fec_mode); in hns3_set_fecparam() 1741 return ops->set_fec(handle, fec_mode); in hns3_set_fecparam()
|
| H A D | hnae3.h | 626 u8 *fec_mode); 627 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp_hw.c | 3853 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_parpcs_e82x() local 3856 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_parpcs_e82x() 4025 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_tx_offset_e82x() local 4051 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_tx_offset_e82x() 4124 enum ice_ptp_fec_mode fec_mode, u64 *pmd_adj) in ice_phy_calc_pmd_adj_e82x() argument 4180 if (pmd_align != 65 || fec_mode == ICE_PTP_FEC_MODE_CLAUSE74) in ice_phy_calc_pmd_adj_e82x() 4328 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_rx_offset_e82x() local 4354 err = ice_phy_get_speed_and_fec_e82x(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_rx_offset_e82x() 4388 err = ice_phy_calc_pmd_adj_e82x(hw, port, link_spd, fec_mode, &pmd); in ice_phy_cfg_rx_offset_e82x() 4395 if (fec_mode == ICE_PTP_FEC_MODE_RS_FEC) in ice_phy_cfg_rx_offset_e82x()
|
| /linux-6.15/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 2898 if (fec_mode & BIT(HNAE3_FEC_AUTO)) in hclge_set_fec_hw() 2900 if (fec_mode & BIT(HNAE3_FEC_RS)) in hclge_set_fec_hw() 2924 if (fec_mode && !(mac->fec_ability & fec_mode)) { in hclge_set_fec() 2938 u8 *fec_mode) in hclge_get_fec() argument 2946 if (fec_mode) in hclge_get_fec() 2947 *fec_mode = mac->fec_mode; in hclge_get_fec() [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-6.15/drivers/fpga/ |
| H A D | dfl-n3000-nios.c | 285 static DEVICE_ATTR_RO(fec_mode);
|
| /linux-6.15/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) \ 618 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-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 1032 struct fec_mode *req, *rsp; in otx2_set_fecparam() 1067 rsp = (struct fec_mode *)otx2_mbox_get_rsp(&pfvf->mbox.mbox, in otx2_set_fecparam()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 941 static u32 pplm2ethtool_fec(u_long fec_mode, unsigned long size) in pplm2ethtool_fec() argument 945 if (!fec_mode) in pplm2ethtool_fec() 948 mode = find_first_bit(&fec_mode, size); in pplm2ethtool_fec()
|
| /linux-6.15/drivers/media/usb/dvb-usb/ |
| H A D | pctv452e.c | 876 .fec_mode = 0,
|
| /linux-6.15/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
|