alx_hw 108 drivers/net/ethernet/atheros/alx/alx.h struct alx_hw hw; alx_hw 109 drivers/net/ethernet/atheros/alx/ethtool.c static u32 alx_get_supported_speeds(struct alx_hw *hw) alx_hw 132 drivers/net/ethernet/atheros/alx/ethtool.c struct alx_hw *hw = &alx->hw; alx_hw 181 drivers/net/ethernet/atheros/alx/ethtool.c struct alx_hw *hw = &alx->hw; alx_hw 210 drivers/net/ethernet/atheros/alx/ethtool.c struct alx_hw *hw = &alx->hw; alx_hw 223 drivers/net/ethernet/atheros/alx/ethtool.c struct alx_hw *hw = &alx->hw; alx_hw 279 drivers/net/ethernet/atheros/alx/ethtool.c struct alx_hw *hw = &alx->hw; alx_hw 46 drivers/net/ethernet/atheros/alx/hw.c static int alx_wait_mdio_idle(struct alx_hw *hw) alx_hw 61 drivers/net/ethernet/atheros/alx/hw.c static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, alx_hw 98 drivers/net/ethernet/atheros/alx/hw.c static int alx_write_phy_core(struct alx_hw *hw, bool ext, u8 dev, alx_hw 129 drivers/net/ethernet/atheros/alx/hw.c static int __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) alx_hw 134 drivers/net/ethernet/atheros/alx/hw.c static int __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) alx_hw 139 drivers/net/ethernet/atheros/alx/hw.c static int __alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) alx_hw 144 drivers/net/ethernet/atheros/alx/hw.c static int __alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) alx_hw 149 drivers/net/ethernet/atheros/alx/hw.c static int __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) alx_hw 160 drivers/net/ethernet/atheros/alx/hw.c static int __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) alx_hw 171 drivers/net/ethernet/atheros/alx/hw.c int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) alx_hw 182 drivers/net/ethernet/atheros/alx/hw.c int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) alx_hw 193 drivers/net/ethernet/atheros/alx/hw.c int alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) alx_hw 204 drivers/net/ethernet/atheros/alx/hw.c int alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) alx_hw 215 drivers/net/ethernet/atheros/alx/hw.c static int alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) alx_hw 226 drivers/net/ethernet/atheros/alx/hw.c static int alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) alx_hw 237 drivers/net/ethernet/atheros/alx/hw.c static u16 alx_get_phy_config(struct alx_hw *hw) alx_hw 259 drivers/net/ethernet/atheros/alx/hw.c static bool alx_wait_reg(struct alx_hw *hw, u32 reg, u32 wait, u32 *val) alx_hw 277 drivers/net/ethernet/atheros/alx/hw.c static bool alx_read_macaddr(struct alx_hw *hw, u8 *addr) alx_hw 291 drivers/net/ethernet/atheros/alx/hw.c int alx_get_perm_macaddr(struct alx_hw *hw, u8 *addr) alx_hw 324 drivers/net/ethernet/atheros/alx/hw.c void alx_set_macaddr(struct alx_hw *hw, const u8 *addr) alx_hw 335 drivers/net/ethernet/atheros/alx/hw.c static void alx_reset_osc(struct alx_hw *hw, u8 rev) alx_hw 376 drivers/net/ethernet/atheros/alx/hw.c static int alx_stop_mac(struct alx_hw *hw) alx_hw 401 drivers/net/ethernet/atheros/alx/hw.c int alx_reset_mac(struct alx_hw *hw) alx_hw 490 drivers/net/ethernet/atheros/alx/hw.c void alx_reset_phy(struct alx_hw *hw) alx_hw 560 drivers/net/ethernet/atheros/alx/hw.c void alx_reset_pcie(struct alx_hw *hw) alx_hw 607 drivers/net/ethernet/atheros/alx/hw.c void alx_start_mac(struct alx_hw *hw) alx_hw 629 drivers/net/ethernet/atheros/alx/hw.c void alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc) alx_hw 644 drivers/net/ethernet/atheros/alx/hw.c void alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en) alx_hw 680 drivers/net/ethernet/atheros/alx/hw.c static u32 ethadv_to_hw_cfg(struct alx_hw *hw, u32 ethadv_cfg) alx_hw 722 drivers/net/ethernet/atheros/alx/hw.c int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) alx_hw 778 drivers/net/ethernet/atheros/alx/hw.c void alx_post_phy_link(struct alx_hw *hw) alx_hw 851 drivers/net/ethernet/atheros/alx/hw.c bool alx_phy_configured(struct alx_hw *hw) alx_hw 865 drivers/net/ethernet/atheros/alx/hw.c int alx_read_phy_link(struct alx_hw *hw) alx_hw 915 drivers/net/ethernet/atheros/alx/hw.c int alx_clear_phy_intr(struct alx_hw *hw) alx_hw 923 drivers/net/ethernet/atheros/alx/hw.c void alx_disable_rss(struct alx_hw *hw) alx_hw 931 drivers/net/ethernet/atheros/alx/hw.c void alx_configure_basic(struct alx_hw *hw) alx_hw 1034 drivers/net/ethernet/atheros/alx/hw.c void alx_mask_msix(struct alx_hw *hw, int index, bool mask) alx_hw 1048 drivers/net/ethernet/atheros/alx/hw.c bool alx_get_phy_info(struct alx_hw *hw) alx_hw 1068 drivers/net/ethernet/atheros/alx/hw.c void alx_update_hw_stats(struct alx_hw *hw) alx_hw 501 drivers/net/ethernet/atheros/alx/hw.h static inline int alx_hw_revision(struct alx_hw *hw) alx_hw 506 drivers/net/ethernet/atheros/alx/hw.h static inline bool alx_hw_with_cr(struct alx_hw *hw) alx_hw 511 drivers/net/ethernet/atheros/alx/hw.h static inline bool alx_hw_giga(struct alx_hw *hw) alx_hw 516 drivers/net/ethernet/atheros/alx/hw.h static inline void alx_write_mem8(struct alx_hw *hw, u32 reg, u8 val) alx_hw 521 drivers/net/ethernet/atheros/alx/hw.h static inline void alx_write_mem16(struct alx_hw *hw, u32 reg, u16 val) alx_hw 526 drivers/net/ethernet/atheros/alx/hw.h static inline u16 alx_read_mem16(struct alx_hw *hw, u32 reg) alx_hw 531 drivers/net/ethernet/atheros/alx/hw.h static inline void alx_write_mem32(struct alx_hw *hw, u32 reg, u32 val) alx_hw 536 drivers/net/ethernet/atheros/alx/hw.h static inline u32 alx_read_mem32(struct alx_hw *hw, u32 reg) alx_hw 541 drivers/net/ethernet/atheros/alx/hw.h static inline void alx_post_write(struct alx_hw *hw) alx_hw 546 drivers/net/ethernet/atheros/alx/hw.h int alx_get_perm_macaddr(struct alx_hw *hw, u8 *addr); alx_hw 547 drivers/net/ethernet/atheros/alx/hw.h void alx_reset_phy(struct alx_hw *hw); alx_hw 548 drivers/net/ethernet/atheros/alx/hw.h void alx_reset_pcie(struct alx_hw *hw); alx_hw 549 drivers/net/ethernet/atheros/alx/hw.h void alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en); alx_hw 550 drivers/net/ethernet/atheros/alx/hw.h int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl); alx_hw 551 drivers/net/ethernet/atheros/alx/hw.h void alx_post_phy_link(struct alx_hw *hw); alx_hw 552 drivers/net/ethernet/atheros/alx/hw.h int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data); alx_hw 553 drivers/net/ethernet/atheros/alx/hw.h int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data); alx_hw 554 drivers/net/ethernet/atheros/alx/hw.h int alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata); alx_hw 555 drivers/net/ethernet/atheros/alx/hw.h int alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data); alx_hw 556 drivers/net/ethernet/atheros/alx/hw.h int alx_read_phy_link(struct alx_hw *hw); alx_hw 557 drivers/net/ethernet/atheros/alx/hw.h int alx_clear_phy_intr(struct alx_hw *hw); alx_hw 558 drivers/net/ethernet/atheros/alx/hw.h void alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc); alx_hw 559 drivers/net/ethernet/atheros/alx/hw.h void alx_start_mac(struct alx_hw *hw); alx_hw 560 drivers/net/ethernet/atheros/alx/hw.h int alx_reset_mac(struct alx_hw *hw); alx_hw 561 drivers/net/ethernet/atheros/alx/hw.h void alx_set_macaddr(struct alx_hw *hw, const u8 *addr); alx_hw 562 drivers/net/ethernet/atheros/alx/hw.h bool alx_phy_configured(struct alx_hw *hw); alx_hw 563 drivers/net/ethernet/atheros/alx/hw.h void alx_configure_basic(struct alx_hw *hw); alx_hw 564 drivers/net/ethernet/atheros/alx/hw.h void alx_mask_msix(struct alx_hw *hw, int index, bool mask); alx_hw 565 drivers/net/ethernet/atheros/alx/hw.h void alx_disable_rss(struct alx_hw *hw); alx_hw 566 drivers/net/ethernet/atheros/alx/hw.h bool alx_get_phy_info(struct alx_hw *hw); alx_hw 567 drivers/net/ethernet/atheros/alx/hw.h void alx_update_hw_stats(struct alx_hw *hw); alx_hw 301 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 333 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 360 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 388 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &np->alx->hw; alx_hw 403 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 435 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 453 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 558 drivers/net/ethernet/atheros/alx/main.c static void alx_add_mc_addr(struct alx_hw *hw, const u8 *addr, u32 *mc_hash) alx_hw 572 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 601 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 809 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 918 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 935 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 978 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1035 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1049 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1123 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1139 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1258 drivers/net/ethernet/atheros/alx/main.c static const char *alx_speed_desc(struct alx_hw *hw) alx_hw 1278 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1567 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1588 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1694 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw; alx_hw 1859 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1892 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw; alx_hw 1944 drivers/net/ethernet/atheros/alx/main.c struct alx_hw *hw = &alx->hw;