Lines Matching refs:mac

131 		if (hw->mac.autoneg == 1) {  in e1000_get_link_ksettings()
179 hw->mac.autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE; in e1000_get_link_ksettings()
213 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_set_spd_dplx() local
215 mac->autoneg = 0; in e1000_set_spd_dplx()
231 mac->forced_speed_duplex = ADVERTISE_10_HALF; in e1000_set_spd_dplx()
234 mac->forced_speed_duplex = ADVERTISE_10_FULL; in e1000_set_spd_dplx()
237 mac->forced_speed_duplex = ADVERTISE_100_HALF; in e1000_set_spd_dplx()
240 mac->forced_speed_duplex = ADVERTISE_100_FULL; in e1000_set_spd_dplx()
244 mac->autoneg = 1; in e1000_set_spd_dplx()
248 mac->forced_speed_duplex = ADVERTISE_1000_FULL; in e1000_set_spd_dplx()
311 hw->mac.autoneg = 1; in e1000_set_link_ksettings()
409 retval = hw->mac.ops.setup_link(hw); in e1000_set_pauseparam()
634 (hw->mac.type == e1000_82583) || in e1000_set_eeprom()
635 (hw->mac.type == e1000_82574) || in e1000_set_eeprom()
636 (hw->mac.type == e1000_82573)) in e1000_set_eeprom()
840 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_reg_test() local
853 switch (mac->type) { in e1000_reg_test()
908 switch (mac->type) { in e1000_reg_test()
927 if (mac->type >= e1000_pch_lpt) in e1000_reg_test()
930 for (i = 0; i < mac->rar_entry_count; i++) { in e1000_reg_test()
931 if (mac->type >= e1000_pch_lpt) { in e1000_reg_test()
942 if (mac->type == e1000_pch2lan) { in e1000_reg_test()
957 if ((mac->type == e1000_pch2lan) && (i > 6)) in e1000_reg_test()
961 for (i = 0; i < mac->mta_reg_count; i++) in e1000_reg_test()
1050 if (adapter->hw.mac.type == e1000_ich8lan || in e1000_intr_test()
1051 adapter->hw.mac.type == e1000_ich9lan) in e1000_intr_test()
1288 (adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT); in e1000_setup_desc_rings()
1339 hw->mac.autoneg = 0; in e1000_integrated_phy_loopback()
1538 if (hw->mac.type >= e1000_pch_spt) { in e1000_setup_loopback_test()
1551 switch (hw->mac.type) { in e1000_setup_loopback_test()
1580 switch (hw->mac.type) { in e1000_loopback_cleanup()
1617 hw->mac.autoneg = 1; in e1000_loopback_cleanup()
1768 hw->mac.serdes_has_link = false; in e1000_link_test()
1774 hw->mac.ops.check_for_link(hw); in e1000_link_test()
1775 if (hw->mac.serdes_has_link) in e1000_link_test()
1782 hw->mac.ops.check_for_link(hw); in e1000_link_test()
1783 if (hw->mac.autoneg) in e1000_link_test()
1840 forced_speed_duplex = adapter->hw.mac.forced_speed_duplex; in e1000_diag_test()
1841 autoneg = adapter->hw.mac.autoneg; in e1000_diag_test()
1874 adapter->hw.mac.forced_speed_duplex = forced_speed_duplex; in e1000_diag_test()
1875 adapter->hw.mac.autoneg = autoneg; in e1000_diag_test()
1984 if (!hw->mac.ops.blink_led) in e1000_set_phys_id()
1987 hw->mac.ops.blink_led(hw); in e1000_set_phys_id()
1993 hw->mac.ops.led_off(hw); in e1000_set_phys_id()
1994 hw->mac.ops.cleanup_led(hw); in e1000_set_phys_id()
1999 hw->mac.ops.led_on(hw); in e1000_set_phys_id()
2003 hw->mac.ops.led_off(hw); in e1000_set_phys_id()
2068 if (!adapter->hw.mac.autoneg) in e1000_nway_reset()
2362 if (hw->mac.type < e1000_pch_cnp) in e1000e_set_priv_flags()