Home
last modified time | relevance | path

Searched refs:atl1c_hw (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.h35 struct atl1c_hw;
38 void atl1c_phy_disable(struct atl1c_hw *hw);
39 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr);
40 int atl1c_phy_reset(struct atl1c_hw *hw);
41 int atl1c_read_mac_addr(struct atl1c_hw *hw);
42 int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex);
43 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr);
44 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value);
45 int atl1c_read_phy_reg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data);
46 int atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data);
[all …]
Datl1c_hw.c32 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) in atl1c_check_eeprom_exist()
46 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr) in atl1c_hw_set_mac_addr()
66 static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) in atl1c_read_current_addr()
83 static int atl1c_get_permanent_address(struct atl1c_hw *hw) in atl1c_get_permanent_address()
153 bool atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value) in atl1c_read_eeprom()
196 int atl1c_read_mac_addr(struct atl1c_hw *hw) in atl1c_read_mac_addr()
216 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) in atl1c_hash_mc_addr()
234 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) in atl1c_hash_set()
263 bool atl1c_wait_mdio_idle(struct atl1c_hw *hw) in atl1c_wait_mdio_idle()
278 void atl1c_stop_phy_polling(struct atl1c_hw *hw) in atl1c_stop_phy_polling()
[all …]
Datl1c_main.c55 static int atl1c_stop_mac(struct atl1c_hw *hw);
56 static void atl1c_disable_l0s_l1(struct atl1c_hw *hw);
57 static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed);
63 static int atl1c_reset_mac(struct atl1c_hw *hw);
75 static void atl1c_pcie_patch(struct atl1c_hw *hw) in atl1c_pcie_patch()
122 static void atl1c_reset_pcie(struct atl1c_hw *hw, u32 flag) in atl1c_reset_pcie()
211 static u32 atl1c_wait_until_idle(struct atl1c_hw *hw, u32 modu_ctrl) in atl1c_wait_until_idle()
232 struct atl1c_hw *hw = &adapter->hw; in atl1c_phy_config()
250 struct atl1c_hw *hw = &adapter->hw; in atl1c_check_link_status()
390 struct atl1c_hw *hw = &adapter->hw; in atl1c_set_multi()
[all …]
Datl1c_ethtool.c33 struct atl1c_hw *hw = &adapter->hw; in atl1c_get_settings()
71 struct atl1c_hw *hw = &adapter->hw; in atl1c_set_settings()
138 struct atl1c_hw *hw = &adapter->hw; in atl1c_get_regs()
188 struct atl1c_hw *hw = &adapter->hw; in atl1c_get_eeprom()
DMakefile2 atl1c-objs := atl1c_main.o atl1c_hw.o atl1c_ethtool.o
Datl1c.h367 struct atl1c_hw { struct
525 struct atl1c_hw hw;
603 s32 atl1c_reset_hw(struct atl1c_hw *hw);