Home
last modified time | relevance | path

Searched refs:alx_hw (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dhw.h464 struct alx_hw { struct
501 static inline int alx_hw_revision(struct alx_hw *hw) in alx_hw_revision() argument
506 static inline bool alx_hw_with_cr(struct alx_hw *hw) in alx_hw_with_cr()
511 static inline bool alx_hw_giga(struct alx_hw *hw) in alx_hw_giga()
516 static inline void alx_write_mem8(struct alx_hw *hw, u32 reg, u8 val) in alx_write_mem8()
521 static inline void alx_write_mem16(struct alx_hw *hw, u32 reg, u16 val) in alx_write_mem16()
526 static inline u16 alx_read_mem16(struct alx_hw *hw, u32 reg) in alx_read_mem16()
531 static inline void alx_write_mem32(struct alx_hw *hw, u32 reg, u32 val) in alx_write_mem32()
536 static inline u32 alx_read_mem32(struct alx_hw *hw, u32 reg) in alx_read_mem32()
541 static inline void alx_post_write(struct alx_hw *hw) in alx_post_write()
[all …]
Dhw.c46 static int alx_wait_mdio_idle(struct alx_hw *hw) in alx_wait_mdio_idle()
61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_read_phy_core()
98 static int alx_write_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_write_phy_core()
129 static int __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in __alx_read_phy_reg()
134 static int __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) in __alx_write_phy_reg()
139 static int __alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) in __alx_read_phy_ext()
144 static int __alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) in __alx_write_phy_ext()
149 static int __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) in __alx_read_phy_dbg()
160 static int __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) in __alx_write_phy_dbg()
171 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in alx_read_phy_reg()
[all …]
Dethtool.c109 static u32 alx_get_supported_speeds(struct alx_hw *hw) in alx_get_supported_speeds()
132 struct alx_hw *hw = &alx->hw; in alx_get_link_ksettings()
181 struct alx_hw *hw = &alx->hw; in alx_set_link_ksettings()
210 struct alx_hw *hw = &alx->hw; in alx_get_pauseparam()
223 struct alx_hw *hw = &alx->hw; in alx_set_pauseparam()
279 struct alx_hw *hw = &alx->hw; in alx_get_ethtool_stats()
Dmain.c301 struct alx_hw *hw = &alx->hw; in alx_poll()
333 struct alx_hw *hw = &alx->hw; in alx_intr_handle_misc()
360 struct alx_hw *hw = &alx->hw; in alx_intr_handle()
388 struct alx_hw *hw = &np->alx->hw; in alx_intr_msix_ring()
403 struct alx_hw *hw = &alx->hw; in alx_intr_msix_misc()
435 struct alx_hw *hw = &alx->hw; in alx_intr_legacy()
453 struct alx_hw *hw = &alx->hw; in alx_init_ring_ptrs()
558 static void alx_add_mc_addr(struct alx_hw *hw, const u8 *addr, u32 *mc_hash) in alx_add_mc_addr()
572 struct alx_hw *hw = &alx->hw; in __alx_set_rx_mode()
601 struct alx_hw *hw = &alx->hw; in alx_set_mac_address()
[all …]
Dalx.h108 struct alx_hw hw;