Lines Matching refs:phy_cfg
234 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
240 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN))
242 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN))
244 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN))
376 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
382 if (~phy_cfg->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN))
531 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
537 cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media);
538 cmd->base.phy_address = phy_cfg->port;
541 mcdi_to_ethtool_linkset(phy_cfg->media, phy_cfg->supported_cap,
551 mcdi_to_ethtool_linkset(phy_cfg->media,
558 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
586 caps |= ethtool_fec_caps_to_mcdi(phy_cfg->supported_cap, efx->fec_config);
595 phy_cfg->forced_cap = 0;
598 phy_cfg->forced_cap = caps;
670 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
674 rc = ethtool_fec_supported(phy_cfg->supported_cap, fec->fec);
685 caps = phy_cfg->forced_cap;
687 caps |= ethtool_fec_caps_to_mcdi(phy_cfg->supported_cap, fec->fec);
721 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
724 phy_cfg->forced_cap);
726 caps |= ethtool_fec_caps_to_mcdi(phy_cfg->supported_cap, efx->fec_config);
805 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
809 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_LBN)) {
821 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN)) {
823 (phy_cfg->flags &
828 } else if (phy_cfg->flags &
844 struct efx_mcdi_phy_data *phy_cfg = efx->phy_data;
846 if (phy_cfg->flags & (1 << MC_CMD_GET_PHY_CFG_OUT_BIST_LBN)) {
852 if (phy_cfg->flags & ((1 << MC_CMD_GET_PHY_CFG_OUT_BIST_CABLE_SHORT_LBN) |