Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c1563 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_parpcs_e822() local
1566 err = ice_phy_get_speed_and_fec_e822(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_parpcs_e822()
1730 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_tx_offset_e822() local
1734 err = ice_phy_get_speed_and_fec_e822(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_tx_offset_e822()
1801 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_fixed_tx_offset_e822() local
1805 err = ice_phy_get_speed_and_fec_e822(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_fixed_tx_offset_e822()
1845 enum ice_ptp_fec_mode fec_mode, u64 *pmd_adj) in ice_phy_calc_pmd_adj_e822() argument
1901 if (pmd_align != 65 || fec_mode == ICE_PTP_FEC_MODE_CLAUSE74) in ice_phy_calc_pmd_adj_e822()
2041 enum ice_ptp_fec_mode fec_mode; in ice_phy_cfg_rx_offset_e822() local
2045 err = ice_phy_get_speed_and_fec_e822(hw, port, &link_spd, &fec_mode); in ice_phy_cfg_rx_offset_e822()
[all …]
/linux-6.1.9/drivers/media/dvb-frontends/
Dstb0899_drv.h101 u8 fec_mode; member
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_ethtool.c1093 u64 fec_mode; in fun_set_fecparam() local
1097 fec_mode = FUN_PORT_FEC_AUTO; in fun_set_fecparam()
1102 fec_mode = FUN_PORT_FEC_OFF; in fun_set_fecparam()
1107 fec_mode = FUN_PORT_FEC_FC; in fun_set_fecparam()
1112 fec_mode = FUN_PORT_FEC_RS; in fun_set_fecparam()
1118 return fun_port_write_cmd(fp, FUN_ADMIN_PORT_KEY_FEC, fec_mode); in fun_set_fecparam()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-dfl-devices-n3000-nios1 What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1706 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()
Dhnae3.h592 u8 *fec_mode);
593 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c2888 u32 fec_mode = hdev->hw.mac.fec_mode; in hclge_comm_get_fec_stats() local
2890 switch (fec_mode) { in hclge_comm_get_fec_stats()
2901 fec_mode); in hclge_comm_get_fec_stats()
2911 u32 fec_mode = hdev->hw.mac.fec_mode; in hclge_get_fec_stats() local
2913 if (fec_mode == BIT(HNAE3_FEC_NONE) || in hclge_get_fec_stats()
2914 fec_mode == BIT(HNAE3_FEC_AUTO) || in hclge_get_fec_stats()
2915 fec_mode == BIT(HNAE3_FEC_USER_DEF)) in hclge_get_fec_stats()
2923 static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) in hclge_set_fec_hw() argument
2932 if (fec_mode & BIT(HNAE3_FEC_AUTO)) in hclge_set_fec_hw()
2933 hnae3_set_bit(req->fec_mode, HCLGE_MAC_CFG_FEC_AUTO_EN_B, 1); in hclge_set_fec_hw()
[all …]
Dhclge_cmd.h368 u8 fec_mode; member
Dhclge_main.h267 u32 fec_mode; /* active fec mode */ member
/linux-6.1.9/drivers/fpga/
Ddfl-n3000-nios.c285 static DEVICE_ATTR_RO(fec_mode);
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h158 M(CGX_FEC_SET, 0x210, cgx_set_fec_param, fec_mode, fec_mode) \
581 struct fec_mode { struct
Drvu_cgx.c1083 struct fec_mode *req, in rvu_mbox_handler_cgx_set_fec_param()
1084 struct fec_mode *rsp) in rvu_mbox_handler_cgx_set_fec_param()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c1033 struct fec_mode *req, *rsp; in otx2_set_fecparam()
1068 rsp = (struct fec_mode *)otx2_mbox_get_rsp(&pfvf->mbox.mbox, in otx2_set_fecparam()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c745 static u32 pplm2ethtool_fec(u_long fec_mode, unsigned long size) in pplm2ethtool_fec() argument
749 if (!fec_mode) in pplm2ethtool_fec()
752 mode = find_first_bit(&fec_mode, size); in pplm2ethtool_fec()
/linux-6.1.9/drivers/media/usb/dvb-usb/
Dpctv452e.c874 .fec_mode = 0,
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
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()
Dqed_mfw_hsi.h113 u32 fec_mode; member