Lines Matching refs:hw
63 (hw->mac.type > e1000_82575 ? 8 : 4))
103 #define IGB_TX_WTHRESH ((hw->mac.type == e1000_82576 && \
292 struct e1000_hw hw;
365 static inline s32 igb_reset_phy(struct e1000_hw *hw)
367 if (hw->phy.ops.reset)
368 return hw->phy.ops.reset(hw);
373 static inline s32 igb_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data)
375 if (hw->phy.ops.read_reg)
376 return hw->phy.ops.read_reg(hw, offset, data);
381 static inline s32 igb_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data)
383 if (hw->phy.ops.write_reg)
384 return hw->phy.ops.write_reg(hw, offset, data);
389 static inline s32 igb_get_phy_info(struct e1000_hw *hw)
391 if (hw->phy.ops.get_phy_info)
392 return hw->phy.ops.get_phy_info(hw);