Lines Matching refs:phy_cfg

281 	struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;  in efx_get_mcdi_phy_flags()  local
287 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN)) in efx_get_mcdi_phy_flags()
289 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN)) in efx_get_mcdi_phy_flags()
291 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN)) in efx_get_mcdi_phy_flags()
521 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_port_reconfigure() local
524 phy_cfg->forced_cap); in efx_mcdi_port_reconfigure()
537 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local
542 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_check_fcntl()
595 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_link_ksettings() local
601 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media); in efx_mcdi_phy_get_link_ksettings()
602 cmd->base.phy_address = phy_cfg->port; in efx_mcdi_phy_get_link_ksettings()
607 mcdi_to_ethtool_linkset(phy_cfg->media, phy_cfg->supported_cap, in efx_mcdi_phy_get_link_ksettings()
617 mcdi_to_ethtool_linkset(phy_cfg->media, in efx_mcdi_phy_get_link_ksettings()
626 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_set_link_ksettings() local
663 phy_cfg->forced_cap = 0; in efx_mcdi_phy_set_link_ksettings()
666 phy_cfg->forced_cap = caps; in efx_mcdi_phy_set_link_ksettings()
726 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_set_fecparam() local
737 caps = phy_cfg->forced_cap; in efx_mcdi_phy_set_fecparam()
845 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_run_tests() local
849 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_LBN)) { in efx_mcdi_phy_run_tests()
860 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN)) { in efx_mcdi_phy_run_tests()
862 (phy_cfg->flags & in efx_mcdi_phy_run_tests()
867 } else if (phy_cfg->flags & in efx_mcdi_phy_run_tests()
884 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_test_name() local
886 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_LBN)) { in efx_mcdi_phy_test_name()
892 if (phy_cfg->flags & ((1 << MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN) | in efx_mcdi_phy_test_name()