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()
120 hw->mac.max_link_up_time = IXGBE_LINK_UP_TIME; in ixgbe_init_shared_code()
159 hw->mac.type = ixgbe_mac_82598EB; in ixgbe_set_mac_type()
177 hw->mac.type = ixgbe_mac_82599EB; in ixgbe_set_mac_type()
182 hw->mac.type = ixgbe_mac_X540; in ixgbe_set_mac_type()
187 hw->mac.type = ixgbe_mac_X550; in ixgbe_set_mac_type()
196 hw->mac.type = ixgbe_mac_X550EM_x; in ixgbe_set_mac_type()
210 hw->mac.type = ixgbe_mac_X550EM_a; in ixgbe_set_mac_type()
222 hw->mac.type, ret_val); in ixgbe_set_mac_type()
234 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), in ixgbe_init_hw()
247 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), in ixgbe_reset_hw()
263 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), in ixgbe_start_hw()
277 if (hw->mac.ops.enable_relaxed_ordering) in ixgbe_enable_relaxed_ordering()
278 hw->mac.ops.enable_relaxed_ordering(hw); in ixgbe_enable_relaxed_ordering()
290 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), in ixgbe_clear_hw_cntrs()
302 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), in ixgbe_get_media_type()
318 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr, in ixgbe_get_mac_addr()
332 return ixgbe_call_func(hw, hw->mac.ops.get_san_mac_addr, in ixgbe_get_san_mac_addr()
345 return ixgbe_call_func(hw, hw->mac.ops.set_san_mac_addr, in ixgbe_set_san_mac_addr()
358 return ixgbe_call_func(hw, hw->mac.ops.get_device_caps, in ixgbe_get_device_caps()
374 return ixgbe_call_func(hw, hw->mac.ops.get_wwn_prefix, in ixgbe_get_wwn_prefix()
388 return ixgbe_call_func(hw, hw->mac.ops.get_fcoe_boot_status, in ixgbe_get_fcoe_boot_status()
401 return ixgbe_call_func(hw, hw->mac.ops.get_bus_info, (hw), in ixgbe_get_bus_info()
413 return hw->mac.max_tx_queues; in ixgbe_get_num_of_tx_queues()
424 return hw->mac.max_rx_queues; in ixgbe_get_num_of_rx_queues()
438 return ixgbe_call_func(hw, hw->mac.ops.stop_adapter, (hw), in ixgbe_stop_adapter()
639 return ixgbe_call_func(hw, hw->mac.ops.check_link, (hw, speed, in ixgbe_check_link()
652 if (hw->mac.ops.disable_tx_laser) in ixgbe_disable_tx_laser()
653 hw->mac.ops.disable_tx_laser(hw); in ixgbe_disable_tx_laser()
664 if (hw->mac.ops.enable_tx_laser) in ixgbe_enable_tx_laser()
665 hw->mac.ops.enable_tx_laser(hw); in ixgbe_enable_tx_laser()
678 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser()
679 hw->mac.ops.flap_tx_laser(hw); in ixgbe_flap_tx_laser()
694 return ixgbe_call_func(hw, hw->mac.ops.setup_link, (hw, speed, in ixgbe_setup_link()
711 return ixgbe_call_func(hw, hw->mac.ops.setup_mac_link, (hw, speed, in ixgbe_setup_mac_link()
727 return ixgbe_call_func(hw, hw->mac.ops.get_link_capabilities, (hw, in ixgbe_get_link_capabilities()
740 return ixgbe_call_func(hw, hw->mac.ops.led_on, (hw, index), in ixgbe_led_on()
753 return ixgbe_call_func(hw, hw->mac.ops.led_off, (hw, index), in ixgbe_led_off()
766 return ixgbe_call_func(hw, hw->mac.ops.blink_led_start, (hw, index), in ixgbe_blink_led_start()
779 return ixgbe_call_func(hw, hw->mac.ops.blink_led_stop, (hw, index), in ixgbe_blink_led_stop()
897 return ixgbe_call_func(hw, hw->mac.ops.insert_mac_addr, in ixgbe_insert_mac_addr()
915 return ixgbe_call_func(hw, hw->mac.ops.set_rar, (hw, index, addr, vmdq, in ixgbe_set_rar()
928 return ixgbe_call_func(hw, hw->mac.ops.clear_rar, (hw, index), in ixgbe_clear_rar()
940 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq, (hw, rar, vmdq), in ixgbe_set_vmdq()
952 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq_san_mac, in ixgbe_set_vmdq_san_mac()
964 return ixgbe_call_func(hw, hw->mac.ops.clear_vmdq, (hw, rar, vmdq), in ixgbe_clear_vmdq()
978 return ixgbe_call_func(hw, hw->mac.ops.init_rx_addrs, (hw), in ixgbe_init_rx_addrs()
988 return hw->mac.num_rar_entries; in ixgbe_get_num_rx_addrs()
1005 return ixgbe_call_func(hw, hw->mac.ops.update_uc_addr_list, (hw, in ixgbe_update_uc_addr_list()
1027 return ixgbe_call_func(hw, hw->mac.ops.update_mc_addr_list, (hw, in ixgbe_update_mc_addr_list()
1040 return ixgbe_call_func(hw, hw->mac.ops.enable_mc, (hw), in ixgbe_enable_mc()
1052 return ixgbe_call_func(hw, hw->mac.ops.disable_mc, (hw), in ixgbe_disable_mc()
1064 return ixgbe_call_func(hw, hw->mac.ops.clear_vfta, (hw), in ixgbe_clear_vfta()
1081 return ixgbe_call_func(hw, hw->mac.ops.set_vfta, (hw, vlan, vind, in ixgbe_set_vfta()
1101 return ixgbe_call_func(hw, hw->mac.ops.set_vlvf, (hw, vlan, vind, in ixgbe_set_vlvf()
1114 return ixgbe_call_func(hw, hw->mac.ops.fc_enable, (hw), in ixgbe_fc_enable()
1126 return ixgbe_call_func(hw, hw->mac.ops.setup_fc, (hw), in ixgbe_setup_fc()
1143 return ixgbe_call_func(hw, hw->mac.ops.set_fw_drv_ver, (hw, maj, min, in ixgbe_set_fw_drv_ver()
1159 return ixgbe_call_func(hw, hw->mac.ops.dmac_config, (hw), in ixgbe_dmac_config()
1171 return ixgbe_call_func(hw, hw->mac.ops.dmac_update_tcs, (hw), in ixgbe_dmac_update_tcs()
1184 return ixgbe_call_func(hw, hw->mac.ops.dmac_config_tcs, (hw), in ixgbe_dmac_config_tcs()
1200 return ixgbe_call_func(hw, hw->mac.ops.setup_eee, (hw, enable_eee), in ixgbe_setup_eee()
1213 if (hw->mac.ops.set_source_address_pruning) in ixgbe_set_source_address_pruning()
1214 hw->mac.ops.set_source_address_pruning(hw, enable, pool); in ixgbe_set_source_address_pruning()
1226 if (hw->mac.ops.set_ethertype_anti_spoofing) in ixgbe_set_ethertype_anti_spoofing()
1227 hw->mac.ops.set_ethertype_anti_spoofing(hw, enable, vf); in ixgbe_set_ethertype_anti_spoofing()
1242 return ixgbe_call_func(hw, hw->mac.ops.read_iosf_sb_reg, (hw, reg_addr, in ixgbe_read_iosf_sb_reg()
1258 return ixgbe_call_func(hw, hw->mac.ops.write_iosf_sb_reg, (hw, reg_addr, in ixgbe_write_iosf_sb_reg()
1269 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd()
1270 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd()
1280 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd()
1281 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd()
1292 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event()
1293 hw->mac.ops.mdd_event(hw, vf_bitmap); in ixgbe_mdd_event()
1305 if (hw->mac.ops.restore_mdd_vf) in ixgbe_restore_mdd_vf()
1306 hw->mac.ops.restore_mdd_vf(hw, vf); in ixgbe_restore_mdd_vf()
1349 return ixgbe_call_func(hw, hw->mac.ops.bypass_rw, (hw, cmd, status), in ixgbe_bypass_rw()
1367 return ixgbe_call_func(hw, hw->mac.ops.bypass_valid_rd, in ixgbe_bypass_valid_rd()
1385 return ixgbe_call_func(hw, hw->mac.ops.bypass_set, in ixgbe_bypass_set()
1398 return ixgbe_call_func(hw, hw->mac.ops.bypass_rd_eep, in ixgbe_bypass_rd_eep()
1412 return ixgbe_call_func(hw, hw->mac.ops.read_analog_reg8, (hw, reg, in ixgbe_read_analog_reg8()
1426 return ixgbe_call_func(hw, hw->mac.ops.write_analog_reg8, (hw, reg, in ixgbe_write_analog_reg8()
1439 return ixgbe_call_func(hw, hw->mac.ops.init_uta_tables, (hw), in ixgbe_init_uta_tables()
1610 return ixgbe_call_func(hw, hw->mac.ops.get_supported_physical_layer, in ixgbe_get_supported_physical_layer()
1623 return ixgbe_call_func(hw, hw->mac.ops.enable_rx_dma, in ixgbe_enable_rx_dma()
1635 return ixgbe_call_func(hw, hw->mac.ops.disable_sec_rx_path, in ixgbe_disable_sec_rx_path()
1647 return ixgbe_call_func(hw, hw->mac.ops.enable_sec_rx_path, in ixgbe_enable_sec_rx_path()
1661 return ixgbe_call_func(hw, hw->mac.ops.acquire_swfw_sync, in ixgbe_acquire_swfw_semaphore()
1675 if (hw->mac.ops.release_swfw_sync) in ixgbe_release_swfw_semaphore()
1676 hw->mac.ops.release_swfw_sync(hw, mask); in ixgbe_release_swfw_semaphore()
1690 if (hw->mac.ops.init_swfw_sync) in ixgbe_init_swfw_semaphore()
1691 hw->mac.ops.init_swfw_sync(hw); in ixgbe_init_swfw_semaphore()
1697 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx()
1698 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx()
1703 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx()
1704 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx()
1716 if (hw->mac.ops.set_rate_select_speed) in ixgbe_set_rate_select_speed()
1717 hw->mac.ops.set_rate_select_speed(hw, speed); in ixgbe_set_rate_select_speed()