/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_api.h | 40 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw); 42 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw); 43 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw); 44 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw); 45 extern s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw); 47 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw); 48 s32 ixgbe_init_hw(struct ixgbe_hw *hw); 49 s32 ixgbe_reset_hw(struct ixgbe_hw *hw); 50 s32 ixgbe_start_hw(struct ixgbe_hw *hw); 51 void ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_common.h | 50 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw); 52 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw); 53 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw); 54 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw); 55 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw); 56 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); 57 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num); 58 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, 60 s32 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr); 61 s32 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_82599.h | 38 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, 40 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw); 41 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 42 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 43 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 44 s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, 47 s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 50 s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 52 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, 54 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_phy.h | 98 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 99 bool ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr); 101 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 102 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 103 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 104 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 106 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 108 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 109 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, 113 s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, [all …]
|
H A D | ixgbe_x540.h | 40 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, 42 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw); 43 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, 45 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw); 46 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw); 47 u32 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw); 49 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw); 50 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data); 51 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, 53 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data); [all …]
|
H A D | ixgbe_api.c | 50 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() 88 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 154 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 167 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 183 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 197 void ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw) in ixgbe_enable_relaxed_ordering() 210 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs() 222 enum ixgbe_media_type ixgbe_get_media_type(struct ixgbe_hw *hw) in ixgbe_get_media_type() 238 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr() 252 s32 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) in ixgbe_get_san_mac_addr() [all …]
|
H A D | ixgbe_82598.h | 38 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw); 39 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw); 40 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw); 41 void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw); 42 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); 43 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on); 44 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val); 45 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val); 46 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 48 u32 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_mbx.h | 101 s32 ixgbe_read_mbx(struct ixgbe_hw *, u32 *, u16, u16); 102 s32 ixgbe_write_mbx(struct ixgbe_hw *, u32 *, u16, u16); 103 s32 ixgbe_read_posted_mbx(struct ixgbe_hw *, u32 *, u16, u16); 104 s32 ixgbe_write_posted_mbx(struct ixgbe_hw *, u32 *, u16, u16); 105 s32 ixgbe_check_for_msg(struct ixgbe_hw *, u16); 106 s32 ixgbe_check_for_ack(struct ixgbe_hw *, u16); 107 s32 ixgbe_check_for_rst(struct ixgbe_hw *, u16); 108 void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw); 109 void ixgbe_init_mbx_params_vf(struct ixgbe_hw *); 110 void ixgbe_init_mbx_params_pf(struct ixgbe_hw *);
|
H A D | ixgbe_type.h | 2932 struct ixgbe_hw; 2935 typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr, 2940 s32 (*init_params)(struct ixgbe_hw *); 2941 s32 (*read)(struct ixgbe_hw *, u16, u16 *); 2942 s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *); 2943 s32 (*write)(struct ixgbe_hw *, u16, u16); 2944 s32 (*write_buffer)(struct ixgbe_hw *, u16, u16, u16 *); 2945 s32 (*validate_checksum)(struct ixgbe_hw *, u16 *); 2946 s32 (*update_checksum)(struct ixgbe_hw *); 2947 u16 (*calc_checksum)(struct ixgbe_hw *); [all …]
|
H A D | ixgbe_mbx.c | 47 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx() 73 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx() 96 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg() 116 s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack() 136 s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst() 156 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg() 184 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack() 215 s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_posted_mbx() 244 s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx() 272 void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) in ixgbe_init_mbx_ops_generic() [all …]
|
H A D | ixgbe_common.c | 39 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 40 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 41 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 42 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 43 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 44 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 46 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 47 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 48 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 49 static void ixgbe_release_eeprom(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_x540.c | 41 static s32 ixgbe_update_flash_X540(struct ixgbe_hw *hw); 42 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 43 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 44 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 53 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw) in ixgbe_init_ops_X540() 155 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_X540() 168 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) in ixgbe_get_media_type_X540() 181 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, in ixgbe_setup_mac_link_X540() 197 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) in ixgbe_reset_hw_X540() 287 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw) in ixgbe_start_hw_X540() [all …]
|
H A D | ixgbe_82598.c | 41 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, 44 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw); 45 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, 47 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, 50 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, 54 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 58 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw); 59 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); 60 static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw); 61 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, [all …]
|
H A D | ixgbe_phy.c | 39 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 40 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 41 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 42 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 43 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 44 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 45 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 46 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 47 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 48 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data); [all …]
|
H A D | ixgbe_82599.c | 41 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 45 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 46 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, 48 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, 51 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_mac_link_ops_82599() 95 s32 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_phy_ops_82599() 135 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) in ixgbe_setup_sfp_modules_82599() 210 s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_ops_82599() 296 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_82599() 398 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw) in ixgbe_get_media_type_82599() [all …]
|
H A D | ixgbe_osdep.c | 33 ixgbe_read_pci_cfg(struct ixgbe_hw *hw, uint32_t reg) in ixgbe_read_pci_cfg() 39 ixgbe_write_pci_cfg(struct ixgbe_hw *hw, uint32_t reg, uint32_t val) in ixgbe_write_pci_cfg()
|
H A D | ixgbe_osdep.h | 64 struct ixgbe_hw; 65 uint16_t ixgbe_read_pci_cfg(struct ixgbe_hw *, uint32_t); 66 void ixgbe_write_pci_cfg(struct ixgbe_hw *, uint32_t, uint32_t);
|
H A D | ixgbe_main.c | 111 static void ixgbe_get_driver_control(struct ixgbe_hw *); 114 static void ixgbe_release_driver_control(struct ixgbe_hw *); 122 static uint8_t *ixgbe_mc_table_itr(struct ixgbe_hw *, uint8_t **, uint32_t *); 393 struct ixgbe_hw *hw; in ixgbe_attach() 703 struct ixgbe_hw *hw; in ixgbe_quiesce() 870 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_register_mac() 901 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_identify_hardware() 978 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_regs_map() 1028 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_init_driver_settings() 1248 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_init() [all …]
|
H A D | ixgbe_gld.c | 102 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_m_promisc() 293 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_m_setprop() 446 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_m_getprop() 613 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_set_priv_prop()
|
H A D | ixgbe_debug.c | 41 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_dump_interrupt() 431 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_dump_regs()
|
H A D | ixgbe_stat.c | 40 struct ixgbe_hw *hw; in ixgbe_update_stats() 477 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_m_stat()
|
H A D | ixgbe_sw.h | 626 struct ixgbe_hw hw;
|
H A D | ixgbe_tx.c | 973 struct ixgbe_hw *hw = &tx_ring->ixgbe->hw; in ixgbe_tx_fill_ring()
|