• Home
  • Raw
  • Download

Lines Matching refs:mac

62 	switch (hw->mac.type) {  in e1000_init_phy_params_82571()
90 switch (hw->mac.type) { in e1000_init_phy_params_82571()
143 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
175 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
194 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local
205 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
207 mac->ops.check_for_link = e1000e_check_for_fiber_link; in e1000_init_mac_params_82571()
208 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
216 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
218 mac->ops.check_for_link = e1000_check_for_serdes_link_82571; in e1000_init_mac_params_82571()
219 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
224 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
226 mac->ops.check_for_link = e1000e_check_for_copper_link; in e1000_init_mac_params_82571()
227 mac->ops.get_link_up_info = e1000e_get_speed_and_duplex_copper; in e1000_init_mac_params_82571()
232 mac->mta_reg_count = 128; in e1000_init_mac_params_82571()
234 mac->rar_entry_count = E1000_RAR_ENTRIES; in e1000_init_mac_params_82571()
236 mac->adaptive_ifs = true; in e1000_init_mac_params_82571()
239 switch (hw->mac.type) { in e1000_init_mac_params_82571()
241 mac->ops.set_lan_id = e1000_set_lan_id_single_port; in e1000_init_mac_params_82571()
242 mac->ops.check_mng_mode = e1000e_check_mng_mode_generic; in e1000_init_mac_params_82571()
243 mac->ops.led_on = e1000e_led_on_generic; in e1000_init_mac_params_82571()
244 mac->ops.blink_led = e1000e_blink_led_generic; in e1000_init_mac_params_82571()
247 mac->has_fwsm = true; in e1000_init_mac_params_82571()
251 mac->arc_subsystem_valid = !!(er32(FWSM) & in e1000_init_mac_params_82571()
256 mac->ops.set_lan_id = e1000_set_lan_id_single_port; in e1000_init_mac_params_82571()
257 mac->ops.check_mng_mode = e1000_check_mng_mode_82574; in e1000_init_mac_params_82571()
258 mac->ops.led_on = e1000_led_on_82574; in e1000_init_mac_params_82571()
261 mac->ops.check_mng_mode = e1000e_check_mng_mode_generic; in e1000_init_mac_params_82571()
262 mac->ops.led_on = e1000e_led_on_generic; in e1000_init_mac_params_82571()
263 mac->ops.blink_led = e1000e_blink_led_generic; in e1000_init_mac_params_82571()
266 mac->has_fwsm = true; in e1000_init_mac_params_82571()
276 switch (hw->mac.type) { in e1000_init_mac_params_82571()
352 switch (adapter->hw.mac.type) { in e1000_get_variants_82571()
394 switch (hw->mac.type) { in e1000_get_phy_id_82571()
655 switch (hw->mac.type) { in e1000_acquire_nvm_82571()
698 switch (hw->mac.type) { in e1000_write_nvm_82571()
969 switch (hw->mac.type) { in e1000_reset_hw_82571()
987 switch (hw->mac.type) { in e1000_reset_hw_82571()
1021 switch (hw->mac.type) { in e1000_reset_hw_82571()
1044 if (hw->mac.type == e1000_82571) { in e1000_reset_hw_82571()
1055 hw->mac.serdes_link_state = e1000_serdes_link_down; in e1000_reset_hw_82571()
1068 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82571() local
1071 u16 i, rar_count = mac->rar_entry_count; in e1000_init_hw_82571()
1076 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82571()
1083 mac->ops.clear_vfta(hw); in e1000_init_hw_82571()
1096 for (i = 0; i < mac->mta_reg_count; i++) in e1000_init_hw_82571()
1100 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_82571()
1109 switch (mac->type) { in e1000_init_hw_82571()
1161 switch (hw->mac.type) { in e1000_initialize_hw_bits_82571()
1177 switch (hw->mac.type) { in e1000_initialize_hw_bits_82571()
1193 switch (hw->mac.type) { in e1000_initialize_hw_bits_82571()
1206 switch (hw->mac.type) { in e1000_initialize_hw_bits_82571()
1219 if (hw->mac.type == e1000_82571) { in e1000_initialize_hw_bits_82571()
1228 if ((hw->mac.type == e1000_82571) || (hw->mac.type == e1000_82572)) { in e1000_initialize_hw_bits_82571()
1237 if (hw->mac.type <= e1000_82573) { in e1000_initialize_hw_bits_82571()
1244 switch (hw->mac.type) { in e1000_initialize_hw_bits_82571()
1280 switch (hw->mac.type) { in e1000_clear_vfta_82571()
1339 ctrl = hw->mac.ledctl_mode2; in e1000_led_on_82574()
1345 if (((hw->mac.ledctl_mode2 >> (i * 8)) & 0xFF) == in e1000_led_on_82574()
1400 switch (hw->mac.type) { in e1000_setup_link_82571()
1459 switch (hw->mac.type) { in e1000_setup_fiber_serdes_link_82571()
1498 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_serdes_link_82571() local
1515 switch (mac->serdes_link_state) { in e1000_check_for_serdes_link_82571()
1521 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1523 mac->serdes_has_link = false; in e1000_check_for_serdes_link_82571()
1526 mac->serdes_has_link = true; in e1000_check_for_serdes_link_82571()
1538 ew32(TXCW, mac->txcw); in e1000_check_for_serdes_link_82571()
1540 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1542 mac->serdes_has_link = false; in e1000_check_for_serdes_link_82571()
1545 mac->serdes_has_link = true; in e1000_check_for_serdes_link_82571()
1556 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1559 mac->serdes_has_link = true; in e1000_check_for_serdes_link_82571()
1562 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1571 ew32(TXCW, (mac->txcw & ~E1000_TXCW_ANE)); in e1000_check_for_serdes_link_82571()
1581 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1583 mac->serdes_has_link = true; in e1000_check_for_serdes_link_82571()
1594 ew32(TXCW, mac->txcw); in e1000_check_for_serdes_link_82571()
1596 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1598 mac->serdes_has_link = false; in e1000_check_for_serdes_link_82571()
1604 mac->serdes_has_link = false; in e1000_check_for_serdes_link_82571()
1605 mac->serdes_link_state = e1000_serdes_link_down; in e1000_check_for_serdes_link_82571()
1620 mac->serdes_has_link = false; in e1000_check_for_serdes_link_82571()
1621 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1632 mac->serdes_link_state = in e1000_check_for_serdes_link_82571()
1634 mac->serdes_has_link = false; in e1000_check_for_serdes_link_82571()
1661 switch (hw->mac.type) { in e1000_valid_led_default_82571()
1686 if (hw->mac.type != e1000_82571) in e1000e_get_laa_state_82571()
1701 if (hw->mac.type != e1000_82571) in e1000e_set_laa_state_82571()
1714 hw->mac.ops.rar_set(hw, hw->mac.addr, in e1000e_set_laa_state_82571()
1715 hw->mac.rar_entry_count - 1); in e1000e_set_laa_state_82571()
1776 if (hw->mac.type == e1000_82571) { in e1000_read_mac_addr_82571()
1801 struct e1000_mac_info *mac = &hw->mac; in e1000_power_down_phy_copper_82571() local
1807 if (!(mac->ops.check_mng_mode(hw) || phy->ops.check_reset_block(hw))) in e1000_power_down_phy_copper_82571()
1948 .mac = e1000_82571,
1969 .mac = e1000_82572,
1987 .mac = e1000_82573,
2005 .mac = e1000_82574,
2030 .mac = e1000_82583,