Lines Matching defs:mac
131 if (hw->mac.autoneg == 1) {
179 hw->mac.autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE;
213 struct e1000_mac_info *mac = &adapter->hw.mac;
215 mac->autoneg = 0;
231 mac->forced_speed_duplex = ADVERTISE_10_HALF;
234 mac->forced_speed_duplex = ADVERTISE_10_FULL;
237 mac->forced_speed_duplex = ADVERTISE_100_HALF;
240 mac->forced_speed_duplex = ADVERTISE_100_FULL;
244 mac->autoneg = 1;
248 mac->forced_speed_duplex = ADVERTISE_1000_FULL;
311 hw->mac.autoneg = 1;
409 retval = hw->mac.ops.setup_link(hw);
634 (hw->mac.type == e1000_82583) ||
635 (hw->mac.type == e1000_82574) ||
636 (hw->mac.type == e1000_82573))
840 struct e1000_mac_info *mac = &adapter->hw.mac;
853 switch (mac->type) {
908 switch (mac->type) {
927 if (mac->type >= e1000_pch_lpt)
931 for (i = 0; i < mac->rar_entry_count; i++) {
932 if (mac->type >= e1000_pch_lpt) {
943 if (mac->type == e1000_pch2lan) {
958 if ((mac->type == e1000_pch2lan) && (i > 6))
962 for (i = 0; i < mac->mta_reg_count; i++)
1051 if (adapter->hw.mac.type == e1000_ich8lan ||
1052 adapter->hw.mac.type == e1000_ich9lan)
1289 (adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT);
1340 hw->mac.autoneg = 0;
1510 /* clear the serdes mode bits, putting the device into mac loopback */
1520 /* set mac loopback */
1539 if (hw->mac.type >= e1000_pch_spt) {
1552 switch (hw->mac.type) {
1581 switch (hw->mac.type) {
1618 hw->mac.autoneg = 1;
1769 hw->mac.serdes_has_link = false;
1775 hw->mac.ops.check_for_link(hw);
1776 if (hw->mac.serdes_has_link)
1783 hw->mac.ops.check_for_link(hw);
1784 if (hw->mac.autoneg)
1841 forced_speed_duplex = adapter->hw.mac.forced_speed_duplex;
1842 autoneg = adapter->hw.mac.autoneg;
1875 adapter->hw.mac.forced_speed_duplex = forced_speed_duplex;
1876 adapter->hw.mac.autoneg = autoneg;
1985 if (!hw->mac.ops.blink_led)
1988 hw->mac.ops.blink_led(hw);
1994 hw->mac.ops.led_off(hw);
1995 hw->mac.ops.cleanup_led(hw);
2000 hw->mac.ops.led_on(hw);
2004 hw->mac.ops.led_off(hw);
2069 if (!adapter->hw.mac.autoneg)
2363 if (hw->mac.type < e1000_pch_cnp)