Lines Matching refs:pcaps
3829 struct ice_aqc_get_phy_caps_data *pcaps; in ice_force_phys_link_state() local
3838 pcaps = (struct ice_aqc_get_phy_caps_data *) in ice_force_phys_link_state()
3839 ice_malloc(hw, sizeof(*pcaps)); in ice_force_phys_link_state()
3840 if (!pcaps) in ice_force_phys_link_state()
3843 status = ice_aq_get_phy_caps(pi, false, ICE_AQC_REPORT_SW_CFG, pcaps, in ice_force_phys_link_state()
3849 if (link_up == !!(pcaps->caps & ICE_AQC_PHY_EN_LINK) && in ice_force_phys_link_state()
3853 cfg.phy_type_low = pcaps->phy_type_low; in ice_force_phys_link_state()
3854 cfg.phy_type_high = pcaps->phy_type_high; in ice_force_phys_link_state()
3855 cfg.caps = pcaps->caps | ICE_AQ_PHY_ENA_AUTO_LINK_UPDT; in ice_force_phys_link_state()
3856 cfg.low_power_ctrl_an = pcaps->low_power_ctrl_an; in ice_force_phys_link_state()
3857 cfg.eee_cap = pcaps->eee_cap; in ice_force_phys_link_state()
3858 cfg.eeer_value = pcaps->eeer_value; in ice_force_phys_link_state()
3859 cfg.link_fec_opt = pcaps->link_fec_options; in ice_force_phys_link_state()
3868 ice_free(hw, pcaps); in ice_force_phys_link_state()