Lines Matching refs:phy_cfg
262 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_get_mcdi_phy_flags() local
268 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN)) in efx_get_mcdi_phy_flags()
270 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN)) in efx_get_mcdi_phy_flags()
272 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN)) in efx_get_mcdi_phy_flags()
437 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_port_reconfigure() local
440 phy_cfg->forced_cap); in efx_mcdi_port_reconfigure()
451 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_check_fcntl() local
456 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN)) in efx_mcdi_phy_check_fcntl()
508 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_settings() local
513 mcdi_to_ethtool_cap(phy_cfg->media, phy_cfg->supported_cap); in efx_mcdi_phy_get_settings()
517 ecmd->port = mcdi_to_ethtool_media(phy_cfg->media); in efx_mcdi_phy_get_settings()
518 ecmd->phy_address = phy_cfg->port; in efx_mcdi_phy_get_settings()
530 mcdi_to_ethtool_cap(phy_cfg->media, in efx_mcdi_phy_get_settings()
536 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_set_settings() local
569 phy_cfg->forced_cap = 0; in efx_mcdi_phy_set_settings()
572 phy_cfg->forced_cap = caps; in efx_mcdi_phy_set_settings()
672 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_run_tests() local
676 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_LBN)) { in efx_mcdi_phy_run_tests()
687 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN)) { in efx_mcdi_phy_run_tests()
689 (phy_cfg->flags & in efx_mcdi_phy_run_tests()
694 } else if (phy_cfg->flags & in efx_mcdi_phy_run_tests()
711 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_test_name() local
713 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_LBN)) { in efx_mcdi_phy_test_name()
719 if (phy_cfg->flags & ((1 << MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN) | in efx_mcdi_phy_test_name()
796 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; in efx_mcdi_phy_get_module_info() local
798 switch (phy_cfg->media) { in efx_mcdi_phy_get_module_info()