Lines Matching defs:hw

46 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()
182 int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) in alx_write_phy_reg()
193 int alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) in alx_read_phy_ext()
204 int alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) in alx_write_phy_ext()
215 static int alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) in alx_read_phy_dbg()
226 static int alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) in alx_write_phy_dbg()
237 static u16 alx_get_phy_config(struct alx_hw *hw) in alx_get_phy_config()
259 static bool alx_wait_reg(struct alx_hw *hw, u32 reg, u32 wait, u32 *val) in alx_wait_reg()
277 static bool alx_read_macaddr(struct alx_hw *hw, u8 *addr) in alx_read_macaddr()
291 int alx_get_perm_macaddr(struct alx_hw *hw, u8 *addr) in alx_get_perm_macaddr()
324 void alx_set_macaddr(struct alx_hw *hw, const u8 *addr) in alx_set_macaddr()
335 static void alx_reset_osc(struct alx_hw *hw, u8 rev) in alx_reset_osc()
376 static int alx_stop_mac(struct alx_hw *hw) in alx_stop_mac()
401 int alx_reset_mac(struct alx_hw *hw) in alx_reset_mac()
490 void alx_reset_phy(struct alx_hw *hw) in alx_reset_phy()
560 void alx_reset_pcie(struct alx_hw *hw) in alx_reset_pcie()
607 void alx_start_mac(struct alx_hw *hw) in alx_start_mac()
629 void alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc) in alx_cfg_mac_flowcontrol()
644 void alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en) in alx_enable_aspm()
680 static u32 ethadv_to_hw_cfg(struct alx_hw *hw, u32 ethadv_cfg) in ethadv_to_hw_cfg()
722 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) in alx_setup_speed_duplex()
778 void alx_post_phy_link(struct alx_hw *hw) in alx_post_phy_link()
851 bool alx_phy_configured(struct alx_hw *hw) in alx_phy_configured()
865 int alx_read_phy_link(struct alx_hw *hw) in alx_read_phy_link()
915 int alx_clear_phy_intr(struct alx_hw *hw) in alx_clear_phy_intr()
923 void alx_disable_rss(struct alx_hw *hw) in alx_disable_rss()
931 void alx_configure_basic(struct alx_hw *hw) in alx_configure_basic()
1034 void alx_mask_msix(struct alx_hw *hw, int index, bool mask) in alx_mask_msix()
1048 bool alx_get_phy_info(struct alx_hw *hw) in alx_get_phy_info()
1068 void alx_update_hw_stats(struct alx_hw *hw) in alx_update_hw_stats()