Searched refs:sky2_hw (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/marvell/ |
D | sky2.c | 159 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) in gm_phy_write() 186 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) in __gm_phy_read() 213 static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) in gm_phy_read() 221 static void sky2_power_on(struct sky2_hw *hw) in sky2_power_on() 270 static void sky2_power_aux(struct sky2_hw *hw) in sky2_power_aux() 292 static void sky2_gmac_reset(struct sky2_hw *hw, unsigned port) in sky2_gmac_reset() 334 static void sky2_phy_init(struct sky2_hw *hw, unsigned port) in sky2_phy_init() 704 static void sky2_phy_power_up(struct sky2_hw *hw, unsigned port) in sky2_phy_power_up() 725 static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port) in sky2_phy_power_down() 797 struct sky2_hw *hw = sky2->hw; in sky2_enable_rx_tx() [all …]
|
D | sky2.h | 2220 struct sky2_hw *hw; 2277 struct sky2_hw { struct 2313 static inline int sky2_is_copper(const struct sky2_hw *hw) in sky2_is_copper() argument 2319 static inline u32 sky2_read32(const struct sky2_hw *hw, unsigned reg) in sky2_read32() 2324 static inline u16 sky2_read16(const struct sky2_hw *hw, unsigned reg) in sky2_read16() 2329 static inline u8 sky2_read8(const struct sky2_hw *hw, unsigned reg) in sky2_read8() 2334 static inline void sky2_write32(const struct sky2_hw *hw, unsigned reg, u32 val) in sky2_write32() 2339 static inline void sky2_write16(const struct sky2_hw *hw, unsigned reg, u16 val) in sky2_write16() 2344 static inline void sky2_write8(const struct sky2_hw *hw, unsigned reg, u8 val) in sky2_write8() 2354 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16() [all …]
|