Lines Matching refs:speed
152 int link_ok, speed, duplex, fc;
156 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
158 lc->speed = speed < 0 ? SPEED_INVALID : speed;
163 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
164 /* Set MAC speed, duplex, and flow control to match PHY. */
167 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc);
170 t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc);
620 * If auto-negotiation is off set the MAC to the proper speed/duplex/FC,
642 lc->speed = lc->requested_speed;
645 mac->ops->set_speed_duplex_fc(mac, lc->speed,
649 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex);
1000 p->speed = speed_map[G_PCI_MODE_CLK(pci_mode)];
1034 lc->requested_speed = lc->speed = SPEED_INVALID;