Lines Matching defs:atl2_hw
78 struct atl2_hw;
81 static s32 atl2_reset_hw(struct atl2_hw *hw);
82 static s32 atl2_read_mac_addr(struct atl2_hw *hw);
83 static s32 atl2_init_hw(struct atl2_hw *hw);
84 static s32 atl2_get_speed_and_duplex(struct atl2_hw *hw, u16 *speed,
86 static u32 atl2_hash_mc_addr(struct atl2_hw *hw, u8 *mc_addr);
87 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value);
88 static s32 atl2_read_phy_reg(struct atl2_hw *hw, u16 reg_addr, u16 *phy_data);
89 static s32 atl2_write_phy_reg(struct atl2_hw *hw, u32 reg_addr, u16 phy_data);
90 static void atl2_read_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value);
91 static void atl2_write_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value);
92 static void atl2_set_mac_addr(struct atl2_hw *hw);
93 static bool atl2_read_eeprom(struct atl2_hw *hw, u32 Offset, u32 *pValue);
94 static bool atl2_write_eeprom(struct atl2_hw *hw, u32 offset, u32 value);
95 static s32 atl2_phy_init(struct atl2_hw *hw);
96 static int atl2_check_eeprom_exist(struct atl2_hw *hw);
97 static void atl2_force_ps(struct atl2_hw *hw);
379 /* Structure containing variables used by the shared code (atl2_hw.c) */
380 struct atl2_hw {
504 /* structs defined in atl2_hw.h */
508 struct atl2_hw hw;