Home
last modified time | relevance | path

Searched refs:phy_caps (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c2150 struct ixgbe_aci_cmd_get_phy_caps_data phy_caps = {}; in ixgbe_set_phy_power_e610() local
2156 &phy_caps); in ixgbe_set_phy_power_e610()
2160 ixgbe_copy_phy_caps_to_cfg(&phy_caps, &phy_cfg); in ixgbe_set_phy_power_e610()
2168 if (phy_caps.caps == phy_cfg.caps) in ixgbe_set_phy_power_e610()
2189 struct ixgbe_aci_cmd_get_phy_caps_data phy_caps = {}; in ixgbe_enter_lplu_e610() local
2195 &phy_caps); in ixgbe_enter_lplu_e610()
2199 ixgbe_copy_phy_caps_to_cfg(&phy_caps, &phy_cfg); in ixgbe_enter_lplu_e610()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c2613 struct ice_aqc_get_phy_caps_data *phy_caps; in ice_set_link_ksettings() local
2636 phy_caps = kzalloc_obj(*phy_caps); in ice_set_link_ksettings()
2637 if (!phy_caps) in ice_set_link_ksettings()
2643 phy_caps, NULL); in ice_set_link_ksettings()
2646 phy_caps, NULL); in ice_set_link_ksettings()
2754 phy_caps->phy_type_high; in ice_set_link_ksettings()
2756 phy_caps->phy_type_low; in ice_set_link_ksettings()
2795 kfree(phy_caps); in ice_set_link_ksettings()
H A Dice_common.c3954 ice_phy_caps_equals_cfg(struct ice_aqc_get_phy_caps_data *phy_caps, in ice_phy_caps_equals_cfg() argument
3959 if (!phy_caps || !phy_cfg) in ice_phy_caps_equals_cfg()
3969 if (phy_caps->phy_type_low != phy_cfg->phy_type_low || in ice_phy_caps_equals_cfg()
3970 phy_caps->phy_type_high != phy_cfg->phy_type_high || in ice_phy_caps_equals_cfg()
3971 ((phy_caps->caps & caps_mask) != (phy_cfg->caps & cfg_mask)) || in ice_phy_caps_equals_cfg()
3972 phy_caps->low_power_ctrl_an != phy_cfg->low_power_ctrl_an || in ice_phy_caps_equals_cfg()
3973 phy_caps->eee_cap != phy_cfg->eee_cap || in ice_phy_caps_equals_cfg()
3974 phy_caps->eeer_value != phy_cfg->eeer_value || in ice_phy_caps_equals_cfg()
3975 phy_caps->link_fec_options != phy_cfg->link_fec_opt) in ice_phy_caps_equals_cfg()