Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/atheros/alx/
Dhw.h462 struct alx_hw { struct
499 static inline int alx_hw_revision(struct alx_hw *hw) in alx_hw_revision() argument
504 static inline bool alx_hw_with_cr(struct alx_hw *hw) in alx_hw_with_cr()
509 static inline bool alx_hw_giga(struct alx_hw *hw) in alx_hw_giga()
514 static inline void alx_write_mem8(struct alx_hw *hw, u32 reg, u8 val) in alx_write_mem8()
519 static inline void alx_write_mem16(struct alx_hw *hw, u32 reg, u16 val) in alx_write_mem16()
524 static inline u16 alx_read_mem16(struct alx_hw *hw, u32 reg) in alx_read_mem16()
529 static inline void alx_write_mem32(struct alx_hw *hw, u32 reg, u32 val) in alx_write_mem32()
534 static inline u32 alx_read_mem32(struct alx_hw *hw, u32 reg) in alx_read_mem32()
539 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()
131 struct alx_hw *hw = &alx->hw; in alx_get_settings()
174 struct alx_hw *hw = &alx->hw; in alx_set_settings()
199 struct alx_hw *hw = &alx->hw; in alx_get_pauseparam()
212 struct alx_hw *hw = &alx->hw; in alx_set_pauseparam()
268 struct alx_hw *hw = &alx->hw; in alx_get_ethtool_stats()
Dmain.c268 struct alx_hw *hw = &alx->hw; in alx_poll()
294 struct alx_hw *hw = &alx->hw; in alx_intr_handle()
350 struct alx_hw *hw = &alx->hw; in alx_intr_legacy()
363 struct alx_hw *hw = &alx->hw; in alx_init_ring_ptrs()
451 static void alx_add_mc_addr(struct alx_hw *hw, const u8 *addr, u32 *mc_hash) in alx_add_mc_addr()
465 struct alx_hw *hw = &alx->hw; in __alx_set_rx_mode()
494 struct alx_hw *hw = &alx->hw; in alx_set_mac_address()
604 struct alx_hw *hw = &alx->hw; in alx_config_vector_mapping()
613 struct alx_hw *hw = &alx->hw; in alx_irq_enable()
623 struct alx_hw *hw = &alx->hw; in alx_irq_disable()
[all …]
Dalx.h82 struct alx_hw hw;