Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/igc/igc_api.h
Show All 36 Lines | |||||
s32 igc_get_cable_length(struct igc_hw *hw); | s32 igc_get_cable_length(struct igc_hw *hw); | ||||
s32 igc_validate_mdi_setting(struct igc_hw *hw); | s32 igc_validate_mdi_setting(struct igc_hw *hw); | ||||
s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data); | s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data); | ||||
s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data); | s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data); | ||||
s32 igc_get_phy_info(struct igc_hw *hw); | s32 igc_get_phy_info(struct igc_hw *hw); | ||||
void igc_release_phy(struct igc_hw *hw); | void igc_release_phy(struct igc_hw *hw); | ||||
s32 igc_acquire_phy(struct igc_hw *hw); | s32 igc_acquire_phy(struct igc_hw *hw); | ||||
s32 igc_phy_hw_reset(struct igc_hw *hw); | s32 igc_phy_hw_reset(struct igc_hw *hw); | ||||
s32 igc_phy_commit(struct igc_hw *hw); | |||||
void igc_power_up_phy(struct igc_hw *hw); | void igc_power_up_phy(struct igc_hw *hw); | ||||
void igc_power_down_phy(struct igc_hw *hw); | void igc_power_down_phy(struct igc_hw *hw); | ||||
s32 igc_read_mac_addr(struct igc_hw *hw); | s32 igc_read_mac_addr(struct igc_hw *hw); | ||||
s32 igc_read_pba_string(struct igc_hw *hw, u8 *pba_num, u32 pba_num_size); | s32 igc_read_pba_string(struct igc_hw *hw, u8 *pba_num, u32 pba_num_size); | ||||
void igc_reload_nvm(struct igc_hw *hw); | void igc_reload_nvm(struct igc_hw *hw); | ||||
s32 igc_update_nvm_checksum(struct igc_hw *hw); | s32 igc_update_nvm_checksum(struct igc_hw *hw); | ||||
s32 igc_validate_nvm_checksum(struct igc_hw *hw); | s32 igc_validate_nvm_checksum(struct igc_hw *hw); | ||||
s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data); | s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data); | ||||
s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data); | s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data); | ||||
s32 igc_set_d3_lplu_state(struct igc_hw *hw, bool active); | s32 igc_set_d3_lplu_state(struct igc_hw *hw, bool active); | ||||
s32 igc_set_d0_lplu_state(struct igc_hw *hw, bool active); | s32 igc_set_d0_lplu_state(struct igc_hw *hw, bool active); | ||||
#endif /* _IGC_API_H_ */ | #endif /* _IGC_API_H_ */ |