Lines Matching refs:mac
1166 if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE)) in e1000_print_hw_hang()
1768 hw->mac.get_link_status = true; in e1000_intr_msi()
1794 if ((icr & E1000_ICR_ECCER) && ((hw->mac.type == e1000_pch_lpt) || in e1000_intr_msi()
1795 (hw->mac.type == e1000_pch_spt))) { in e1000_intr_msi()
1849 hw->mac.get_link_status = true; in e1000_intr()
1875 if ((icr & E1000_ICR_ECCER) && ((hw->mac.type == e1000_pch_lpt) || in e1000_intr()
1876 (hw->mac.type == e1000_pch_spt))) { in e1000_intr()
1922 hw->mac.get_link_status = true; in e1000_msix_other()
1992 if (hw->mac.type == e1000_82574) { in e1000_configure_msix()
2257 } else if ((hw->mac.type == e1000_pch_lpt) || in e1000_irq_enable()
2258 (hw->mac.type == e1000_pch_spt)) { in e1000_irq_enable()
2726 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid()
2754 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
2876 switch (hw->mac.type) { in e1000_init_manageability_pt()
3014 hw->mac.ops.config_collision_dist(hw); in e1000_configure_tx()
3017 if (hw->mac.type == e1000_pch_spt) { in e1000_configure_tx()
3046 if (hw->mac.type >= e1000_pch2lan) { in e1000_setup_rctl()
3063 (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()
3783 adapter->hw.mac.ops.setup_link(&adapter->hw); in e1000e_power_up_phy()
3910 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000e_reset() local
3978 switch (hw->mac.type) { in e1000e_reset()
4056 if (hw->mac.type == e1000_pch_spt) in e1000e_reset()
4059 mac->ops.reset_hw(hw); in e1000e_reset()
4069 if (mac->ops.init_hw(hw)) in e1000e_reset()
4131 if (hw->mac.type == e1000_pch_spt && adapter->int_mode == 0) { in e1000e_reset()
4249 if ((hw->mac.type >= e1000_pch2lan) && in e1000e_down()
4257 else if (hw->mac.type == e1000_pch_spt) in e1000e_down()
4307 if ((hw->mac.type == e1000_82574) || (hw->mac.type == e1000_82583)) { in e1000e_cyclecounter_read()
4590 hw->mac.get_link_status = true; in e1000_open()
4690 memcpy(adapter->hw.mac.addr, addr->sa_data, netdev->addr_len); in e1000_set_mac()
4692 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, 0); in e1000_set_mac()
4705 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, in e1000_set_mac()
4706 adapter->hw.mac.rar_entry_count - 1); in e1000_set_mac()
4813 hw->mac.collision_delta = phy_data; in e1000e_update_phy_stats()
4870 hw->mac.collision_delta = er32(COLC); in e1000e_update_stats()
4872 if ((hw->mac.type != e1000_82574) && in e1000e_update_stats()
4873 (hw->mac.type != e1000_82583)) in e1000e_update_stats()
4876 adapter->stats.colc += hw->mac.collision_delta; in e1000e_update_stats()
4894 hw->mac.tx_packet_delta = er32(TPT); in e1000e_update_stats()
4895 adapter->stats.tpt += hw->mac.tx_packet_delta; in e1000e_update_stats()
4935 if ((hw->mac.type == e1000_pch_lpt) || in e1000e_update_stats()
4936 (hw->mac.type == e1000_pch_spt)) { in e1000e_update_stats()
5016 if (hw->mac.get_link_status) { in e1000e_has_link()
5017 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
5018 link_active = !hw->mac.get_link_status; in e1000e_has_link()
5024 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
5028 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
5029 link_active = adapter->hw.mac.serdes_has_link; in e1000e_has_link()
5097 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_watchdog_task() local
5128 mac->ops.get_link_up_info(&adapter->hw, in e1000_watchdog_task()
5144 hw->mac.autoneg && in e1000_watchdog_task()
5248 mac->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog_task()
5250 mac->collision_delta = adapter->stats.colc - adapter->colc_old; in e1000_watchdog_task()
5307 hw->mac.ops.rar_set(hw, adapter->hw.mac.addr, 0); in e1000_watchdog_task()
5761 if (adapter->hw.mac.tx_pkt_filtering) in e1000_xmit_frame()
5950 if ((adapter->hw.mac.type >= e1000_pch2lan) && in e1000_change_mtu()
6153 for (i = 0; i < adapter->hw.mac.mta_reg_count; i++) { in e1000_init_phy_wakeup()
6319 } else if ((hw->mac.type == e1000_pch_lpt) || in __e1000_shutdown()
6320 (hw->mac.type == e1000_pch_spt)) { in __e1000_shutdown()
6511 if (hw->mac.type >= e1000_pch2lan) in __e1000_resume()
6864 hw->mac.type, hw->phy.type, pba_str); in e1000_print_device_info()
6873 if (hw->mac.type != e1000_82573) in e1000_eeprom_checks()
6892 if ((hw->mac.type >= e1000_pch2lan) && (netdev->mtu > ETH_DATA_LEN)) in e1000_fix_features()
7042 adapter->hw.mac.type = ei->mac; in e1000_probe()
7056 (hw->mac.type < e1000_pch_spt)) { in e1000_probe()
7087 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in e1000_probe()
7097 (hw->mac.type < e1000_pch_spt)) in e1000_probe()
7100 hw->mac.ops.get_bus_info(&adapter->hw); in e1000_probe()
7152 adapter->hw.mac.ops.reset_hw(&adapter->hw); in e1000_probe()
7174 memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len); in e1000_probe()
7198 adapter->hw.mac.autoneg = 1; in e1000_probe()
7211 if ((hw->mac.type > e1000_ich10lan) && in e1000_probe()
7244 (hw->mac.ops.check_mng_mode(hw))) in e1000_probe()
7293 if ((adapter->hw.flash_address) && (hw->mac.type < e1000_pch_spt)) in e1000_probe()
7367 (adapter->hw.mac.type < e1000_pch_spt)) in e1000_remove()