Searched refs:ecmd (Results 1 – 2 of 2) sorted by relevance
40 struct ethtool_link_ksettings ecmd; in port_cost() local42 if (!__ethtool_get_link_ksettings(dev, &ecmd)) { in port_cost()43 switch (ecmd.base.speed) { in port_cost()
573 struct ethtool_link_ksettings ecmd; in prb_calc_retire_blk_tmo() local582 err = __ethtool_get_link_ksettings(dev, &ecmd); in prb_calc_retire_blk_tmo()589 if (ecmd.base.speed < SPEED_1000 || in prb_calc_retire_blk_tmo()590 ecmd.base.speed == SPEED_UNKNOWN) { in prb_calc_retire_blk_tmo()594 div = ecmd.base.speed / 1000; in prb_calc_retire_blk_tmo()