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()
824 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_reg_test() local
837 switch (mac->type) { in e1000_reg_test()
892 switch (mac->type) { in e1000_reg_test()
904 if ((mac->type == e1000_pch_lpt) || (mac->type == e1000_pch_spt)) in e1000_reg_test()
908 for (i = 0; i < mac->rar_entry_count; i++) { in e1000_reg_test()
909 if ((mac->type == e1000_pch_lpt) || in e1000_reg_test()
910 (mac->type == e1000_pch_spt)) { in e1000_reg_test()
921 if (mac->type == e1000_pch2lan) { in e1000_reg_test()
936 if ((mac->type == e1000_pch2lan) && (i > 6)) in e1000_reg_test()
940 for (i = 0; i < mac->mta_reg_count; i++) in e1000_reg_test()
1029 if (adapter->hw.mac.type == e1000_ich8lan || in e1000_intr_test()
1030 adapter->hw.mac.type == e1000_ich9lan) in e1000_intr_test()
1269 (adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT); in e1000_setup_desc_rings()
1320 hw->mac.autoneg = 0; in e1000_integrated_phy_loopback()
1519 if (hw->mac.type == e1000_pch_spt) { in e1000_setup_loopback_test()
1532 switch (hw->mac.type) { in e1000_setup_loopback_test()
1561 switch (hw->mac.type) { in e1000_loopback_cleanup()
1591 hw->mac.autoneg = 1; in e1000_loopback_cleanup()
1742 hw->mac.serdes_has_link = false; in e1000_link_test()
1748 hw->mac.ops.check_for_link(hw); in e1000_link_test()
1749 if (hw->mac.serdes_has_link) in e1000_link_test()
1756 hw->mac.ops.check_for_link(hw); in e1000_link_test()
1757 if (hw->mac.autoneg) in e1000_link_test()
1812 forced_speed_duplex = adapter->hw.mac.forced_speed_duplex; in e1000_diag_test()
1813 autoneg = adapter->hw.mac.autoneg; in e1000_diag_test()
1846 adapter->hw.mac.forced_speed_duplex = forced_speed_duplex; in e1000_diag_test()
1847 adapter->hw.mac.autoneg = autoneg; in e1000_diag_test()
1956 if (!hw->mac.ops.blink_led) in e1000_set_phys_id()
1959 hw->mac.ops.blink_led(hw); in e1000_set_phys_id()
1965 hw->mac.ops.led_off(hw); in e1000_set_phys_id()
1966 hw->mac.ops.cleanup_led(hw); in e1000_set_phys_id()
1971 hw->mac.ops.led_on(hw); in e1000_set_phys_id()
1975 hw->mac.ops.led_off(hw); in e1000_set_phys_id()
2036 if (!adapter->hw.mac.autoneg) in e1000_nway_reset()