Lines Matching defs:speed
153 int link_ok, speed, duplex, fc;
157 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
159 lc->speed = speed < 0 ? SPEED_INVALID : speed;
164 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
165 /* Set MAC speed, duplex, and flow control to match PHY. */
168 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc);
171 t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc);
623 * If auto-negotiation is off set the MAC to the proper speed/duplex/FC,
645 lc->speed = lc->requested_speed;
648 mac->ops->set_speed_duplex_fc(mac, lc->speed,
652 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex);
999 p->speed = speed_map[G_PCI_MODE_CLK(pci_mode)];
1033 lc->requested_speed = lc->speed = SPEED_INVALID;