Lines Matching refs:mac

48 	if (hw->mac.ops.init_params) {
49 ret_val = hw->mac.ops.init_params(hw);
55 DEBUGOUT("mac.init_mac_params was NULL\n");
145 * This function sets the mac type of the adapter based on the
152 struct e1000_mac_info *mac = &hw->mac;
159 mac->type = e1000_82542;
163 mac->type = e1000_82543;
169 mac->type = e1000_82544;
176 mac->type = e1000_82540;
180 mac->type = e1000_82545;
185 mac->type = e1000_82545_rev_3;
190 mac->type = e1000_82546;
198 mac->type = e1000_82546_rev_3;
203 mac->type = e1000_82541;
209 mac->type = e1000_82541_rev_2;
213 mac->type = e1000_82547;
216 mac->type = e1000_82547_rev_2;
227 mac->type = e1000_82571;
233 mac->type = e1000_82572;
238 mac->type = e1000_82573;
242 mac->type = e1000_82574;
245 mac->type = e1000_82583;
251 mac->type = e1000_80003es2lan;
261 mac->type = e1000_ich8lan;
275 mac->type = e1000_ich9lan;
280 mac->type = e1000_ich10lan;
286 mac->type = e1000_pchlan;
290 mac->type = e1000_pch2lan;
296 mac->type = e1000_pch_lpt;
301 mac->type = e1000_82575;
311 mac->type = e1000_82576;
323 mac->type = e1000_82580;
330 mac->type = e1000_i350;
340 mac->type = e1000_i210;
343 mac->type = e1000_i211;
347 mac->type = e1000_vfadapt;
351 mac->type = e1000_vfadapt_i350;
357 mac->type = e1000_i354;
411 switch (hw->mac.type) {
509 if (hw->mac.ops.get_bus_info)
510 return hw->mac.ops.get_bus_info(hw);
524 if (hw->mac.ops.clear_vfta)
525 hw->mac.ops.clear_vfta(hw);
539 if (hw->mac.ops.write_vfta)
540 hw->mac.ops.write_vfta(hw, offset, value);
555 if (hw->mac.ops.update_mc_addr_list)
556 hw->mac.ops.update_mc_addr_list(hw, mc_addr_list,
578 * results in the hw->mac structure. This is a function pointer entry
583 if (hw->mac.ops.check_for_link)
584 return hw->mac.ops.check_for_link(hw);
598 if (hw->mac.ops.check_mng_mode)
599 return hw->mac.ops.check_mng_mode(hw);
626 if (hw->mac.ops.reset_hw)
627 return hw->mac.ops.reset_hw(hw);
641 if (hw->mac.ops.init_hw)
642 return hw->mac.ops.init_hw(hw);
657 if (hw->mac.ops.setup_link)
658 return hw->mac.ops.setup_link(hw);
675 if (hw->mac.ops.get_link_up_info)
676 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
691 if (hw->mac.ops.setup_led)
692 return hw->mac.ops.setup_led(hw);
706 if (hw->mac.ops.cleanup_led)
707 return hw->mac.ops.cleanup_led(hw);
722 if (hw->mac.ops.blink_led)
723 return hw->mac.ops.blink_led(hw);
737 if (hw->mac.ops.id_led_init)
738 return hw->mac.ops.id_led_init(hw);
752 if (hw->mac.ops.led_on)
753 return hw->mac.ops.led_on(hw);
767 if (hw->mac.ops.led_off)
768 return hw->mac.ops.led_off(hw);
819 if (hw->mac.ops.config_collision_dist)
820 hw->mac.ops.config_collision_dist(hw);
833 if (hw->mac.ops.rar_set)
834 hw->mac.ops.rar_set(hw, addr, index);
845 if (hw->mac.ops.validate_mdi_setting)
846 return hw->mac.ops.validate_mdi_setting(hw);
934 if (hw->mac.ops.set_obff_timer)
935 return hw->mac.ops.set_obff_timer(hw, itr);
1175 if (hw->mac.ops.read_mac_addr)
1176 return hw->mac.ops.read_mac_addr(hw);
1343 if (hw->mac.ops.power_up_serdes)
1344 hw->mac.ops.power_up_serdes(hw);
1355 if (hw->mac.ops.shutdown_serdes)
1356 hw->mac.ops.shutdown_serdes(hw);