Lines Matching refs:mac

224 	hw->mac.ops.get_link_capabilities(hw, &supported_link, &autoneg);  in ixgbe_get_link_ksettings()
512 hw->mac.autotry_restart = true; in ixgbe_set_link_ksettings()
513 err = hw->mac.ops.setup_link(hw, advertised, true); in ixgbe_set_link_ksettings()
516 hw->mac.ops.setup_link(hw, old, true); in ixgbe_set_link_ksettings()
573 if ((hw->mac.type == ixgbe_mac_82598EB) && in ixgbe_set_pauseparam()
635 regs->version = hw->mac.type << 24 | hw->revision_id << 16 | in ixgbe_get_regs()
681 switch (hw->mac.type) { in ixgbe_get_regs()
783 switch (hw->mac.type) { in ixgbe_get_regs()
1122 switch (adapter->hw.mac.type) { in ixgbe_get_max_rxd()
1140 switch (adapter->hw.mac.type) { in ixgbe_get_max_txd()
1458 hw->mac.ops.check_link(hw, &link_speed, &link_up, true); in ixgbe_link_test()
1605 switch (adapter->hw.mac.type) { in ixgbe_reg_test()
1870 switch (adapter->hw.mac.type) { in ixgbe_setup_desc_rings()
1899 hw->mac.ops.disable_rx(hw); in ixgbe_setup_desc_rings()
1907 hw->mac.ops.enable_rx(hw); in ixgbe_setup_desc_rings()
1932 switch (adapter->hw.mac.type) { in ixgbe_setup_loopback_test()
1942 if (hw->mac.orig_autoc) { in ixgbe_setup_loopback_test()
1943 reg_data = hw->mac.orig_autoc | IXGBE_AUTOC_FLU; in ixgbe_setup_loopback_test()
1953 if (hw->mac.type == ixgbe_mac_82598EB) { in ixgbe_setup_loopback_test()
1956 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_LPBK, &atlas); in ixgbe_setup_loopback_test()
1958 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_LPBK, atlas); in ixgbe_setup_loopback_test()
1960 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_10G, &atlas); in ixgbe_setup_loopback_test()
1962 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_10G, atlas); in ixgbe_setup_loopback_test()
1964 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_1G, &atlas); in ixgbe_setup_loopback_test()
1966 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_1G, atlas); in ixgbe_setup_loopback_test()
1968 hw->mac.ops.read_analog_reg8(hw, IXGBE_ATLAS_PDN_AN, &atlas); in ixgbe_setup_loopback_test()
1970 hw->mac.ops.write_analog_reg8(hw, IXGBE_ATLAS_PDN_AN, atlas); in ixgbe_setup_loopback_test()
2266 else if (hw->mac.ops.disable_tx_laser) in ixgbe_diag_test()
2267 hw->mac.ops.disable_tx_laser(hw); in ixgbe_diag_test()
2367 if (!hw->mac.ops.led_on || !hw->mac.ops.led_off) in ixgbe_set_phys_id()
2376 hw->mac.ops.led_on(hw, hw->mac.led_link_act); in ixgbe_set_phys_id()
2380 hw->mac.ops.led_off(hw, hw->mac.led_link_act); in ixgbe_set_phys_id()
2670 if (adapter->hw.mac.type < ixgbe_mac_X550) in ixgbe_rss_indir_tbl_max()
3028 if ((hw->mac.type >= ixgbe_mac_X550) && in ixgbe_set_rss_hash_opt()
3055 if ((hw->mac.type >= ixgbe_mac_X550) && in ixgbe_set_rss_hash_opt()
3176 switch (adapter->hw.mac.type) { in ixgbe_get_ts_info()
3226 if (adapter->hw.mac.type == ixgbe_mac_82598EB) { in ixgbe_max_channels()
3565 if (adapter->hw.mac.type == ixgbe_mac_82599EB) { in ixgbe_set_priv_flags()