/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_api.c | 67 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_get_rtrup2tc() argument 69 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc() 70 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc() 85 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() argument 94 ixgbe_set_mac_type(hw); in ixgbe_init_shared_code() 96 switch (hw->mac.type) { in ixgbe_init_shared_code() 98 status = ixgbe_init_ops_82598(hw); in ixgbe_init_shared_code() 101 status = ixgbe_init_ops_82599(hw); in ixgbe_init_shared_code() 104 status = ixgbe_init_ops_X540(hw); in ixgbe_init_shared_code() 107 status = ixgbe_init_ops_X550(hw); in ixgbe_init_shared_code() [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 void 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 void 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_common.c | 41 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 42 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 43 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 44 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 45 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 46 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 48 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 49 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 50 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 51 static void ixgbe_release_eeprom(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_x540.c | 48 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 49 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 50 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 59 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw) in ixgbe_init_ops_X540() argument 61 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X540() 62 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_init_ops_X540() 63 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_X540() 69 ret_val = ixgbe_init_phy_ops_generic(hw); in ixgbe_init_ops_X540() 70 ret_val = ixgbe_init_ops_generic(hw); in ixgbe_init_ops_X540() 139 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_init_ops_X540() [all …]
|
H A D | ixgbe_x550.c | 41 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed); 44 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw); 53 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw) in ixgbe_init_ops_X550() argument 55 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X550() 56 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_X550() 61 ret_val = ixgbe_init_ops_X540(hw); in ixgbe_init_ops_X550() 89 switch (hw->device_id) { in ixgbe_init_ops_X550() 91 hw->mac.ops.led_on = NULL; in ixgbe_init_ops_X550() 92 hw->mac.ops.led_off = NULL; in ixgbe_init_ops_X550() 96 hw->mac.ops.led_on = ixgbe_led_on_t_X550em; in ixgbe_init_ops_X550() [all …]
|
H A D | ixgbe_api.h | 40 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map); 42 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw); 44 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw); 45 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw); 46 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw); 47 extern s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw); 48 extern s32 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw); 49 extern s32 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw); 50 extern s32 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw); 51 extern s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_82599.c | 48 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 51 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 52 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, 54 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, 56 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 58 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 61 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_mac_link_ops_82599() argument 63 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() 71 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 72 !ixgbe_mng_enabled(hw)) { in ixgbe_init_mac_link_ops_82599() [all …]
|
H A D | ixgbe_82598.c | 48 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, 51 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw); 52 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, 54 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, 57 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, 60 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 63 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw); 64 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); 65 static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw); 66 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, [all …]
|
/freebsd/sys/dev/igc/ |
H A D | igc_api.c | 17 s32 igc_init_mac_params(struct igc_hw *hw) in igc_init_mac_params() argument 21 if (hw->mac.ops.init_params) { in igc_init_mac_params() 22 ret_val = hw->mac.ops.init_params(hw); in igc_init_mac_params() 43 s32 igc_init_nvm_params(struct igc_hw *hw) in igc_init_nvm_params() argument 47 if (hw->nvm.ops.init_params) { in igc_init_nvm_params() 48 ret_val = hw->nvm.ops.init_params(hw); in igc_init_nvm_params() 69 s32 igc_init_phy_params(struct igc_hw *hw) in igc_init_phy_params() argument 73 if (hw->phy.ops.init_params) { in igc_init_phy_params() 74 ret_val = hw->phy.ops.init_params(hw); in igc_init_phy_params() 97 s32 igc_set_mac_type(struct igc_hw *hw) in igc_set_mac_type() argument [all …]
|
H A D | igc_mac.c | 10 static void igc_config_collision_dist_generic(struct igc_hw *hw); 18 void igc_init_mac_ops_generic(struct igc_hw *hw) in igc_init_mac_ops_generic() argument 20 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic() 33 s32 igc_null_ops_generic(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_ops_generic() argument 43 void igc_null_mac_generic(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_mac_generic() argument 55 s32 igc_null_link_info(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_link_info() argument 66 bool igc_null_mng_mode(struct igc_hw IGC_UNUSEDARG *hw) in igc_null_mng_mode() argument 78 void igc_null_update_mc(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_update_mc() argument 91 void igc_null_write_vfta(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_write_vfta() argument 104 int igc_null_rar_set(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_rar_set() argument [all …]
|
H A D | igc_i225.c | 10 static s32 igc_init_nvm_params_i225(struct igc_hw *hw); 11 static s32 igc_init_mac_params_i225(struct igc_hw *hw); 12 static s32 igc_init_phy_params_i225(struct igc_hw *hw); 13 static s32 igc_reset_hw_i225(struct igc_hw *hw); 14 static s32 igc_acquire_nvm_i225(struct igc_hw *hw); 15 static void igc_release_nvm_i225(struct igc_hw *hw); 16 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw); 17 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, 19 static s32 igc_pool_flash_update_done_i225(struct igc_hw *hw); 25 static s32 igc_init_nvm_params_i225(struct igc_hw *hw) in igc_init_nvm_params_i225() argument [all …]
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_adminq.c | 46 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() argument 49 if (i40e_is_vf(hw)) { in i40e_adminq_init_regs() 50 hw->aq.asq.tail = I40E_VF_ATQT1; in i40e_adminq_init_regs() 51 hw->aq.asq.head = I40E_VF_ATQH1; in i40e_adminq_init_regs() 52 hw->aq.asq.len = I40E_VF_ATQLEN1; in i40e_adminq_init_regs() 53 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs() 54 hw->aq.asq.bah = I40E_VF_ATQBAH1; in i40e_adminq_init_regs() 55 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs() 56 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs() 57 hw->aq.arq.len = I40E_VF_ARQLEN1; in i40e_adminq_init_regs() [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_api.c | 44 s32 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() argument 48 if (hw->mac.ops.init_params) { in e1000_init_mac_params() 49 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params() 70 s32 e1000_init_nvm_params(struct e1000_hw *hw) in e1000_init_nvm_params() argument 74 if (hw->nvm.ops.init_params) { in e1000_init_nvm_params() 75 ret_val = hw->nvm.ops.init_params(hw); in e1000_init_nvm_params() 96 s32 e1000_init_phy_params(struct e1000_hw *hw) in e1000_init_phy_params() argument 100 if (hw->phy.ops.init_params) { in e1000_init_phy_params() 101 ret_val = hw->phy.ops.init_params(hw); in e1000_init_phy_params() 122 s32 e1000_init_mbx_params(struct e1000_hw *hw) in e1000_init_mbx_params() argument [all …]
|
H A D | e1000_82543.c | 46 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw); 49 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, 51 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, 53 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw); 54 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw); 55 static s32 e1000_reset_hw_82543(struct e1000_hw *hw); 56 static s32 e1000_init_hw_82543(struct e1000_hw *hw); 57 static s32 e1000_setup_link_82543(struct e1000_hw *hw); [all …]
|
H A D | e1000_ich8lan.c | 74 static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state); 75 static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw); 76 static void e1000_release_swflag_ich8lan(struct e1000_hw *hw); 77 static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw *hw); 78 static void e1000_release_nvm_ich8lan(struct e1000_hw *hw); 79 static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw); 80 static bool e1000_check_mng_mode_pchlan(struct e1000_hw *hw); 81 static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index); 82 static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index); 83 static s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw); [all …]
|
H A D | e1000_82575.c | 48 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw); 49 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw); 50 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 51 static void e1000_release_nvm_82575(struct e1000_hw *hw); 52 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 53 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw); 54 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw); 55 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, 57 static s32 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw); 58 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, [all …]
|
H A D | e1000_80003es2lan.c | 41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw); 42 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw); 43 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw); 44 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw); 45 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 48 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 51 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, 53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw); 54 static s32 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw); 55 static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw); [all …]
|
H A D | e1000_82571.c | 53 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw); 54 static void e1000_release_nvm_82571(struct e1000_hw *hw); 55 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, 57 static s32 e1000_update_nvm_checksum_82571(struct e1000_hw *hw); 58 static s32 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw); 59 static s32 e1000_get_cfg_done_82571(struct e1000_hw *hw); 60 static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, 62 static s32 e1000_reset_hw_82571(struct e1000_hw *hw); 63 static s32 e1000_init_hw_82571(struct e1000_hw *hw); 64 static void e1000_clear_vfta_82571(struct e1000_hw *hw); [all …]
|
H A D | e1000_mac.c | 37 static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw); 38 static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw); 39 static void e1000_config_collision_dist_generic(struct e1000_hw *hw); 47 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() argument 49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() 87 s32 e1000_null_ops_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_ops_generic() argument 97 void e1000_null_mac_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_mac_generic() argument 109 s32 e1000_null_link_info(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_link_info() argument 120 bool e1000_null_mng_mode(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_mng_mode() argument 132 void e1000_null_update_mc(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_update_mc() argument [all …]
|
H A D | e1000_phy.c | 37 static s32 e1000_wait_autoneg(struct e1000_hw *hw); 38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() argument 72 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_ops_generic() 108 s32 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_set_page() argument 121 s32 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_read_reg() argument 132 void e1000_null_phy_generic(struct e1000_hw E1000_UNUSEDARG *hw) in e1000_null_phy_generic() argument 143 s32 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_lplu_state() argument 156 s32 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_write_reg() argument [all …]
|
H A D | e1000_82540.c | 48 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw); 49 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw); 50 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw); 51 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw); 52 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw); 53 static s32 e1000_init_hw_82540(struct e1000_hw *hw); 54 static s32 e1000_reset_hw_82540(struct e1000_hw *hw); 55 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw); 56 static s32 e1000_set_vco_speed_82540(struct e1000_hw *hw); 57 static s32 e1000_setup_copper_link_82540(struct e1000_hw *hw); [all …]
|
H A D | e1000_82541.c | 46 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw); 49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw); 50 static s32 e1000_init_hw_82541(struct e1000_hw *hw); 51 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, 53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw); 54 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw); 55 static s32 e1000_check_for_link_82541(struct e1000_hw *hw); 56 static s32 e1000_get_cable_length_igp_82541(struct e1000_hw *hw); [all …]
|
H A D | e1000_82542.c | 41 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw); 45 static s32 e1000_reset_hw_82542(struct e1000_hw *hw); 46 static s32 e1000_init_hw_82542(struct e1000_hw *hw); 47 static s32 e1000_setup_link_82542(struct e1000_hw *hw); 48 static s32 e1000_led_on_82542(struct e1000_hw *hw); 49 static s32 e1000_led_off_82542(struct e1000_hw *hw); 50 static int e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index); [all …]
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_adminq.c | 44 STATIC void iavf_adminq_init_regs(struct iavf_hw *hw) in iavf_adminq_init_regs() argument 47 hw->aq.asq.tail = IAVF_VF_ATQT1; in iavf_adminq_init_regs() 48 hw->aq.asq.head = IAVF_VF_ATQH1; in iavf_adminq_init_regs() 49 hw->aq.asq.len = IAVF_VF_ATQLEN1; in iavf_adminq_init_regs() 50 hw->aq.asq.bal = IAVF_VF_ATQBAL1; in iavf_adminq_init_regs() 51 hw->aq.asq.bah = IAVF_VF_ATQBAH1; in iavf_adminq_init_regs() 52 hw->aq.arq.tail = IAVF_VF_ARQT1; in iavf_adminq_init_regs() 53 hw->aq.arq.head = IAVF_VF_ARQH1; in iavf_adminq_init_regs() 54 hw->aq.arq.len = IAVF_VF_ARQLEN1; in iavf_adminq_init_regs() 55 hw->aq.arq.bal = IAVF_VF_ARQBAL1; in iavf_adminq_init_regs() [all …]
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_hw.c | 73 static void ocs_hw_adjust_wqs(ocs_hw_t *hw); 74 static uint32_t ocs_hw_get_num_chutes(ocs_hw_t *hw); 88 static void ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io); 91 static ocs_hw_rtn_e ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint3… 96 static int32_t ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg); 97 static void ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg); 98 static int32_t ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t v… 99 typedef void (*ocs_hw_dmtf_clp_cb_t)(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg); 100 static ocs_hw_rtn_e ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp,… 101 static void ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg… [all …]
|