Home | History | Annotate | Download | only in cxgb

Lines Matching defs:duplex

407  *  t3_set_phy_speed_duplex - force PHY speed and duplex
410 * @duplex: requested PHY duplex
412 * Force a 10/100/1000 PHY's speed and duplex. This also disables
415 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
431 if (duplex >= 0) {
433 if (duplex == DUPLEX_FULL)
1111 int link_ok, speed, duplex, fc;
1117 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1128 lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex;
1135 /* Set MAC speed, duplex, and flow control to match PHY. */
1136 t3_mac_set_speed_duplex_fc(mac, speed, duplex, fc);
1140 t3_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc);
1153 * - If auto-negotiation is off set the MAC to the proper speed/duplex/FC,
1172 lc->duplex = lc->requested_duplex;
1174 t3_mac_set_speed_duplex_fc(mac, lc->speed, lc->duplex,
1177 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex);
3544 * capabilities and default speed/duplex/flow-control/autonegotiation
3552 lc->requested_duplex = lc->duplex = DUPLEX_INVALID;