Lines Matching refs:mac
164 hw->mac.ops.get_link_capabilities(hw, &supported_link, &autoneg); in ixgbe_get_settings()
282 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_get_settings()
348 hw->mac.autotry_restart = true; in ixgbe_set_settings()
349 err = hw->mac.ops.setup_link(hw, advertised, true); in ixgbe_set_settings()
352 hw->mac.ops.setup_link(hw, old, true); in ixgbe_set_settings()
397 if ((hw->mac.type == ixgbe_mac_82598EB) && in ixgbe_set_pauseparam()
459 regs->version = hw->mac.type << 24 | hw->revision_id << 16 | in ixgbe_get_regs()
507 switch (hw->mac.type) { in ixgbe_get_regs()
608 switch (hw->mac.type) { in ixgbe_get_regs()
1259 hw->mac.ops.check_link(hw, &link_speed, &link_up, true); in ixgbe_link_test()
1406 switch (adapter->hw.mac.type) { in ixgbe_reg_test()
1640 hw->mac.ops.disable_rx(hw); in ixgbe_free_desc_rings()
1648 switch (hw->mac.type) { in ixgbe_free_desc_rings()
1687 switch (adapter->hw.mac.type) { in ixgbe_setup_desc_rings()
1715 hw->mac.ops.disable_rx(hw); in ixgbe_setup_desc_rings()
1723 hw->mac.ops.enable_rx(hw); in ixgbe_setup_desc_rings()
1748 switch (adapter->hw.mac.type) { in ixgbe_setup_loopback_test()
1757 if (hw->mac.orig_autoc) { in ixgbe_setup_loopback_test()
1758 reg_data = hw->mac.orig_autoc | IXGBE_AUTOC_FLU; in ixgbe_setup_loopback_test()
1768 if (hw->mac.type == ixgbe_mac_82598EB) { in ixgbe_setup_loopback_test()
1771 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_LPBK, &atlas); in ixgbe_setup_loopback_test()
1773 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_LPBK, atlas); in ixgbe_setup_loopback_test()
1775 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_10G, &atlas); in ixgbe_setup_loopback_test()
1777 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_10G, atlas); in ixgbe_setup_loopback_test()
1779 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_1G, &atlas); in ixgbe_setup_loopback_test()
1781 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_1G, atlas); in ixgbe_setup_loopback_test()
1783 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_AN, &atlas); in ixgbe_setup_loopback_test()
1785 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_AN, atlas); in ixgbe_setup_loopback_test()
2064 else if (hw->mac.ops.disable_tx_laser) in ixgbe_diag_test()
2065 hw->mac.ops.disable_tx_laser(hw); in ixgbe_diag_test()
2173 hw->mac.ops.led_on(hw, IXGBE_LED_ON); in ixgbe_set_phys_id()
2177 hw->mac.ops.led_off(hw, IXGBE_LED_ON); in ixgbe_set_phys_id()
2797 if ((hw->mac.type >= ixgbe_mac_X550) && in ixgbe_set_rss_hash_opt()
2824 if ((hw->mac.type >= ixgbe_mac_X550) && in ixgbe_set_rss_hash_opt()
2900 switch (adapter->hw.mac.type) { in ixgbe_get_ts_info()
2955 if (adapter->hw.mac.type == ixgbe_mac_82598EB) { in ixgbe_max_channels()