/titanic_50/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_api.h | 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_vf(struct ixgbe_hw *hw); 51 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw); 52 s32 ixgbe_init_hw(struct ixgbe_hw *hw); 53 s32 ixgbe_reset_hw(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_common.h | 54 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw); 55 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw); 56 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw); 57 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw); 58 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); 59 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num); 60 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, 62 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, 65 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, 67 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 | 155 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 158 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 159 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 160 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 161 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 163 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 165 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 167 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 169 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 170 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, [all …]
|
H A D | ixgbe_x540.h | 40 s32 ixgbe_get_link_capabilities_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); 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); 54 s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, 56 s32 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_api.c | 81 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() 83 s32 status; in ixgbe_init_shared_code() 130 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 132 s32 ret_val = IXGBE_SUCCESS; in ixgbe_set_mac_type() 234 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 247 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 263 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 290 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs() 318 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr() 332 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_mbx.c | 47 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx() 50 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_read_mbx() 73 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx() 76 s32 ret_val = IXGBE_SUCCESS; in ixgbe_write_mbx() 97 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg() 100 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_check_for_msg() 117 s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack() 120 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_check_for_ack() 137 s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst() 140 s32 ret_val = IXGBE_ERR_MBX; in ixgbe_check_for_rst() [all …]
|
H A D | ixgbe_82599.h | 38 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, 46 s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 49 s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 51 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, 53 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw); 55 s32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw); 56 s32 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val); 57 s32 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val); 58 s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw); 59 s32 ixgbe_identify_phy_82599(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_dcb.h | 139 s32 ixgbe_dcb_check_config_cee(struct ixgbe_dcb_config *); 142 s32 ixgbe_dcb_calculate_tc_credits(u8 *, u16 *, u16 *, int); 143 s32 ixgbe_dcb_calculate_tc_credits_cee(struct ixgbe_hw *, 147 s32 ixgbe_dcb_config_pfc(struct ixgbe_hw *, u8, u8 *); 148 s32 ixgbe_dcb_config_pfc_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *); 151 s32 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *); 152 s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *, struct ixgbe_hw_stats *, u8); 153 s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *, struct ixgbe_hw_stats *, u8); 156 s32 ixgbe_dcb_config_tx_desc_arbiter_cee(struct ixgbe_hw *, 158 s32 ixgbe_dcb_config_tx_data_arbiter_cee(struct ixgbe_hw *, [all …]
|
H A D | ixgbe_82598.h | 39 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw); 40 s32 ixgbe_start_hw_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, 49 s32 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw); 52 s32 ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, u32 regval);
|
/titanic_50/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_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_hw.h | 686 s32 (*init_params)(struct e1000_hw *); 687 s32 (*id_led_init)(struct e1000_hw *); 688 s32 (*blink_led)(struct e1000_hw *); 690 s32 (*check_for_link)(struct e1000_hw *); 691 s32 (*cleanup_led)(struct e1000_hw *); 694 s32 (*get_bus_info)(struct e1000_hw *); 696 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 697 s32 (*led_on)(struct e1000_hw *); 698 s32 (*led_off)(struct e1000_hw *); 700 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_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 …]
|
H A D | e1000_vf.h | 201 s32 (*init_params)(struct e1000_hw *); 202 s32 (*check_for_link)(struct e1000_hw *); 204 s32 (*get_bus_info)(struct e1000_hw *); 205 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 207 s32 (*reset_hw)(struct e1000_hw *); 208 s32 (*init_hw)(struct e1000_hw *); 209 s32 (*setup_link)(struct e1000_hw *); 212 s32 (*read_mac_addr)(struct e1000_hw *); 229 s32 (*init_params)(struct e1000_hw *hw); 230 s32 (*read)(struct e1000_hw *, u32 *, u16, u16); [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_phy_82575(struct e1000_hw *hw); 52 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 54 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 55 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw); 56 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw); 57 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, 59 static s32 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw); 60 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, [all …]
|
H A D | e1000_mbx.h | 95 s32 e1000_read_mbx(struct e1000_hw *, u32 *, u16, u16); 96 s32 e1000_write_mbx(struct e1000_hw *, u32 *, u16, u16); 97 s32 e1000_read_posted_mbx(struct e1000_hw *, u32 *, u16, u16); 98 s32 e1000_write_posted_mbx(struct e1000_hw *, u32 *, u16, u16); 99 s32 e1000_check_for_msg(struct e1000_hw *, u16); 100 s32 e1000_check_for_ack(struct e1000_hw *, u16); 101 s32 e1000_check_for_rst(struct e1000_hw *, u16); 103 s32 e1000_init_mbx_params_vf(struct e1000_hw *); 104 s32 e1000_init_mbx_params_pf(struct e1000_hw *);
|
H A D | e1000_80003es2lan.c | 41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw); 43 static s32 e1000_acquire_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); 56 static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, 58 static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw); [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, 107 s32 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_set_page() 118 s32 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_read_reg() 139 s32 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_lplu_state() 150 s32 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_write_reg() 165 s32 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_read_i2c_byte_null() 182 s32 e1000_write_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_write_i2c_byte_null() 199 s32 e1000_check_reset_block_generic(struct e1000_hw *hw) in e1000_check_reset_block_generic() [all …]
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | jfs.h | 102 typedef int s32; typedef 177 s32 s_bsize; /* 4: aggregate block size in bytes; 182 s32 s_pbsize; /* 4: hardware/LVM block size in bytes */ 194 s32 s_compress; /* 4: > 0 if data compression */ 204 s32 s_logserial; /* 4: log serial number at aggregate mount */ 211 s32 s_fsckloglen; /* 4: Number of filesystem blocks reserved for 452 s32 di_fileset; /* 4: fileset number */ 477 s32 di_next_index; /* 4: Next available dir_table index */ 479 s32 di_acltype; /* 4: Type of ACL */ 573 s32 iagnum; /* 4: inode allocation group number */ [all …]
|