/src/sys/dev/pci/igc/ |
igc_mac.c | 569 * speed and duplex were not forced. If the link needed to be forced, then 579 uint16_t speed, duplex; local in function:igc_config_fc_after_link_up_generic 704 * negotiated to HALF DUPLEX, flow control should not be 707 ret_val = mac->ops.get_link_up_info(hw, &speed, &duplex); 709 DEBUGOUT("Error getting link speed and duplex\n"); 713 if (duplex == HALF_DUPLEX) 730 * igc_get_speed_and_duplex_copper_generic - Retrieve current speed/duplex 733 * @duplex: stores the current duplex 735 * Read the status register for the current speed/duplex and store the curren [all...] |
igc_i225.c | 345 * Configures the link for auto-neg or forced speed and duplex. Then we check 898 uint16_t speed, duplex; local in function:igc_set_ltr_i225 906 hw->mac.ops.get_link_up_info(hw, &speed, &duplex); 993 * to get the current speed/duplex if link exists. 1015 * link. If so, then we want to get the current speed/duplex 1026 * link. If so, then we want to get the current speed/duplex 1043 /* If we are forcing speed/duplex, then we simply return since 1050 * of MAC speed/duplex configuration. So we only need to
|
/src/sys/dev/pci/cxgb/ |
cxgb_t3_hw.c | 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; local in function:t3_link_changed 1117 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); 1128 lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex [all...] |
cxgb_common.h | 424 unsigned char requested_duplex; /* duplex user has requested */ 425 unsigned char duplex; /* actual link duplex */ member in struct:link_config 523 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); 525 int *duplex, int *fc); 649 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex); 704 int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex,
|