Lines Matching refs:mac
1166 if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE)) in e1000_print_hw_hang()
1774 hw->mac.get_link_status = true; in e1000_intr_msi()
1800 if ((icr & E1000_ICR_ECCER) && ((hw->mac.type == e1000_pch_lpt) || in e1000_intr_msi()
1801 (hw->mac.type == e1000_pch_spt))) { in e1000_intr_msi()
1855 hw->mac.get_link_status = true; in e1000_intr()
1881 if ((icr & E1000_ICR_ECCER) && ((hw->mac.type == e1000_pch_lpt) || in e1000_intr()
1882 (hw->mac.type == e1000_pch_spt))) { in e1000_intr()
1928 hw->mac.get_link_status = true; in e1000_msix_other()
1998 if (hw->mac.type == e1000_82574) { in e1000_configure_msix()
2263 } else if ((hw->mac.type == e1000_pch_lpt) || in e1000_irq_enable()
2264 (hw->mac.type == e1000_pch_spt)) { in e1000_irq_enable()
2738 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid()
2766 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
2888 switch (hw->mac.type) { in e1000_init_manageability_pt()
3020 hw->mac.ops.config_collision_dist(hw); in e1000_configure_tx()
3023 if (hw->mac.type == e1000_pch_spt) { in e1000_configure_tx()
3052 if (hw->mac.type >= e1000_pch2lan) { in e1000_setup_rctl()
3069 (adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT); in e1000_setup_rctl()
3329 hw->mac.ops.update_mc_addr_list(hw, NULL, 0); in e1000e_write_mc_addr_list()
3342 hw->mac.ops.update_mc_addr_list(hw, mta_list, i); in e1000e_write_mc_addr_list()
3364 rar_entries = hw->mac.ops.rar_get_count(hw); in e1000e_write_uc_addr_list()
3388 rval = hw->mac.ops.rar_set(hw, ha->addr, rar_entries--); in e1000e_write_uc_addr_list()
3513 if (((hw->mac.type == e1000_pch_lpt) || in e1000e_get_base_timinca()
3514 (hw->mac.type == e1000_pch_spt)) && in e1000e_get_base_timinca()
3525 switch (hw->mac.type) { in e1000e_get_base_timinca()
3533 if (((hw->mac.type != e1000_pch_lpt) && in e1000e_get_base_timinca()
3534 (hw->mac.type != e1000_pch_spt)) || in e1000e_get_base_timinca()
3775 adapter->hw.mac.ops.setup_link(&adapter->hw); in e1000e_power_up_phy()
3800 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000e_reset() local
3868 switch (hw->mac.type) { in e1000e_reset()
3947 mac->ops.reset_hw(hw); in e1000e_reset()
3957 if (mac->ops.init_hw(hw)) in e1000e_reset()
4125 if ((hw->mac.type >= e1000_pch2lan) && in e1000e_down()
4159 if ((hw->mac.type == e1000_82574) || (hw->mac.type == e1000_82583)) { in e1000e_cyclecounter_read()
4442 hw->mac.get_link_status = true; in e1000_open()
4541 memcpy(adapter->hw.mac.addr, addr->sa_data, netdev->addr_len); in e1000_set_mac()
4543 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, 0); in e1000_set_mac()
4556 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, in e1000_set_mac()
4557 adapter->hw.mac.rar_entry_count - 1); in e1000_set_mac()
4664 hw->mac.collision_delta = phy_data; in e1000e_update_phy_stats()
4721 hw->mac.collision_delta = er32(COLC); in e1000e_update_stats()
4723 if ((hw->mac.type != e1000_82574) && in e1000e_update_stats()
4724 (hw->mac.type != e1000_82583)) in e1000e_update_stats()
4727 adapter->stats.colc += hw->mac.collision_delta; in e1000e_update_stats()
4745 hw->mac.tx_packet_delta = er32(TPT); in e1000e_update_stats()
4746 adapter->stats.tpt += hw->mac.tx_packet_delta; in e1000e_update_stats()
4786 if ((hw->mac.type == e1000_pch_lpt) || in e1000e_update_stats()
4787 (hw->mac.type == e1000_pch_spt)) { in e1000e_update_stats()
4867 if (hw->mac.get_link_status) { in e1000e_has_link()
4868 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
4869 link_active = !hw->mac.get_link_status; in e1000e_has_link()
4875 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
4879 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
4880 link_active = adapter->hw.mac.serdes_has_link; in e1000e_has_link()
4948 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_watchdog_task() local
4979 mac->ops.get_link_up_info(&adapter->hw, in e1000_watchdog_task()
4995 hw->mac.autoneg && in e1000_watchdog_task()
5099 mac->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog_task()
5101 mac->collision_delta = adapter->stats.colc - adapter->colc_old; in e1000_watchdog_task()
5158 hw->mac.ops.rar_set(hw, adapter->hw.mac.addr, 0); in e1000_watchdog_task()
5612 if (adapter->hw.mac.tx_pkt_filtering) in e1000_xmit_frame()
5801 if ((adapter->hw.mac.type >= e1000_pch2lan) && in e1000_change_mtu()
6004 for (i = 0; i < adapter->hw.mac.mta_reg_count; i++) { in e1000_init_phy_wakeup()
6170 } else if ((hw->mac.type == e1000_pch_lpt) || in __e1000_shutdown()
6171 (hw->mac.type == e1000_pch_spt)) { in __e1000_shutdown()
6305 if (hw->mac.type >= e1000_pch2lan) in __e1000_resume()
6658 hw->mac.type, hw->phy.type, pba_str); in e1000_print_device_info()
6667 if (hw->mac.type != e1000_82573) in e1000_eeprom_checks()
6821 adapter->hw.mac.type = ei->mac; in e1000_probe()
6835 (hw->mac.type < e1000_pch_spt)) { in e1000_probe()
6866 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in e1000_probe()
6876 (hw->mac.type < e1000_pch_spt)) in e1000_probe()
6879 hw->mac.ops.get_bus_info(&adapter->hw); in e1000_probe()
6931 adapter->hw.mac.ops.reset_hw(&adapter->hw); in e1000_probe()
6953 memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len); in e1000_probe()
6977 adapter->hw.mac.autoneg = 1; in e1000_probe()
6990 if ((hw->mac.type > e1000_ich10lan) && in e1000_probe()
7023 (hw->mac.ops.check_mng_mode(hw))) in e1000_probe()
7072 if ((adapter->hw.flash_address) && (hw->mac.type < e1000_pch_spt)) in e1000_probe()
7146 (adapter->hw.mac.type < e1000_pch_spt)) in e1000_remove()