Lines Matching refs:e1000_hw

85 #include "e1000_hw.h"
88 static struct e1000_hw hw;
100 static int e1000_setup_link(struct e1000_hw *hw);
101 static int e1000_setup_fiber_serdes_link(struct e1000_hw *hw);
102 static int e1000_setup_copper_link(struct e1000_hw *hw);
103 static int e1000_phy_setup_autoneg(struct e1000_hw *hw);
104 static void e1000_config_collision_dist(struct e1000_hw *hw);
105 static int e1000_config_mac_to_phy(struct e1000_hw *hw);
106 static int e1000_config_fc_after_link_up(struct e1000_hw *hw);
107 static int e1000_check_for_link(struct e1000_hw *hw);
108 static int e1000_wait_autoneg(struct e1000_hw *hw);
109 static void e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t *speed, uint16_t *duplex);
110 static int e1000_read_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *phy_data);
111 static int e1000_read_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *phy_data);
112 static int e1000_write_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data);
113 static int e1000_write_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data);
114 static void e1000_phy_hw_reset(struct e1000_hw *hw);
115 static int e1000_phy_reset(struct e1000_hw *hw);
116 static int e1000_detect_gig_phy(struct e1000_hw *hw);
171 e1000_io_read(struct e1000_hw *hw __unused, uint32_t port)
177 e1000_io_write(struct e1000_hw *hw __unused, uint32_t port, uint32_t value)
182 static inline void e1000_pci_set_mwi(struct e1000_hw *hw)
187 static inline void e1000_pci_clear_mwi(struct e1000_hw *hw)
200 e1000_raise_ee_clk(struct e1000_hw *hw,
219 e1000_lower_ee_clk(struct e1000_hw *hw,
239 e1000_shift_out_ee_bits(struct e1000_hw *hw,
292 e1000_shift_in_ee_bits(struct e1000_hw *hw,
336 e1000_acquire_eeprom(struct e1000_hw *hw)
388 e1000_standby_eeprom(struct e1000_hw *hw)
439 e1000_release_eeprom(struct e1000_hw *hw)
486 e1000_spi_eeprom_ready(struct e1000_hw *hw)
529 e1000_read_eeprom(struct e1000_hw *hw,
611 e1000_validate_eeprom_checksum(struct e1000_hw *hw)
641 e1000_read_mac_addr(struct e1000_hw *hw)
675 e1000_init_rx_addrs(struct e1000_hw *hw)
709 e1000_clear_vfta(struct e1000_hw *hw)
723 void e1000_write_reg_io(struct e1000_hw *hw, uint32_t offset, uint32_t value){
736 e1000_set_phy_type(struct e1000_hw *hw)
764 e1000_phy_init_script(struct e1000_hw *hw)
844 e1000_set_mac_type(struct e1000_hw *hw)
927 e1000_set_media_type(struct e1000_hw *hw)
966 e1000_reset_hw(struct e1000_hw *hw)
1107 e1000_init_hw(struct e1000_hw *hw)
1229 e1000_adjust_serdes_amplitude(struct e1000_hw *hw)
1275 e1000_setup_link(struct e1000_hw *hw)
1403 e1000_setup_fiber_serdes_link(struct e1000_hw *hw)
1541 e1000_setup_copper_link(struct e1000_hw *hw)
1894 e1000_phy_setup_autoneg(struct e1000_hw *hw)
2036 e1000_config_collision_dist(struct e1000_hw *hw)
2059 e1000_config_mac_to_phy(struct e1000_hw *hw)
2131 e1000_force_mac_fc(struct e1000_hw *hw)
2198 e1000_config_fc_after_link_up(struct e1000_hw *hw)
2400 e1000_check_for_link(struct e1000_hw *hw)
2598 e1000_get_speed_and_duplex(struct e1000_hw *hw,
2639 e1000_wait_autoneg(struct e1000_hw *hw)
2674 e1000_raise_mdi_clk(struct e1000_hw *hw,
2692 e1000_lower_mdi_clk(struct e1000_hw *hw,
2713 e1000_shift_out_mdi_bits(struct e1000_hw *hw,
2761 e1000_shift_in_mdi_bits(struct e1000_hw *hw)
2813 e1000_read_phy_reg(struct e1000_hw *hw,
2835 e1000_read_phy_reg_ex(struct e1000_hw *hw,
2916 e1000_write_phy_reg(struct e1000_hw *hw,
2938 e1000_write_phy_reg_ex(struct e1000_hw *hw,
3006 e1000_phy_hw_reset(struct e1000_hw *hw)
3049 e1000_phy_reset(struct e1000_hw *hw)
3079 e1000_detect_gig_phy(struct e1000_hw *hw)
3142 e1000_init_eeprom_params(struct e1000_hw *hw)
3254 e1000_reset(struct e1000_hw *hw)
3293 e1000_sw_init(struct pci_device *pdev, struct e1000_hw *hw)