Home
last modified time | relevance | path

Searched refs:sky2_hw (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/marvell/
Dsky2.c150 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) in gm_phy_write()
177 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) in __gm_phy_read()
204 static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) in gm_phy_read()
212 static void sky2_power_on(struct sky2_hw *hw) in sky2_power_on()
261 static void sky2_power_aux(struct sky2_hw *hw) in sky2_power_aux()
283 static void sky2_gmac_reset(struct sky2_hw *hw, unsigned port) in sky2_gmac_reset()
325 static void sky2_phy_init(struct sky2_hw *hw, unsigned port) in sky2_phy_init()
695 static void sky2_phy_power_up(struct sky2_hw *hw, unsigned port) in sky2_phy_power_up()
716 static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port) in sky2_phy_power_down()
788 struct sky2_hw *hw = sky2->hw; in sky2_enable_rx_tx()
[all …]
Dsky2.h2215 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 …]