Searched refs:sky2_hw (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 151 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) in gm_phy_write() 178 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) in __gm_phy_read() 205 static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) in gm_phy_read() 213 static void sky2_power_on(struct sky2_hw *hw) in sky2_power_on() 262 static void sky2_power_aux(struct sky2_hw *hw) in sky2_power_aux() 284 static void sky2_gmac_reset(struct sky2_hw *hw, unsigned port) in sky2_gmac_reset() 326 static void sky2_phy_init(struct sky2_hw *hw, unsigned port) in sky2_phy_init() 696 static void sky2_phy_power_up(struct sky2_hw *hw, unsigned port) in sky2_phy_power_up() 717 static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port) in sky2_phy_power_down() 789 struct sky2_hw *hw = sky2->hw; in sky2_enable_rx_tx() [all …]
|
H A D | sky2.h | 2215 struct sky2_hw *hw; 2273 struct sky2_hw { struct 2309 static inline int sky2_is_copper(const struct sky2_hw *hw) in sky2_is_copper() argument 2315 static inline u32 sky2_read32(const struct sky2_hw *hw, unsigned reg) in sky2_read32() 2320 static inline u16 sky2_read16(const struct sky2_hw *hw, unsigned reg) in sky2_read16() 2325 static inline u8 sky2_read8(const struct sky2_hw *hw, unsigned reg) in sky2_read8() 2330 static inline void sky2_write32(const struct sky2_hw *hw, unsigned reg, u32 val) in sky2_write32() 2335 static inline void sky2_write16(const struct sky2_hw *hw, unsigned reg, u16 val) in sky2_write16() 2340 static inline void sky2_write8(const struct sky2_hw *hw, unsigned reg, u8 val) in sky2_write8() 2350 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16() [all …]
|