Searched refs:atl1c_hw (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.h | 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 int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex); 30 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr); 31 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value); 32 int atl1c_read_phy_reg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data); 33 int atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data); [all …]
|
D | atl1c_hw.c | 19 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) in atl1c_check_eeprom_exist() 33 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr) in atl1c_hw_set_mac_addr() 53 static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) in atl1c_read_current_addr() 70 static int atl1c_get_permanent_address(struct atl1c_hw *hw) in atl1c_get_permanent_address() 140 bool atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value) in atl1c_read_eeprom() 183 int atl1c_read_mac_addr(struct atl1c_hw *hw) in atl1c_read_mac_addr() 203 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) in atl1c_hash_mc_addr() 221 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) in atl1c_hash_set() 250 bool atl1c_wait_mdio_idle(struct atl1c_hw *hw) in atl1c_wait_mdio_idle() 265 void atl1c_stop_phy_polling(struct atl1c_hw *hw) in atl1c_stop_phy_polling() [all …]
|
D | atl1c_main.c | 42 static int atl1c_stop_mac(struct atl1c_hw *hw); 43 static void atl1c_disable_l0s_l1(struct atl1c_hw *hw); 44 static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed); 50 static int atl1c_reset_mac(struct atl1c_hw *hw); 58 static void atl1c_pcie_patch(struct atl1c_hw *hw) in atl1c_pcie_patch() 105 static void atl1c_reset_pcie(struct atl1c_hw *hw, u32 flag) in atl1c_reset_pcie() 194 static u32 atl1c_wait_until_idle(struct atl1c_hw *hw, u32 modu_ctrl) in atl1c_wait_until_idle() 216 struct atl1c_hw *hw = &adapter->hw; in atl1c_phy_config() 234 struct atl1c_hw *hw = &adapter->hw; in atl1c_check_link_status() 374 struct atl1c_hw *hw = &adapter->hw; in atl1c_set_multi() [all …]
|
D | atl1c_ethtool.c | 19 struct atl1c_hw *hw = &adapter->hw; in atl1c_get_link_ksettings() 63 struct atl1c_hw *hw = &adapter->hw; in atl1c_set_link_ksettings() 130 struct atl1c_hw *hw = &adapter->hw; in atl1c_get_regs() 180 struct atl1c_hw *hw = &adapter->hw; in atl1c_get_eeprom()
|
D | Makefile | 3 atl1c-objs := atl1c_main.o atl1c_hw.o atl1c_ethtool.o
|
D | atl1c.h | 354 struct atl1c_hw { struct 512 struct atl1c_hw hw; 589 s32 atl1c_reset_hw(struct atl1c_hw *hw);
|