Lines Matching refs:mac
164 hw->mac.ops.get_link_capabilities(hw, &supported_link, &autoneg); in ixgbe_get_settings()
287 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_get_settings()
356 hw->mac.autotry_restart = true; in ixgbe_set_settings()
357 err = hw->mac.ops.setup_link(hw, advertised, true); in ixgbe_set_settings()
360 hw->mac.ops.setup_link(hw, old, true); in ixgbe_set_settings()
405 if ((hw->mac.type == ixgbe_mac_82598EB) && in ixgbe_set_pauseparam()
467 regs->version = hw->mac.type << 24 | hw->revision_id << 16 | in ixgbe_get_regs()
515 switch (hw->mac.type) { in ixgbe_get_regs()
616 switch (hw->mac.type) { in ixgbe_get_regs()
1264 hw->mac.ops.check_link(hw, &link_speed, &link_up, true); in ixgbe_link_test()
1411 switch (adapter->hw.mac.type) { in ixgbe_reg_test()
1645 hw->mac.ops.disable_rx(hw); in ixgbe_free_desc_rings()
1653 switch (hw->mac.type) { in ixgbe_free_desc_rings()
1692 switch (adapter->hw.mac.type) { in ixgbe_setup_desc_rings()
1720 hw->mac.ops.disable_rx(hw); in ixgbe_setup_desc_rings()
1728 hw->mac.ops.enable_rx(hw); in ixgbe_setup_desc_rings()
1753 switch (adapter->hw.mac.type) { in ixgbe_setup_loopback_test()
1762 if (hw->mac.orig_autoc) { in ixgbe_setup_loopback_test()
1763 reg_data = hw->mac.orig_autoc | IXGBE_AUTOC_FLU; in ixgbe_setup_loopback_test()
1773 if (hw->mac.type == ixgbe_mac_82598EB) { in ixgbe_setup_loopback_test()
1776 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_LPBK, &atlas); in ixgbe_setup_loopback_test()
1778 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_LPBK, atlas); in ixgbe_setup_loopback_test()
1780 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_10G, &atlas); in ixgbe_setup_loopback_test()
1782 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_10G, atlas); in ixgbe_setup_loopback_test()
1784 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_1G, &atlas); in ixgbe_setup_loopback_test()
1786 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_1G, atlas); in ixgbe_setup_loopback_test()
1788 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_AN, &atlas); in ixgbe_setup_loopback_test()
1790 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_AN, atlas); in ixgbe_setup_loopback_test()
2069 else if (hw->mac.ops.disable_tx_laser) in ixgbe_diag_test()
2070 hw->mac.ops.disable_tx_laser(hw); in ixgbe_diag_test()
2178 hw->mac.ops.led_on(hw, IXGBE_LED_ON); in ixgbe_set_phys_id()
2182 hw->mac.ops.led_off(hw, IXGBE_LED_ON); in ixgbe_set_phys_id()
2816 if ((hw->mac.type >= ixgbe_mac_X550) && in ixgbe_set_rss_hash_opt()
2843 if ((hw->mac.type >= ixgbe_mac_X550) && in ixgbe_set_rss_hash_opt()
2877 if (adapter->hw.mac.type < ixgbe_mac_X550) in ixgbe_rss_indir_tbl_max()
2965 switch (adapter->hw.mac.type) { in ixgbe_get_ts_info()
3012 if (adapter->hw.mac.type == ixgbe_mac_82598EB) { in ixgbe_max_channels()