Lines Matching refs:mac

62 	struct ixgbe_mac_info *mac = &hw->mac;  in ixgbe_init_ops_X540()  local
89 mac->ops.reset_hw = ixgbe_reset_hw_X540; in ixgbe_init_ops_X540()
90 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_gen2; in ixgbe_init_ops_X540()
91 mac->ops.get_media_type = ixgbe_get_media_type_X540; in ixgbe_init_ops_X540()
92 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_X540()
94 mac->ops.read_analog_reg8 = NULL; in ixgbe_init_ops_X540()
95 mac->ops.write_analog_reg8 = NULL; in ixgbe_init_ops_X540()
96 mac->ops.start_hw = ixgbe_start_hw_X540; in ixgbe_init_ops_X540()
97 mac->ops.get_san_mac_addr = ixgbe_get_san_mac_addr_generic; in ixgbe_init_ops_X540()
98 mac->ops.set_san_mac_addr = ixgbe_set_san_mac_addr_generic; in ixgbe_init_ops_X540()
99 mac->ops.get_device_caps = ixgbe_get_device_caps_generic; in ixgbe_init_ops_X540()
100 mac->ops.get_wwn_prefix = ixgbe_get_wwn_prefix_generic; in ixgbe_init_ops_X540()
101 mac->ops.get_fcoe_boot_status = ixgbe_get_fcoe_boot_status_generic; in ixgbe_init_ops_X540()
102 mac->ops.acquire_swfw_sync = ixgbe_acquire_swfw_sync_X540; in ixgbe_init_ops_X540()
103 mac->ops.release_swfw_sync = ixgbe_release_swfw_sync_X540; in ixgbe_init_ops_X540()
104 mac->ops.init_swfw_sync = ixgbe_init_swfw_sync_X540; in ixgbe_init_ops_X540()
105 mac->ops.disable_sec_rx_path = ixgbe_disable_sec_rx_path_generic; in ixgbe_init_ops_X540()
106 mac->ops.enable_sec_rx_path = ixgbe_enable_sec_rx_path_generic; in ixgbe_init_ops_X540()
109 mac->ops.set_vmdq = ixgbe_set_vmdq_generic; in ixgbe_init_ops_X540()
110 mac->ops.set_vmdq_san_mac = ixgbe_set_vmdq_san_mac_generic; in ixgbe_init_ops_X540()
111 mac->ops.clear_vmdq = ixgbe_clear_vmdq_generic; in ixgbe_init_ops_X540()
112 mac->ops.insert_mac_addr = ixgbe_insert_mac_addr_generic; in ixgbe_init_ops_X540()
113 mac->rar_highwater = 1; in ixgbe_init_ops_X540()
114 mac->ops.set_vfta = ixgbe_set_vfta_generic; in ixgbe_init_ops_X540()
115 mac->ops.set_vlvf = ixgbe_set_vlvf_generic; in ixgbe_init_ops_X540()
116 mac->ops.clear_vfta = ixgbe_clear_vfta_generic; in ixgbe_init_ops_X540()
117 mac->ops.init_uta_tables = ixgbe_init_uta_tables_generic; in ixgbe_init_ops_X540()
118 mac->ops.set_mac_anti_spoofing = ixgbe_set_mac_anti_spoofing; in ixgbe_init_ops_X540()
119 mac->ops.set_vlan_anti_spoofing = ixgbe_set_vlan_anti_spoofing; in ixgbe_init_ops_X540()
122 mac->ops.get_link_capabilities = in ixgbe_init_ops_X540()
124 mac->ops.setup_link = ixgbe_setup_mac_link_X540; in ixgbe_init_ops_X540()
125 mac->ops.setup_rxpba = ixgbe_set_rxpba_generic; in ixgbe_init_ops_X540()
126 mac->ops.check_link = ixgbe_check_mac_link_generic; in ixgbe_init_ops_X540()
127 mac->ops.bypass_rw = ixgbe_bypass_rw_generic; in ixgbe_init_ops_X540()
128 mac->ops.bypass_valid_rd = ixgbe_bypass_valid_rd_generic; in ixgbe_init_ops_X540()
129 mac->ops.bypass_set = ixgbe_bypass_set_generic; in ixgbe_init_ops_X540()
130 mac->ops.bypass_rd_eep = ixgbe_bypass_rd_eep_generic; in ixgbe_init_ops_X540()
133 mac->mcft_size = IXGBE_X540_MC_TBL_SIZE; in ixgbe_init_ops_X540()
134 mac->vft_size = IXGBE_X540_VFT_TBL_SIZE; in ixgbe_init_ops_X540()
135 mac->num_rar_entries = IXGBE_X540_RAR_ENTRIES; in ixgbe_init_ops_X540()
136 mac->rx_pb_size = IXGBE_X540_RX_PB_SIZE; in ixgbe_init_ops_X540()
137 mac->max_rx_queues = IXGBE_X540_MAX_RX_QUEUES; in ixgbe_init_ops_X540()
138 mac->max_tx_queues = IXGBE_X540_MAX_TX_QUEUES; in ixgbe_init_ops_X540()
139 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_init_ops_X540()
146 mac->arc_subsystem_valid = !!(IXGBE_READ_REG(hw, IXGBE_FWSM_BY_MAC(hw)) in ixgbe_init_ops_X540()
152 mac->ops.blink_led_start = ixgbe_blink_led_start_X540; in ixgbe_init_ops_X540()
153 mac->ops.blink_led_stop = ixgbe_blink_led_stop_X540; in ixgbe_init_ops_X540()
156 mac->ops.set_fw_drv_ver = ixgbe_set_fw_drv_ver_generic; in ixgbe_init_ops_X540()
158 mac->ops.get_rtrup2tc = ixgbe_dcb_get_rtrup2tc_generic; in ixgbe_init_ops_X540()
222 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540()
230 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_reset_hw_X540()
240 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_reset_hw_X540()
262 if (hw->mac.flags & IXGBE_FLAGS_DOUBLE_RESET_REQUIRED) { in ixgbe_reset_hw_X540()
263 hw->mac.flags &= ~IXGBE_FLAGS_DOUBLE_RESET_REQUIRED; in ixgbe_reset_hw_X540()
271 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X540()
278 hw->mac.num_rar_entries = 128; in ixgbe_reset_hw_X540()
279 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_X540()
282 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_X540()
285 if (ixgbe_validate_mac_addr(hw->mac.san_addr) == 0) { in ixgbe_reset_hw_X540()
287 hw->mac.san_mac_rar_index = hw->mac.num_rar_entries - 1; in ixgbe_reset_hw_X540()
289 hw->mac.ops.set_rar(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_X540()
290 hw->mac.san_addr, 0, IXGBE_RAH_AV); in ixgbe_reset_hw_X540()
293 hw->mac.ops.clear_vmdq(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_X540()
297 hw->mac.num_rar_entries--; in ixgbe_reset_hw_X540()
301 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_X540()
302 &hw->mac.wwpn_prefix); in ixgbe_reset_hw_X540()
402 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) == in ixgbe_read_eerd_X540()
405 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_read_eerd_X540()
428 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) == in ixgbe_read_eerd_buffer_X540()
432 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_read_eerd_buffer_X540()
453 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) == in ixgbe_write_eewr_X540()
456 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_write_eewr_X540()
479 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) == in ixgbe_write_eewr_buffer_X540()
483 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_write_eewr_buffer_X540()
596 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM)) in ixgbe_validate_eeprom_checksum_X540()
627 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_validate_eeprom_checksum_X540()
657 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM)) in ixgbe_update_eeprom_checksum_X540()
676 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_update_eeprom_checksum_X540()
710 if (hw->mac.type == ixgbe_mac_X540 && hw->revision_id == 0) { in ixgbe_update_flash_X540()
788 if (hw->mac.type >= ixgbe_mac_X550) in ixgbe_acquire_swfw_sync_X540()
1021 hw->mac.ops.check_link(hw, &speed, &link_up, FALSE); in ixgbe_blink_led_start_X540()