/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_api.h | 43 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw); 45 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw); 46 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw); 47 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw); 48 extern s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw); 49 extern s32 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw); 50 extern s32 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw); 51 extern s32 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw); 53 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw); 54 s32 ixgbe_init_hw(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_common.h | 55 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw); 56 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw); 57 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw); 58 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw); 59 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); 60 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num); 61 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, 63 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, 66 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, 68 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, [all …]
|
H A D | ixgbe_x550.h | 40 s32 ixgbe_dmac_config_X550(struct ixgbe_hw *hw); 41 s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw); 42 s32 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw); 44 s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw); 45 s32 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw); 46 s32 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw); 47 s32 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw); 48 s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size); 49 s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val); 50 s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_phy.h | 160 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 163 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 164 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 165 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 166 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 168 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 170 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 172 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 174 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 175 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, [all …]
|
H A D | ixgbe_api.c | 86 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() 88 s32 status; in ixgbe_init_shared_code() 132 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 134 s32 ret_val = IXGBE_SUCCESS; in ixgbe_set_mac_type() 232 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 245 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 261 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 288 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs() 316 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr() 330 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_x540.h | 41 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, 44 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, 46 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw); 47 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw); 50 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw); 51 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data); 52 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, 54 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data); 55 s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, 57 s32 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_82599.h | 39 s32 ixgbe_get_link_capabilities_82599(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); 56 s32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw); 57 s32 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val); 58 s32 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val); 59 s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw); 60 s32 ixgbe_identify_phy_82599(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_mbx.c | 46 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg() 78 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack() 113 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_posted_mbx() 117 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_read_posted_mbx() 143 static s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx() 147 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_write_posted_mbx() 204 static s32 ixgbe_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) in ixgbe_check_for_bit_vf() 207 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_check_for_bit_vf() 224 static s32 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg_vf() 226 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_check_for_msg_vf() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_phy.h | 39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data); 41 s32 e1000_null_lplu_state(struct e1000_hw *hw, bool active); 42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data); 43 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data); 44 s32 e1000_read_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 46 s32 e1000_write_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 48 s32 e1000_check_downshift_generic(struct e1000_hw *hw); 49 s32 e1000_check_polarity_m88(struct e1000_hw *hw); 50 s32 e1000_check_polarity_igp(struct e1000_hw *hw); 51 s32 e1000_check_polarity_ife(struct e1000_hw *hw); [all …]
|
H A D | e1000_api.h | 54 s32 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr); 55 s32 e1000_set_mac_type(struct e1000_hw *hw); 56 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device); 57 s32 e1000_init_mac_params(struct e1000_hw *hw); 58 s32 e1000_init_nvm_params(struct e1000_hw *hw); 59 s32 e1000_init_phy_params(struct e1000_hw *hw); 60 s32 e1000_init_mbx_params(struct e1000_hw *hw); 61 s32 e1000_get_bus_info(struct e1000_hw *hw); 64 s32 e1000_force_mac_fc(struct e1000_hw *hw); 65 s32 e1000_check_for_link(struct e1000_hw *hw); [all …]
|
H A D | e1000_mac.h | 41 s32 e1000_null_ops_generic(struct e1000_hw *hw); 42 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 47 s32 e1000_null_set_obff_timer(struct e1000_hw *hw, u32 a); 48 s32 e1000_blink_led_generic(struct e1000_hw *hw); 49 s32 e1000_check_for_copper_link_generic(struct e1000_hw *hw); 50 s32 e1000_check_for_fiber_link_generic(struct e1000_hw *hw); 51 s32 e1000_check_for_serdes_link_generic(struct e1000_hw *hw); 52 s32 e1000_cleanup_led_generic(struct e1000_hw *hw); 53 s32 e1000_commit_fc_settings_generic(struct e1000_hw *hw); 54 s32 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw); [all …]
|
H A D | e1000_nvm.h | 45 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 47 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data); 48 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 49 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw); 51 s32 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 52 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 53 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, 55 s32 e1000_read_pba_length_generic(struct e1000_hw *hw, u32 *pba_num_size); 56 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, 59 s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, [all …]
|
H A D | e1000_mbx.c | 41 static s32 e1000_null_mbx_check_for_flag(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_check_for_flag() 53 static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_transact() 72 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx() 75 s32 ret_val = -E1000_ERR_MBX; in e1000_read_mbx() 98 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() 101 s32 ret_val = E1000_SUCCESS; in e1000_write_mbx() 121 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg() 124 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg() 141 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack() 144 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack() [all …]
|
H A D | e1000_hw.h | 767 s32 (*init_params)(struct e1000_hw *); 768 s32 (*id_led_init)(struct e1000_hw *); 769 s32 (*blink_led)(struct e1000_hw *); 771 s32 (*check_for_link)(struct e1000_hw *); 772 s32 (*cleanup_led)(struct e1000_hw *); 775 s32 (*get_bus_info)(struct e1000_hw *); 777 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 778 s32 (*led_on)(struct e1000_hw *); 779 s32 (*led_off)(struct e1000_hw *); 781 s32 (*reset_hw)(struct e1000_hw *); [all …]
|
H A D | e1000_i210.c | 38 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw); 40 static s32 e1000_get_hw_semaphore_i210(struct e1000_hw *hw); 41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, 43 static s32 e1000_pool_flash_update_done_i210(struct e1000_hw *hw); 44 static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data); 55 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw) in e1000_acquire_nvm_i210() 57 s32 ret_val; in e1000_acquire_nvm_i210() 88 s32 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in e1000_acquire_swfw_sync_i210() 93 s32 ret_val = E1000_SUCCESS; in e1000_acquire_swfw_sync_i210() 94 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ in e1000_acquire_swfw_sync_i210() [all …]
|
H A D | e1000_api.c | 44 s32 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() 46 s32 ret_val = E1000_SUCCESS; in e1000_init_mac_params() 70 s32 e1000_init_nvm_params(struct e1000_hw *hw) in e1000_init_nvm_params() 72 s32 ret_val = E1000_SUCCESS; in e1000_init_nvm_params() 96 s32 e1000_init_phy_params(struct e1000_hw *hw) in e1000_init_phy_params() 98 s32 ret_val = E1000_SUCCESS; in e1000_init_phy_params() 122 s32 e1000_init_mbx_params(struct e1000_hw *hw) in e1000_init_mbx_params() 124 s32 ret_val = E1000_SUCCESS; in e1000_init_mbx_params() 150 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type() 153 s32 ret_val = E1000_SUCCESS; in e1000_set_mac_type() [all …]
|
H A D | e1000_vf.c | 39 static s32 e1000_init_phy_params_vf(struct e1000_hw *hw); 40 static s32 e1000_init_nvm_params_vf(struct e1000_hw *hw); 42 static s32 e1000_acquire_vf(struct e1000_hw *hw); 43 static s32 e1000_setup_link_vf(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw); 45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw); 46 static s32 e1000_check_for_link_vf(struct e1000_hw *hw); 47 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 49 static s32 e1000_init_hw_vf(struct e1000_hw *hw); 50 static s32 e1000_reset_hw_vf(struct e1000_hw *hw); [all …]
|
/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_api.h | 14 s32 igc_set_mac_type(struct igc_hw *hw); 15 s32 igc_setup_init_funcs(struct igc_hw *hw, bool init_device); 16 s32 igc_init_mac_params(struct igc_hw *hw); 17 s32 igc_init_nvm_params(struct igc_hw *hw); 18 s32 igc_init_phy_params(struct igc_hw *hw); 19 s32 igc_get_bus_info(struct igc_hw *hw); 22 s32 igc_force_mac_fc(struct igc_hw *hw); 23 s32 igc_check_for_link(struct igc_hw *hw); 24 s32 igc_reset_hw(struct igc_hw *hw); 25 s32 igc_init_hw(struct igc_hw *hw); [all …]
|
H A D | igc_phy.h | 11 s32 igc_null_read_reg(struct igc_hw *hw, u32 offset, u16 *data); 13 s32 igc_null_lplu_state(struct igc_hw *hw, bool active); 14 s32 igc_null_write_reg(struct igc_hw *hw, u32 offset, u16 data); 15 s32 igc_null_set_page(struct igc_hw *hw, u16 data); 16 s32 igc_check_downshift_generic(struct igc_hw *hw); 17 s32 igc_check_reset_block_generic(struct igc_hw *hw); 18 s32 igc_get_phy_id(struct igc_hw *hw); 20 s32 igc_phy_hw_reset_generic(struct igc_hw *hw); 21 s32 igc_phy_reset_dsp_generic(struct igc_hw *hw); 22 s32 igc_set_d3_lplu_state_generic(struct igc_hw *hw, bool active); [all …]
|
H A D | igc_api.c | 16 s32 igc_init_mac_params(struct igc_hw *hw) in igc_init_mac_params() 18 s32 ret_val = IGC_SUCCESS; in igc_init_mac_params() 42 s32 igc_init_nvm_params(struct igc_hw *hw) in igc_init_nvm_params() 44 s32 ret_val = IGC_SUCCESS; in igc_init_nvm_params() 68 s32 igc_init_phy_params(struct igc_hw *hw) in igc_init_phy_params() 70 s32 ret_val = IGC_SUCCESS; in igc_init_phy_params() 96 s32 igc_set_mac_type(struct igc_hw *hw) in igc_set_mac_type() 99 s32 ret_val = IGC_SUCCESS; in igc_set_mac_type() 141 s32 igc_setup_init_funcs(struct igc_hw *hw, bool init_device) in igc_setup_init_funcs() 143 s32 ret_val; in igc_setup_init_funcs() [all …]
|
H A D | igc_hw.h | 345 s32 (*init_params)(struct igc_hw *); 346 s32 (*check_for_link)(struct igc_hw *); 349 s32 (*get_bus_info)(struct igc_hw *); 351 s32 (*get_link_up_info)(struct igc_hw *, u16 *, u16 *); 353 s32 (*reset_hw)(struct igc_hw *); 354 s32 (*init_hw)(struct igc_hw *); 355 s32 (*setup_link)(struct igc_hw *); 356 s32 (*setup_physical_interface)(struct igc_hw *); 360 s32 (*read_mac_addr)(struct igc_hw *); 361 s32 (*validate_mdi_setting)(struct igc_hw *); [all …]
|
H A D | igc_mac.h | 12 s32 igc_null_ops_generic(struct igc_hw *hw); 13 s32 igc_null_link_info(struct igc_hw *hw, u16 *s, u16 *d); 18 s32 igc_check_for_copper_link_generic(struct igc_hw *hw); 19 s32 igc_config_fc_after_link_up_generic(struct igc_hw *hw); 20 s32 igc_disable_pcie_master_generic(struct igc_hw *hw); 21 s32 igc_force_mac_fc_generic(struct igc_hw *hw); 22 s32 igc_get_auto_rd_done_generic(struct igc_hw *hw); 23 s32 igc_get_bus_info_pcie_generic(struct igc_hw *hw); 25 s32 igc_get_hw_semaphore_generic(struct igc_hw *hw); 26 s32 igc_get_speed_and_duplex_copper_generic(struct igc_hw *hw, u16 *speed, [all …]
|
H A D | igc_nvm.h | 11 s32 igc_null_read_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c); 13 s32 igc_null_led_default(struct igc_hw *hw, u16 *data); 14 s32 igc_null_write_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c); 15 s32 igc_acquire_nvm_generic(struct igc_hw *hw); 17 s32 igc_poll_eerd_eewr_done(struct igc_hw *hw, int ee_reg); 18 s32 igc_read_mac_addr_generic(struct igc_hw *hw); 19 s32 igc_read_pba_string_generic(struct igc_hw *hw, u8 *pba_num, 21 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, 23 s32 igc_valid_led_default_generic(struct igc_hw *hw, u16 *data); 24 s32 igc_validate_nvm_checksum_generic(struct igc_hw *hw); [all …]
|
H A D | igc_i225.h | 11 s32 igc_update_flash_i225(struct igc_hw *hw); 12 s32 igc_update_nvm_checksum_i225(struct igc_hw *hw); 13 s32 igc_validate_nvm_checksum_i225(struct igc_hw *hw); 14 s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, 16 s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, 18 s32 igc_set_flsw_flash_burst_counter_i225(struct igc_hw *hw, 20 s32 igc_write_erase_flash_command_i225(struct igc_hw *hw, u32 opcode, 22 s32 igc_check_for_link_i225(struct igc_hw *hw); 23 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask); 25 s32 igc_init_hw_i225(struct igc_hw *hw); [all …]
|
H A D | igc_i225.c | 9 static s32 igc_init_nvm_params_i225(struct igc_hw *hw); 10 static s32 igc_init_mac_params_i225(struct igc_hw *hw); 11 static s32 igc_init_phy_params_i225(struct igc_hw *hw); 12 static s32 igc_reset_hw_i225(struct igc_hw *hw); 13 static s32 igc_acquire_nvm_i225(struct igc_hw *hw); 15 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw); 16 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, 18 static s32 igc_pool_flash_update_done_i225(struct igc_hw *hw); 24 static s32 igc_init_nvm_params_i225(struct igc_hw *hw) in igc_init_nvm_params_i225() 81 static s32 igc_init_mac_params_i225(struct igc_hw *hw) in igc_init_mac_params_i225() [all …]
|