Lines Matching refs:mac

39 	if (hw->mac.ops.get_rtrup2tc)  in ixgbe_dcb_get_rtrup2tc()
40 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
66 switch (hw->mac.type) { in ixgbe_init_shared_code()
96 hw->mac.max_link_up_time = IXGBE_LINK_UP_TIME; in ixgbe_init_shared_code()
135 hw->mac.type = ixgbe_mac_82598EB; in ixgbe_set_mac_type()
152 hw->mac.type = ixgbe_mac_82599EB; in ixgbe_set_mac_type()
156 hw->mac.type = ixgbe_mac_82599_vf; in ixgbe_set_mac_type()
160 hw->mac.type = ixgbe_mac_X540_vf; in ixgbe_set_mac_type()
165 hw->mac.type = ixgbe_mac_X540; in ixgbe_set_mac_type()
170 hw->mac.type = ixgbe_mac_X550; in ixgbe_set_mac_type()
179 hw->mac.type = ixgbe_mac_X550EM_x; in ixgbe_set_mac_type()
193 hw->mac.type = ixgbe_mac_X550EM_a; in ixgbe_set_mac_type()
198 hw->mac.type = ixgbe_mac_X550_vf; in ixgbe_set_mac_type()
203 hw->mac.type = ixgbe_mac_X550EM_x_vf; in ixgbe_set_mac_type()
208 hw->mac.type = ixgbe_mac_X550EM_a_vf; in ixgbe_set_mac_type()
220 hw->mac.type, ret_val); in ixgbe_set_mac_type()
232 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), in ixgbe_init_hw()
245 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), in ixgbe_reset_hw()
261 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), in ixgbe_start_hw()
275 if (hw->mac.ops.enable_relaxed_ordering) in ixgbe_enable_relaxed_ordering()
276 hw->mac.ops.enable_relaxed_ordering(hw); in ixgbe_enable_relaxed_ordering()
288 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), in ixgbe_clear_hw_cntrs()
300 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), in ixgbe_get_media_type()
316 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr, in ixgbe_get_mac_addr()
330 return ixgbe_call_func(hw, hw->mac.ops.get_san_mac_addr, in ixgbe_get_san_mac_addr()
343 return ixgbe_call_func(hw, hw->mac.ops.set_san_mac_addr, in ixgbe_set_san_mac_addr()
356 return ixgbe_call_func(hw, hw->mac.ops.get_device_caps, in ixgbe_get_device_caps()
372 return ixgbe_call_func(hw, hw->mac.ops.get_wwn_prefix, in ixgbe_get_wwn_prefix()
386 return ixgbe_call_func(hw, hw->mac.ops.get_fcoe_boot_status, in ixgbe_get_fcoe_boot_status()
399 return ixgbe_call_func(hw, hw->mac.ops.get_bus_info, (hw), in ixgbe_get_bus_info()
411 return hw->mac.max_tx_queues; in ixgbe_get_num_of_tx_queues()
422 return hw->mac.max_rx_queues; in ixgbe_get_num_of_rx_queues()
436 return ixgbe_call_func(hw, hw->mac.ops.stop_adapter, (hw), in ixgbe_stop_adapter()
637 return ixgbe_call_func(hw, hw->mac.ops.check_link, (hw, speed, in ixgbe_check_link()
650 if (hw->mac.ops.disable_tx_laser) in ixgbe_disable_tx_laser()
651 hw->mac.ops.disable_tx_laser(hw); in ixgbe_disable_tx_laser()
662 if (hw->mac.ops.enable_tx_laser) in ixgbe_enable_tx_laser()
663 hw->mac.ops.enable_tx_laser(hw); in ixgbe_enable_tx_laser()
676 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser()
677 hw->mac.ops.flap_tx_laser(hw); in ixgbe_flap_tx_laser()
692 return ixgbe_call_func(hw, hw->mac.ops.setup_link, (hw, speed, in ixgbe_setup_link()
709 return ixgbe_call_func(hw, hw->mac.ops.setup_mac_link, (hw, speed, in ixgbe_setup_mac_link()
725 return ixgbe_call_func(hw, hw->mac.ops.get_link_capabilities, (hw, in ixgbe_get_link_capabilities()
738 return ixgbe_call_func(hw, hw->mac.ops.led_on, (hw, index), in ixgbe_led_on()
751 return ixgbe_call_func(hw, hw->mac.ops.led_off, (hw, index), in ixgbe_led_off()
764 return ixgbe_call_func(hw, hw->mac.ops.blink_led_start, (hw, index), in ixgbe_blink_led_start()
777 return ixgbe_call_func(hw, hw->mac.ops.blink_led_stop, (hw, index), in ixgbe_blink_led_stop()
895 return ixgbe_call_func(hw, hw->mac.ops.insert_mac_addr, in ixgbe_insert_mac_addr()
913 return ixgbe_call_func(hw, hw->mac.ops.set_rar, (hw, index, addr, vmdq, in ixgbe_set_rar()
926 return ixgbe_call_func(hw, hw->mac.ops.clear_rar, (hw, index), in ixgbe_clear_rar()
938 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq, (hw, rar, vmdq), in ixgbe_set_vmdq()
950 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq_san_mac, in ixgbe_set_vmdq_san_mac()
962 return ixgbe_call_func(hw, hw->mac.ops.clear_vmdq, (hw, rar, vmdq), in ixgbe_clear_vmdq()
976 return ixgbe_call_func(hw, hw->mac.ops.init_rx_addrs, (hw), in ixgbe_init_rx_addrs()
986 return hw->mac.num_rar_entries; in ixgbe_get_num_rx_addrs()
1003 return ixgbe_call_func(hw, hw->mac.ops.update_uc_addr_list, (hw, in ixgbe_update_uc_addr_list()
1025 return ixgbe_call_func(hw, hw->mac.ops.update_mc_addr_list, (hw, in ixgbe_update_mc_addr_list()
1038 return ixgbe_call_func(hw, hw->mac.ops.enable_mc, (hw), in ixgbe_enable_mc()
1050 return ixgbe_call_func(hw, hw->mac.ops.disable_mc, (hw), in ixgbe_disable_mc()
1062 return ixgbe_call_func(hw, hw->mac.ops.clear_vfta, (hw), in ixgbe_clear_vfta()
1079 return ixgbe_call_func(hw, hw->mac.ops.set_vfta, (hw, vlan, vind, in ixgbe_set_vfta()
1099 return ixgbe_call_func(hw, hw->mac.ops.set_vlvf, (hw, vlan, vind, in ixgbe_set_vlvf()
1112 return ixgbe_call_func(hw, hw->mac.ops.fc_enable, (hw), in ixgbe_fc_enable()
1124 return ixgbe_call_func(hw, hw->mac.ops.setup_fc, (hw), in ixgbe_setup_fc()
1141 return ixgbe_call_func(hw, hw->mac.ops.set_fw_drv_ver, (hw, maj, min, in ixgbe_set_fw_drv_ver()
1155 return ixgbe_call_func(hw, hw->mac.ops.get_thermal_sensor_data, (hw), in ixgbe_get_thermal_sensor_data()
1167 return ixgbe_call_func(hw, hw->mac.ops.init_thermal_sensor_thresh, (hw), in ixgbe_init_thermal_sensor_thresh()
1180 return ixgbe_call_func(hw, hw->mac.ops.dmac_config, (hw), in ixgbe_dmac_config()
1192 return ixgbe_call_func(hw, hw->mac.ops.dmac_update_tcs, (hw), in ixgbe_dmac_update_tcs()
1205 return ixgbe_call_func(hw, hw->mac.ops.dmac_config_tcs, (hw), in ixgbe_dmac_config_tcs()
1221 return ixgbe_call_func(hw, hw->mac.ops.setup_eee, (hw, enable_eee), in ixgbe_setup_eee()
1234 if (hw->mac.ops.set_source_address_pruning) in ixgbe_set_source_address_pruning()
1235 hw->mac.ops.set_source_address_pruning(hw, enable, pool); in ixgbe_set_source_address_pruning()
1247 if (hw->mac.ops.set_ethertype_anti_spoofing) in ixgbe_set_ethertype_anti_spoofing()
1248 hw->mac.ops.set_ethertype_anti_spoofing(hw, enable, vf); in ixgbe_set_ethertype_anti_spoofing()
1263 return ixgbe_call_func(hw, hw->mac.ops.read_iosf_sb_reg, (hw, reg_addr, in ixgbe_read_iosf_sb_reg()
1279 return ixgbe_call_func(hw, hw->mac.ops.write_iosf_sb_reg, (hw, reg_addr, in ixgbe_write_iosf_sb_reg()
1290 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd()
1291 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd()
1301 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd()
1302 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd()
1313 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event()
1314 hw->mac.ops.mdd_event(hw, vf_bitmap); in ixgbe_mdd_event()
1326 if (hw->mac.ops.restore_mdd_vf) in ixgbe_restore_mdd_vf()
1327 hw->mac.ops.restore_mdd_vf(hw, vf); in ixgbe_restore_mdd_vf()
1337 if (hw->mac.ops.fw_recovery_mode) in ixgbe_fw_recovery_mode()
1338 return hw->mac.ops.fw_recovery_mode(hw); in ixgbe_fw_recovery_mode()
1382 return ixgbe_call_func(hw, hw->mac.ops.read_analog_reg8, (hw, reg, in ixgbe_read_analog_reg8()
1396 return ixgbe_call_func(hw, hw->mac.ops.write_analog_reg8, (hw, reg, in ixgbe_write_analog_reg8()
1409 return ixgbe_call_func(hw, hw->mac.ops.init_uta_tables, (hw), in ixgbe_init_uta_tables()
1580 return ixgbe_call_func(hw, hw->mac.ops.get_supported_physical_layer, in ixgbe_get_supported_physical_layer()
1593 return ixgbe_call_func(hw, hw->mac.ops.enable_rx_dma, in ixgbe_enable_rx_dma()
1605 return ixgbe_call_func(hw, hw->mac.ops.disable_sec_rx_path, in ixgbe_disable_sec_rx_path()
1617 return ixgbe_call_func(hw, hw->mac.ops.enable_sec_rx_path, in ixgbe_enable_sec_rx_path()
1631 return ixgbe_call_func(hw, hw->mac.ops.acquire_swfw_sync, in ixgbe_acquire_swfw_semaphore()
1645 if (hw->mac.ops.release_swfw_sync) in ixgbe_release_swfw_semaphore()
1646 hw->mac.ops.release_swfw_sync(hw, mask); in ixgbe_release_swfw_semaphore()
1660 if (hw->mac.ops.init_swfw_sync) in ixgbe_init_swfw_semaphore()
1661 hw->mac.ops.init_swfw_sync(hw); in ixgbe_init_swfw_semaphore()
1667 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx()
1668 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx()
1673 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx()
1674 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx()
1686 if (hw->mac.ops.set_rate_select_speed) in ixgbe_set_rate_select_speed()
1687 hw->mac.ops.set_rate_select_speed(hw, speed); in ixgbe_set_rate_select_speed()