Lines Matching refs:mac
70 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
71 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
97 switch (hw->mac.type) { in ixgbe_init_shared_code()
127 hw->mac.max_link_up_time = IXGBE_LINK_UP_TIME; in ixgbe_init_shared_code()
166 hw->mac.type = ixgbe_mac_82598EB; in ixgbe_set_mac_type()
184 hw->mac.type = ixgbe_mac_82599EB; in ixgbe_set_mac_type()
188 hw->mac.type = ixgbe_mac_82599_vf; in ixgbe_set_mac_type()
192 hw->mac.type = ixgbe_mac_X540_vf; in ixgbe_set_mac_type()
198 hw->mac.type = ixgbe_mac_X540; in ixgbe_set_mac_type()
203 hw->mac.type = ixgbe_mac_X550; in ixgbe_set_mac_type()
212 hw->mac.type = ixgbe_mac_X550EM_x; in ixgbe_set_mac_type()
226 hw->mac.type = ixgbe_mac_X550EM_a; in ixgbe_set_mac_type()
231 hw->mac.type = ixgbe_mac_X550_vf; in ixgbe_set_mac_type()
236 hw->mac.type = ixgbe_mac_X550EM_x_vf; in ixgbe_set_mac_type()
241 hw->mac.type = ixgbe_mac_X550EM_a_vf; in ixgbe_set_mac_type()
253 hw->mac.type, ret_val); in ixgbe_set_mac_type()
265 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), in ixgbe_init_hw()
278 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), in ixgbe_reset_hw()
294 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), in ixgbe_start_hw()
308 if (hw->mac.ops.enable_relaxed_ordering) in ixgbe_enable_relaxed_ordering()
309 hw->mac.ops.enable_relaxed_ordering(hw); in ixgbe_enable_relaxed_ordering()
321 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), in ixgbe_clear_hw_cntrs()
333 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), in ixgbe_get_media_type()
349 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr, in ixgbe_get_mac_addr()
363 return ixgbe_call_func(hw, hw->mac.ops.get_san_mac_addr, in ixgbe_get_san_mac_addr()
376 return ixgbe_call_func(hw, hw->mac.ops.set_san_mac_addr, in ixgbe_set_san_mac_addr()
389 return ixgbe_call_func(hw, hw->mac.ops.get_device_caps, in ixgbe_get_device_caps()
405 return ixgbe_call_func(hw, hw->mac.ops.get_wwn_prefix, in ixgbe_get_wwn_prefix()
419 return ixgbe_call_func(hw, hw->mac.ops.get_fcoe_boot_status, in ixgbe_get_fcoe_boot_status()
432 return ixgbe_call_func(hw, hw->mac.ops.get_bus_info, (hw), in ixgbe_get_bus_info()
444 return hw->mac.max_tx_queues; in ixgbe_get_num_of_tx_queues()
455 return hw->mac.max_rx_queues; in ixgbe_get_num_of_rx_queues()
469 return ixgbe_call_func(hw, hw->mac.ops.stop_adapter, (hw), in ixgbe_stop_adapter()
670 return ixgbe_call_func(hw, hw->mac.ops.check_link, (hw, speed, in ixgbe_check_link()
683 if (hw->mac.ops.disable_tx_laser) in ixgbe_disable_tx_laser()
684 hw->mac.ops.disable_tx_laser(hw); in ixgbe_disable_tx_laser()
695 if (hw->mac.ops.enable_tx_laser) in ixgbe_enable_tx_laser()
696 hw->mac.ops.enable_tx_laser(hw); in ixgbe_enable_tx_laser()
709 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser()
710 hw->mac.ops.flap_tx_laser(hw); in ixgbe_flap_tx_laser()
725 return ixgbe_call_func(hw, hw->mac.ops.setup_link, (hw, speed, in ixgbe_setup_link()
742 return ixgbe_call_func(hw, hw->mac.ops.setup_mac_link, (hw, speed, in ixgbe_setup_mac_link()
758 return ixgbe_call_func(hw, hw->mac.ops.get_link_capabilities, (hw, in ixgbe_get_link_capabilities()
771 return ixgbe_call_func(hw, hw->mac.ops.led_on, (hw, index), in ixgbe_led_on()
784 return ixgbe_call_func(hw, hw->mac.ops.led_off, (hw, index), in ixgbe_led_off()
797 return ixgbe_call_func(hw, hw->mac.ops.blink_led_start, (hw, index), in ixgbe_blink_led_start()
810 return ixgbe_call_func(hw, hw->mac.ops.blink_led_stop, (hw, index), in ixgbe_blink_led_stop()
928 return ixgbe_call_func(hw, hw->mac.ops.insert_mac_addr, in ixgbe_insert_mac_addr()
946 return ixgbe_call_func(hw, hw->mac.ops.set_rar, (hw, index, addr, vmdq, in ixgbe_set_rar()
959 return ixgbe_call_func(hw, hw->mac.ops.clear_rar, (hw, index), in ixgbe_clear_rar()
971 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq, (hw, rar, vmdq), in ixgbe_set_vmdq()
983 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq_san_mac, in ixgbe_set_vmdq_san_mac()
995 return ixgbe_call_func(hw, hw->mac.ops.clear_vmdq, (hw, rar, vmdq), in ixgbe_clear_vmdq()
1009 return ixgbe_call_func(hw, hw->mac.ops.init_rx_addrs, (hw), in ixgbe_init_rx_addrs()
1019 return hw->mac.num_rar_entries; in ixgbe_get_num_rx_addrs()
1036 return ixgbe_call_func(hw, hw->mac.ops.update_uc_addr_list, (hw, in ixgbe_update_uc_addr_list()
1058 return ixgbe_call_func(hw, hw->mac.ops.update_mc_addr_list, (hw, in ixgbe_update_mc_addr_list()
1071 return ixgbe_call_func(hw, hw->mac.ops.enable_mc, (hw), in ixgbe_enable_mc()
1083 return ixgbe_call_func(hw, hw->mac.ops.disable_mc, (hw), in ixgbe_disable_mc()
1095 return ixgbe_call_func(hw, hw->mac.ops.clear_vfta, (hw), in ixgbe_clear_vfta()
1112 return ixgbe_call_func(hw, hw->mac.ops.set_vfta, (hw, vlan, vind, in ixgbe_set_vfta()
1132 return ixgbe_call_func(hw, hw->mac.ops.set_vlvf, (hw, vlan, vind, in ixgbe_set_vlvf()
1145 return ixgbe_call_func(hw, hw->mac.ops.fc_enable, (hw), in ixgbe_fc_enable()
1157 return ixgbe_call_func(hw, hw->mac.ops.setup_fc, (hw), in ixgbe_setup_fc()
1174 return ixgbe_call_func(hw, hw->mac.ops.set_fw_drv_ver, (hw, maj, min, in ixgbe_set_fw_drv_ver()
1188 return ixgbe_call_func(hw, hw->mac.ops.get_thermal_sensor_data, (hw), in ixgbe_get_thermal_sensor_data()
1200 return ixgbe_call_func(hw, hw->mac.ops.init_thermal_sensor_thresh, (hw), in ixgbe_init_thermal_sensor_thresh()
1213 return ixgbe_call_func(hw, hw->mac.ops.dmac_config, (hw), in ixgbe_dmac_config()
1225 return ixgbe_call_func(hw, hw->mac.ops.dmac_update_tcs, (hw), in ixgbe_dmac_update_tcs()
1238 return ixgbe_call_func(hw, hw->mac.ops.dmac_config_tcs, (hw), in ixgbe_dmac_config_tcs()
1254 return ixgbe_call_func(hw, hw->mac.ops.setup_eee, (hw, enable_eee), in ixgbe_setup_eee()
1267 if (hw->mac.ops.set_source_address_pruning) in ixgbe_set_source_address_pruning()
1268 hw->mac.ops.set_source_address_pruning(hw, enable, pool); in ixgbe_set_source_address_pruning()
1280 if (hw->mac.ops.set_ethertype_anti_spoofing) in ixgbe_set_ethertype_anti_spoofing()
1281 hw->mac.ops.set_ethertype_anti_spoofing(hw, enable, vf); in ixgbe_set_ethertype_anti_spoofing()
1296 return ixgbe_call_func(hw, hw->mac.ops.read_iosf_sb_reg, (hw, reg_addr, in ixgbe_read_iosf_sb_reg()
1312 return ixgbe_call_func(hw, hw->mac.ops.write_iosf_sb_reg, (hw, reg_addr, in ixgbe_write_iosf_sb_reg()
1323 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd()
1324 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd()
1334 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd()
1335 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd()
1346 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event()
1347 hw->mac.ops.mdd_event(hw, vf_bitmap); in ixgbe_mdd_event()
1359 if (hw->mac.ops.restore_mdd_vf) in ixgbe_restore_mdd_vf()
1360 hw->mac.ops.restore_mdd_vf(hw, vf); in ixgbe_restore_mdd_vf()
1370 if (hw->mac.ops.fw_recovery_mode) in ixgbe_fw_recovery_mode()
1371 return hw->mac.ops.fw_recovery_mode(hw); in ixgbe_fw_recovery_mode()
1415 return ixgbe_call_func(hw, hw->mac.ops.bypass_rw, (hw, cmd, status), in ixgbe_bypass_rw()
1433 return ixgbe_call_func(hw, hw->mac.ops.bypass_valid_rd, in ixgbe_bypass_valid_rd()
1451 return ixgbe_call_func(hw, hw->mac.ops.bypass_set, in ixgbe_bypass_set()
1464 return ixgbe_call_func(hw, hw->mac.ops.bypass_rd_eep, in ixgbe_bypass_rd_eep()
1478 return ixgbe_call_func(hw, hw->mac.ops.read_analog_reg8, (hw, reg, in ixgbe_read_analog_reg8()
1492 return ixgbe_call_func(hw, hw->mac.ops.write_analog_reg8, (hw, reg, in ixgbe_write_analog_reg8()
1505 return ixgbe_call_func(hw, hw->mac.ops.init_uta_tables, (hw), in ixgbe_init_uta_tables()
1676 return ixgbe_call_func(hw, hw->mac.ops.get_supported_physical_layer, in ixgbe_get_supported_physical_layer()
1689 return ixgbe_call_func(hw, hw->mac.ops.enable_rx_dma, in ixgbe_enable_rx_dma()
1701 return ixgbe_call_func(hw, hw->mac.ops.disable_sec_rx_path, in ixgbe_disable_sec_rx_path()
1713 return ixgbe_call_func(hw, hw->mac.ops.enable_sec_rx_path, in ixgbe_enable_sec_rx_path()
1727 return ixgbe_call_func(hw, hw->mac.ops.acquire_swfw_sync, in ixgbe_acquire_swfw_semaphore()
1741 if (hw->mac.ops.release_swfw_sync) in ixgbe_release_swfw_semaphore()
1742 hw->mac.ops.release_swfw_sync(hw, mask); in ixgbe_release_swfw_semaphore()
1756 if (hw->mac.ops.init_swfw_sync) in ixgbe_init_swfw_semaphore()
1757 hw->mac.ops.init_swfw_sync(hw); in ixgbe_init_swfw_semaphore()
1763 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx()
1764 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx()
1769 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx()
1770 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx()
1782 if (hw->mac.ops.set_rate_select_speed) in ixgbe_set_rate_select_speed()
1783 hw->mac.ops.set_rate_select_speed(hw, speed); in ixgbe_set_rate_select_speed()