Searched refs:ecmd (Results 1 – 2 of 2) sorted by relevance
38 struct ethtool_cmd ecmd; in port_cost() local40 if (!__ethtool_get_settings(dev, &ecmd)) { in port_cost()41 switch (ethtool_cmd_speed(&ecmd)) { in port_cost()
468 struct ethtool_cmd ecmd; in prb_calc_retire_blk_tmo() local478 err = __ethtool_get_settings(dev, &ecmd); in prb_calc_retire_blk_tmo()479 speed = ethtool_cmd_speed(&ecmd); in prb_calc_retire_blk_tmo()