Lines Matching defs: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;
300 mac->type = e1000_pch_lpt;
311 mac->type = e1000_pch_spt;
321 mac->type = e1000_pch_cnp;
326 mac->type = e1000_82575;
336 mac->type = e1000_82576;
348 mac->type = e1000_82580;
355 mac->type = e1000_i350;
365 mac->type = e1000_i210;
368 mac->type = e1000_i211;
372 mac->type = e1000_vfadapt;
376 mac->type = e1000_vfadapt_i350;
382 mac->type = e1000_i354;
436 switch (hw->mac.type) {
536 if (hw->mac.ops.get_bus_info)
537 return hw->mac.ops.get_bus_info(hw);
551 if (hw->mac.ops.clear_vfta)
552 hw->mac.ops.clear_vfta(hw);
566 if (hw->mac.ops.write_vfta)
567 hw->mac.ops.write_vfta(hw, offset, value);
582 if (hw->mac.ops.update_mc_addr_list)
583 hw->mac.ops.update_mc_addr_list(hw, mc_addr_list,
605 * results in the hw->mac structure. This is a function pointer entry
610 if (hw->mac.ops.check_for_link)
611 return hw->mac.ops.check_for_link(hw);
625 if (hw->mac.ops.check_mng_mode)
626 return hw->mac.ops.check_mng_mode(hw);
653 if (hw->mac.ops.reset_hw)
654 return hw->mac.ops.reset_hw(hw);
668 if (hw->mac.ops.init_hw)
669 return hw->mac.ops.init_hw(hw);
684 if (hw->mac.ops.setup_link)
685 return hw->mac.ops.setup_link(hw);
702 if (hw->mac.ops.get_link_up_info)
703 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
718 if (hw->mac.ops.setup_led)
719 return hw->mac.ops.setup_led(hw);
733 if (hw->mac.ops.cleanup_led)
734 return hw->mac.ops.cleanup_led(hw);
749 if (hw->mac.ops.blink_led)
750 return hw->mac.ops.blink_led(hw);
764 if (hw->mac.ops.id_led_init)
765 return hw->mac.ops.id_led_init(hw);
779 if (hw->mac.ops.led_on)
780 return hw->mac.ops.led_on(hw);
794 if (hw->mac.ops.led_off)
795 return hw->mac.ops.led_off(hw);
846 if (hw->mac.ops.config_collision_dist)
847 hw->mac.ops.config_collision_dist(hw);
860 if (hw->mac.ops.rar_set)
861 return hw->mac.ops.rar_set(hw, addr, index);
874 if (hw->mac.ops.validate_mdi_setting)
875 return hw->mac.ops.validate_mdi_setting(hw);
963 if (hw->mac.ops.set_obff_timer)
964 return hw->mac.ops.set_obff_timer(hw, itr);
1204 if (hw->mac.ops.read_mac_addr)
1205 return hw->mac.ops.read_mac_addr(hw);
1372 if (hw->mac.ops.power_up_serdes)
1373 hw->mac.ops.power_up_serdes(hw);
1384 if (hw->mac.ops.shutdown_serdes)
1385 hw->mac.ops.shutdown_serdes(hw);