fec_mode 101 drivers/media/dvb-frontends/stb0899_drv.h u8 fec_mode; fec_mode 866 drivers/media/usb/dvb-usb/pctv452e.c .fec_mode = 0, fec_mode 394 drivers/net/ethernet/hisilicon/hns3/hnae3.h u8 *fec_mode); fec_mode 395 drivers/net/ethernet/hisilicon/hns3/hnae3.h int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode); fec_mode 1360 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u8 fec_mode; fec_mode 1368 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ops->get_fec(handle, &fec_ability, &fec_mode); fec_mode 1371 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c fec->active_fec = loc_to_eth_fec(fec_mode); fec_mode 1381 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u32 fec_mode; fec_mode 1388 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c fec_mode = eth_to_loc_fec(fec->fec); fec_mode 1390 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c netif_dbg(handle, drv, netdev, "set fecparam: mode=%u\n", fec_mode); fec_mode 1392 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return ops->set_fec(handle, fec_mode); fec_mode 652 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h u8 fec_mode; fec_mode 2524 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) fec_mode 2533 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fec_mode & BIT(HNAE3_FEC_AUTO)) fec_mode 2534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hnae3_set_bit(req->fec_mode, HCLGE_MAC_CFG_FEC_AUTO_EN_B, 1); fec_mode 2535 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fec_mode & BIT(HNAE3_FEC_RS)) fec_mode 2536 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, fec_mode 2538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fec_mode & BIT(HNAE3_FEC_BASER)) fec_mode 2539 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, fec_mode 2549 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_fec(struct hnae3_handle *handle, u32 fec_mode) fec_mode 2556 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fec_mode && !(mac->fec_ability & fec_mode)) { fec_mode 2561 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_set_fec_hw(hdev, fec_mode); fec_mode 2565 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac->user_fec_mode = fec_mode | BIT(HNAE3_FEC_USER_DEF); fec_mode 2570 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 *fec_mode) fec_mode 2578 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fec_mode) fec_mode 2579 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *fec_mode = mac->fec_mode; fec_mode 2814 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac->fec_mode = 0; fec_mode 2816 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac->fec_mode = BIT(resp->active_fec); fec_mode 263 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u32 fec_mode; /* active fec mode */ fec_mode 645 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c static u32 pplm2ethtool_fec(u_long fec_mode, unsigned long size) fec_mode 649 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (!fec_mode) fec_mode 652 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mode = find_first_bit(&fec_mode, size);