Searched refs:skge_hw (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/marvell/ |
| D | skge.c | 96 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val); 97 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val); 100 static void yukon_init(struct skge_hw *hw, int port); 101 static void genesis_mac_init(struct skge_hw *hw, int port); 114 static inline bool is_genesis(const struct skge_hw *hw) in is_genesis() 150 static u32 wol_supported(const struct skge_hw *hw) in wol_supported() 163 struct skge_hw *hw = skge->hw; in skge_wol_init() 246 struct skge_hw *hw = skge->hw; in skge_set_wol() 262 static u32 skge_supported_modes(const struct skge_hw *hw) in skge_supported_modes() 297 struct skge_hw *hw = skge->hw; in skge_get_link_ksettings() [all …]
|
| D | skge.h | 2410 struct skge_hw { struct 2451 struct skge_hw *hw; argument 2482 static inline u32 skge_read32(const struct skge_hw *hw, int reg) in skge_read32() 2487 static inline u16 skge_read16(const struct skge_hw *hw, int reg) in skge_read16() 2492 static inline u8 skge_read8(const struct skge_hw *hw, int reg) in skge_read8() 2497 static inline void skge_write32(const struct skge_hw *hw, int reg, u32 val) in skge_write32() 2502 static inline void skge_write16(const struct skge_hw *hw, int reg, u16 val) in skge_write16() 2507 static inline void skge_write8(const struct skge_hw *hw, int reg, u8 val) in skge_write8() 2517 static inline u32 xm_read32(const struct skge_hw *hw, int port, int reg) in xm_read32() 2525 static inline u16 xm_read16(const struct skge_hw *hw, int port, int reg) in xm_read16() [all …]
|