Home
last modified time | relevance | path

Searched refs:e1000_hw (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/net/
De1000_spi.c21 static int e1000_spi_xfer(struct e1000_hw *hw, unsigned int bitlen, in e1000_spi_xfer()
75 static inline struct e1000_hw *e1000_hw_from_spi(struct spi_slave *spi) in e1000_hw_from_spi()
77 return container_of(spi, struct e1000_hw, spi); in e1000_hw_from_spi()
87 struct e1000_hw *hw = e1000_find_card(bus); in spi_setup_slave()
116 __maybe_unused struct e1000_hw *hw = e1000_hw_from_spi(spi); in spi_free_slave()
122 struct e1000_hw *hw = e1000_hw_from_spi(spi); in spi_claim_bus()
134 struct e1000_hw *hw = e1000_hw_from_spi(spi); in spi_release_bus()
142 struct e1000_hw *hw = e1000_hw_from_spi(spi); in spi_xfer()
172 static int e1000_spi_eeprom_enable_wr(struct e1000_hw *hw, bool intr) in e1000_spi_eeprom_enable_wr()
183 static __maybe_unused int e1000_spi_eeprom_disable_wr(struct e1000_hw *hw, in e1000_spi_eeprom_disable_wr()
[all …]
De1000.c127 static int e1000_setup_link(struct e1000_hw *hw);
128 static int e1000_setup_fiber_link(struct e1000_hw *hw);
129 static int e1000_setup_copper_link(struct e1000_hw *hw);
130 static int e1000_phy_setup_autoneg(struct e1000_hw *hw);
131 static void e1000_config_collision_dist(struct e1000_hw *hw);
132 static int e1000_config_mac_to_phy(struct e1000_hw *hw);
133 static int e1000_config_fc_after_link_up(struct e1000_hw *hw);
134 static int e1000_check_for_link(struct e1000_hw *hw);
135 static int e1000_wait_autoneg(struct e1000_hw *hw);
136 static int e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t * speed,
[all …]
De1000.h62 struct e1000_hw;
66 struct e1000_hw *e1000_find_card(unsigned int cardnum);
69 int32_t e1000_acquire_eeprom(struct e1000_hw *hw);
70 void e1000_standby_eeprom(struct e1000_hw *hw);
71 void e1000_release_eeprom(struct e1000_hw *hw);
72 void e1000_raise_ee_clk(struct e1000_hw *hw, uint32_t *eecd);
73 void e1000_lower_ee_clk(struct e1000_hw *hw, uint32_t *eecd);
77 int do_e1000_spi(cmd_tbl_t *cmdtp, struct e1000_hw *hw,
1075 struct e1000_hw { struct