Lines Matching refs:mac

1160 	if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE))  in e1000_print_hw_hang()
1759 hw->mac.get_link_status = true; in e1000_intr_msi()
1785 if ((icr & E1000_ICR_ECCER) && (hw->mac.type >= e1000_pch_lpt)) { in e1000_intr_msi()
1838 hw->mac.get_link_status = true; in e1000_intr()
1864 if ((icr & E1000_ICR_ECCER) && (hw->mac.type >= e1000_pch_lpt)) { in e1000_intr()
1901 hw->mac.get_link_status = true; in e1000_msix_other()
1976 if (hw->mac.type == e1000_82574) { in e1000_configure_msix()
2243 } else if (hw->mac.type >= e1000_pch_lpt) { in e1000_irq_enable()
2712 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid()
2740 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
2862 switch (hw->mac.type) { in e1000_init_manageability_pt()
3000 hw->mac.ops.config_collision_dist(hw); in e1000_configure_tx()
3003 if (hw->mac.type == e1000_pch_spt) { in e1000_configure_tx()
3038 if (hw->mac.type >= e1000_pch2lan) { in e1000_setup_rctl()
3055 (adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT); in e1000_setup_rctl()
3315 hw->mac.ops.update_mc_addr_list(hw, NULL, 0); in e1000e_write_mc_addr_list()
3328 hw->mac.ops.update_mc_addr_list(hw, mta_list, i); in e1000e_write_mc_addr_list()
3350 rar_entries = hw->mac.ops.rar_get_count(hw); in e1000e_write_uc_addr_list()
3374 ret_val = hw->mac.ops.rar_set(hw, ha->addr, rar_entries--); in e1000e_write_uc_addr_list()
3499 if ((hw->mac.type >= e1000_pch_lpt) && in e1000e_get_base_timinca()
3510 switch (hw->mac.type) { in e1000e_get_base_timinca()
3777 adapter->hw.mac.ops.setup_link(&adapter->hw); in e1000e_power_up_phy()
3955 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000e_reset() local
4023 switch (hw->mac.type) { in e1000e_reset()
4108 if (hw->mac.type >= e1000_pch_spt) in e1000e_reset()
4111 mac->ops.reset_hw(hw); in e1000e_reset()
4121 if (mac->ops.init_hw(hw)) in e1000e_reset()
4183 if (hw->mac.type >= e1000_pch_spt && adapter->int_mode == 0) { in e1000e_reset()
4309 if ((hw->mac.type >= e1000_pch2lan) && in e1000e_down()
4317 else if (hw->mac.type >= e1000_pch_spt) in e1000e_down()
4685 hw->mac.get_link_status = true; in e1000e_open()
4781 memcpy(adapter->hw.mac.addr, addr->sa_data, netdev->addr_len); in e1000_set_mac()
4783 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, 0); in e1000_set_mac()
4796 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, in e1000_set_mac()
4797 adapter->hw.mac.rar_entry_count - 1); in e1000_set_mac()
4904 hw->mac.collision_delta = phy_data; in e1000e_update_phy_stats()
4961 hw->mac.collision_delta = er32(COLC); in e1000e_update_stats()
4963 if ((hw->mac.type != e1000_82574) && in e1000e_update_stats()
4964 (hw->mac.type != e1000_82583)) in e1000e_update_stats()
4967 adapter->stats.colc += hw->mac.collision_delta; in e1000e_update_stats()
4985 hw->mac.tx_packet_delta = er32(TPT); in e1000e_update_stats()
4986 adapter->stats.tpt += hw->mac.tx_packet_delta; in e1000e_update_stats()
5026 if (hw->mac.type >= e1000_pch_lpt) { in e1000e_update_stats()
5106 if (hw->mac.get_link_status) { in e1000e_has_link()
5107 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
5108 link_active = !hw->mac.get_link_status; in e1000e_has_link()
5114 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
5118 ret_val = hw->mac.ops.check_for_link(hw); in e1000e_has_link()
5119 link_active = hw->mac.serdes_has_link; in e1000e_has_link()
5187 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_watchdog_task() local
5236 mac->ops.get_link_up_info(&adapter->hw, in e1000_watchdog_task()
5252 hw->mac.autoneg && in e1000_watchdog_task()
5337 mac->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog_task()
5339 mac->collision_delta = adapter->stats.colc - adapter->colc_old; in e1000_watchdog_task()
5396 hw->mac.ops.rar_set(hw, adapter->hw.mac.addr, 0); in e1000_watchdog_task()
5846 if (adapter->hw.mac.tx_pkt_filtering) in e1000_xmit_frame()
6028 if ((adapter->hw.mac.type >= e1000_pch2lan) && in e1000_change_mtu()
6232 for (i = 0; i < adapter->hw.mac.mta_reg_count; i++) { in e1000_init_phy_wakeup()
6314 hw->mac.type >= e1000_pch_adp) { in e1000e_s0ix_entry_flow()
6465 hw->mac.type >= e1000_pch_adp) { in e1000e_s0ix_exit_flow()
6691 } else if (hw->mac.type >= e1000_pch_lpt) { in __e1000_shutdown()
6922 if (hw->mac.type >= e1000_pch2lan) in __e1000_resume()
7262 hw->mac.type, hw->phy.type, pba_str); in e1000_print_device_info()
7271 if (hw->mac.type != e1000_82573) in e1000_eeprom_checks()
7290 if ((hw->mac.type >= e1000_pch2lan) && (netdev->mtu > ETH_DATA_LEN)) in e1000_fix_features()
7439 adapter->hw.mac.type = ei->mac; in e1000_probe()
7453 (hw->mac.type < e1000_pch_spt)) { in e1000_probe()
7484 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in e1000_probe()
7494 (hw->mac.type < e1000_pch_spt)) in e1000_probe()
7497 hw->mac.ops.get_bus_info(&adapter->hw); in e1000_probe()
7542 if (hw->mac.type == e1000_pch_spt) { in e1000_probe()
7578 adapter->hw.mac.ops.reset_hw(&adapter->hw); in e1000_probe()
7600 eth_hw_addr_set(netdev, adapter->hw.mac.addr); in e1000_probe()
7619 adapter->hw.mac.autoneg = 1; in e1000_probe()
7632 if ((hw->mac.type > e1000_ich10lan) && in e1000_probe()
7665 (hw->mac.ops.check_mng_mode(hw))) in e1000_probe()
7689 if (hw->mac.type >= e1000_pch_cnp) in e1000_probe()
7719 if ((adapter->hw.flash_address) && (hw->mac.type < e1000_pch_spt)) in e1000_probe()
7787 (adapter->hw.mac.type < e1000_pch_spt)) in e1000_remove()