Lines Matching refs:mac
139 if (hw->mac.autoneg == 1) { in e1000_get_settings()
190 hw->mac.autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE; in e1000_get_settings()
209 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_set_spd_dplx() local
211 mac->autoneg = 0; in e1000_set_spd_dplx()
227 mac->forced_speed_duplex = ADVERTISE_10_HALF; in e1000_set_spd_dplx()
230 mac->forced_speed_duplex = ADVERTISE_10_FULL; in e1000_set_spd_dplx()
233 mac->forced_speed_duplex = ADVERTISE_100_HALF; in e1000_set_spd_dplx()
236 mac->forced_speed_duplex = ADVERTISE_100_FULL; in e1000_set_spd_dplx()
239 mac->autoneg = 1; in e1000_set_spd_dplx()
298 hw->mac.autoneg = 1; in e1000_set_settings()
396 retval = hw->mac.ops.setup_link(hw); in e1000_set_pauseparam()
620 (hw->mac.type == e1000_82583) || in e1000_set_eeprom()
621 (hw->mac.type == e1000_82574) || in e1000_set_eeprom()
622 (hw->mac.type == e1000_82573)) in e1000_set_eeprom()
826 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_reg_test() local
839 switch (mac->type) { in e1000_reg_test()
894 switch (mac->type) { in e1000_reg_test()
906 if ((mac->type == e1000_pch_lpt) || (mac->type == e1000_pch_spt)) in e1000_reg_test()
910 for (i = 0; i < mac->rar_entry_count; i++) { in e1000_reg_test()
911 if ((mac->type == e1000_pch_lpt) || in e1000_reg_test()
912 (mac->type == e1000_pch_spt)) { in e1000_reg_test()
923 if (mac->type == e1000_pch2lan) { in e1000_reg_test()
938 if ((mac->type == e1000_pch2lan) && (i > 6)) in e1000_reg_test()
942 for (i = 0; i < mac->mta_reg_count; i++) in e1000_reg_test()
1031 if (adapter->hw.mac.type == e1000_ich8lan || in e1000_intr_test()
1032 adapter->hw.mac.type == e1000_ich9lan) in e1000_intr_test()
1271 (adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT); in e1000_setup_desc_rings()
1322 hw->mac.autoneg = 0; in e1000_integrated_phy_loopback()
1523 switch (hw->mac.type) { in e1000_setup_loopback_test()
1552 switch (hw->mac.type) { in e1000_loopback_cleanup()
1572 hw->mac.autoneg = 1; in e1000_loopback_cleanup()
1723 hw->mac.serdes_has_link = false; in e1000_link_test()
1729 hw->mac.ops.check_for_link(hw); in e1000_link_test()
1730 if (hw->mac.serdes_has_link) in e1000_link_test()
1737 hw->mac.ops.check_for_link(hw); in e1000_link_test()
1738 if (hw->mac.autoneg) in e1000_link_test()
1793 forced_speed_duplex = adapter->hw.mac.forced_speed_duplex; in e1000_diag_test()
1794 autoneg = adapter->hw.mac.autoneg; in e1000_diag_test()
1827 adapter->hw.mac.forced_speed_duplex = forced_speed_duplex; in e1000_diag_test()
1828 adapter->hw.mac.autoneg = autoneg; in e1000_diag_test()
1937 if (!hw->mac.ops.blink_led) in e1000_set_phys_id()
1940 hw->mac.ops.blink_led(hw); in e1000_set_phys_id()
1946 hw->mac.ops.led_off(hw); in e1000_set_phys_id()
1947 hw->mac.ops.cleanup_led(hw); in e1000_set_phys_id()
1952 hw->mac.ops.led_on(hw); in e1000_set_phys_id()
1956 hw->mac.ops.led_off(hw); in e1000_set_phys_id()
2017 if (!adapter->hw.mac.autoneg) in e1000_nway_reset()