Home
last modified time | relevance | path

Searched refs:autoneg_advertised (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/igc/
H A Digc_phy.c296 phy->autoneg_advertised &= phy->autoneg_mask; in igc_phy_setup_autoneg()
339 DEBUGOUT1("autoneg_advertised %x\n", phy->autoneg_advertised); in igc_phy_setup_autoneg()
342 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igc_phy_setup_autoneg()
348 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igc_phy_setup_autoneg()
354 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igc_phy_setup_autoneg()
360 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in igc_phy_setup_autoneg()
366 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in igc_phy_setup_autoneg()
370 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in igc_phy_setup_autoneg()
376 if (phy->autoneg_advertised & ADVERTISE_2500_HALF) in igc_phy_setup_autoneg()
380 if (phy->autoneg_advertised & ADVERTISE_2500_FULL) { in igc_phy_setup_autoneg()
[all …]
H A Dif_igc.c573 hw->phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; in igc_if_attach_pre()
1211 sc->hw.phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; in igc_if_media_change()
1214 sc->hw.phy.autoneg_advertised = ADVERTISE_2500_FULL; in igc_if_media_change()
1217 sc->hw.phy.autoneg_advertised = ADVERTISE_1000_FULL; in igc_if_media_change()
1221 sc->hw.phy.autoneg_advertised = ADVERTISE_100_FULL; in igc_if_media_change()
1223 sc->hw.phy.autoneg_advertised = ADVERTISE_100_HALF; in igc_if_media_change()
1227 sc->hw.phy.autoneg_advertised = ADVERTISE_10_FULL; in igc_if_media_change()
1229 sc->hw.phy.autoneg_advertised = ADVERTISE_10_HALF; in igc_if_media_change()
H A Digc_hw.h465 u16 autoneg_advertised; member
/freebsd/sys/dev/ixgbe/
H A Dixgbe_phy.c821 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) && in ixgbe_setup_phy_link_generic()
836 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) && in ixgbe_setup_phy_link_generic()
842 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic()
850 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) && in ixgbe_setup_phy_link_generic()
865 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) && in ixgbe_setup_phy_link_generic()
895 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic()
898 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic()
901 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
904 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
907 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_phy_link_speed_generic()
[all …]
H A Dixgbe_82599.c811 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_smartspeed()
814 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_smartspeed()
817 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_smartspeed()
820 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_mac_link_smartspeed()
H A Dixgbe_x550.c475 if (!hw->phy.autoneg_advertised) in ixgbe_get_phy_id_fw()
476 hw->phy.autoneg_advertised = hw->phy.speeds_supported; in ixgbe_get_phy_id_fw()
735 if (hw->phy.autoneg_advertised & ixgbe_fw_map[i].phy_speed) in ixgbe_setup_fw_link()
2542 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_setup_kr_x550em()
2548 return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised); in ixgbe_setup_kr_x550em()
3799 save_autoneg = hw->phy.autoneg_advertised; in ixgbe_enter_lplu_t_x550em()
3805 hw->phy.autoneg_advertised = save_autoneg; in ixgbe_enter_lplu_t_x550em()
H A Dixgbe_common.c5789 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_multispeed_fiber()
5792 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_multispeed_fiber()
5795 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_multispeed_fiber()
H A Dif_ix.c1435 autoneg = hw->phy.autoneg_advertised; in ixgbe_config_link()
1443 hw->phy.autoneg_advertised == 0) { in ixgbe_config_link()
3697 autoneg = hw->phy.autoneg_advertised; in ixgbe_handle_msf()
H A Dixgbe_type.h4224 ixgbe_autoneg_advertised autoneg_advertised; member
/freebsd/sys/dev/e1000/
H A De1000_phy.c1440 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000_copper_link_setup_igp()
1490 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_phy_setup_autoneg()
1522 DEBUGOUT1("autoneg_advertised %x\n", phy->autoneg_advertised); in e1000_phy_setup_autoneg()
1525 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
1531 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
1537 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
1543 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg()
1549 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in e1000_phy_setup_autoneg()
1553 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in e1000_phy_setup_autoneg()
1645 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_copper_link_autoneg()
[all …]
H A De1000_82541.c1006 } else if ((phy->autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_82541()
1007 (phy->autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_82541()
1008 (phy->autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_82541()
H A De1000_82571.c608 } else if ((hw->phy.autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_82574()
609 (hw->phy.autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_82574()
610 (hw->phy.autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_82574()
H A Dif_em.c1092 hw->phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; in em_if_attach_pre()
1892 sc->hw.phy.autoneg_advertised = AUTONEG_ADV_DEFAULT; in em_if_media_change()
1898 sc->hw.phy.autoneg_advertised = ADVERTISE_1000_FULL; in em_if_media_change()
1903 sc->hw.phy.autoneg_advertised = ADVERTISE_100_FULL; in em_if_media_change()
1906 sc->hw.phy.autoneg_advertised = ADVERTISE_100_HALF; in em_if_media_change()
1913 sc->hw.phy.autoneg_advertised = ADVERTISE_10_FULL; in em_if_media_change()
1916 sc->hw.phy.autoneg_advertised = ADVERTISE_10_HALF; in em_if_media_change()
1922 sc->hw.phy.autoneg_advertised = 0; in em_if_media_change()
1930 sc->hw.phy.autoneg_advertised = 0; in em_if_media_change()
2609 (sc->hw.phy.autoneg_advertised & ADVERTISE_1000_FULL) == 0) in lem_smartspeed()
H A De1000_82575.c912 } else if ((phy->autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_82580()
913 (phy->autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_82580()
914 (phy->autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_82580()
H A De1000_hw.h889 u16 autoneg_advertised; member
H A De1000_ich8lan.c3385 } else if ((phy->autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_ich8lan()
3386 (phy->autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_ich8lan()
3387 (phy->autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_ich8lan()
5726 (hw->phy.autoneg_advertised & ADVERTISE_100_FULL)) { in e1000_suspend_workarounds_ich8lan()