Lines Matching refs:atl1c_hw

22 struct atl1c_hw;
25 void atl1c_phy_disable(struct atl1c_hw *hw);
26 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr);
27 int atl1c_phy_reset(struct atl1c_hw *hw);
28 int atl1c_read_mac_addr(struct atl1c_hw *hw);
29 bool atl1c_get_link_status(struct atl1c_hw *hw);
30 int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex);
31 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr);
32 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value);
33 int atl1c_read_phy_reg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data);
34 int atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data);
35 bool atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value);
36 int atl1c_phy_init(struct atl1c_hw *hw);
37 int atl1c_check_eeprom_exist(struct atl1c_hw *hw);
38 int atl1c_restart_autoneg(struct atl1c_hw *hw);
39 int atl1c_phy_to_ps_link(struct atl1c_hw *hw);
40 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
41 bool atl1c_wait_mdio_idle(struct atl1c_hw *hw);
42 void atl1c_stop_phy_polling(struct atl1c_hw *hw);
43 void atl1c_start_phy_polling(struct atl1c_hw *hw, u16 clk_sel);
44 int atl1c_read_phy_core(struct atl1c_hw *hw, bool ext, u8 dev,
46 int atl1c_write_phy_core(struct atl1c_hw *hw, bool ext, u8 dev,
48 int atl1c_read_phy_ext(struct atl1c_hw *hw, u8 dev_addr,
50 int atl1c_write_phy_ext(struct atl1c_hw *hw, u8 dev_addr,
52 int atl1c_read_phy_dbg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data);
53 int atl1c_write_phy_dbg(struct atl1c_hw *hw, u16 reg_addr, u16 phy_data);
54 void atl1c_post_phy_linkchg(struct atl1c_hw *hw, u16 link_speed);