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;
300 mac->type = e1000_pch_lpt;
311 mac->type = e1000_pch_spt;
316 mac->type = e1000_82575;
326 mac->type = e1000_82576;
338 mac->type = e1000_82580;
345 mac->type = e1000_i350;
355 mac->type = e1000_i210;
358 mac->type = e1000_i211;
362 mac->type = e1000_vfadapt;
366 mac->type = e1000_vfadapt_i350;
372 mac->type = e1000_i354;
426 switch (hw->mac.type) {
525 if (hw->mac.ops.get_bus_info)
526 return hw->mac.ops.get_bus_info(hw);
540 if (hw->mac.ops.clear_vfta)
541 hw->mac.ops.clear_vfta(hw);
555 if (hw->mac.ops.write_vfta)
556 hw->mac.ops.write_vfta(hw, offset, value);
571 if (hw->mac.ops.update_mc_addr_list)
572 hw->mac.ops.update_mc_addr_list(hw, mc_addr_list,
594 * results in the hw->mac structure. This is a function pointer entry
599 if (hw->mac.ops.check_for_link)
600 return hw->mac.ops.check_for_link(hw);
614 if (hw->mac.ops.check_mng_mode)
615 return hw->mac.ops.check_mng_mode(hw);
642 if (hw->mac.ops.reset_hw)
643 return hw->mac.ops.reset_hw(hw);
657 if (hw->mac.ops.init_hw)
658 return hw->mac.ops.init_hw(hw);
673 if (hw->mac.ops.setup_link)
674 return hw->mac.ops.setup_link(hw);
691 if (hw->mac.ops.get_link_up_info)
692 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
707 if (hw->mac.ops.setup_led)
708 return hw->mac.ops.setup_led(hw);
722 if (hw->mac.ops.cleanup_led)
723 return hw->mac.ops.cleanup_led(hw);
738 if (hw->mac.ops.blink_led)
739 return hw->mac.ops.blink_led(hw);
753 if (hw->mac.ops.id_led_init)
754 return hw->mac.ops.id_led_init(hw);
768 if (hw->mac.ops.led_on)
769 return hw->mac.ops.led_on(hw);
783 if (hw->mac.ops.led_off)
784 return hw->mac.ops.led_off(hw);
835 if (hw->mac.ops.config_collision_dist)
836 hw->mac.ops.config_collision_dist(hw);
849 if (hw->mac.ops.rar_set)
850 return hw->mac.ops.rar_set(hw, addr, index);
863 if (hw->mac.ops.validate_mdi_setting)
864 return hw->mac.ops.validate_mdi_setting(hw);
952 if (hw->mac.ops.set_obff_timer)
953 return hw->mac.ops.set_obff_timer(hw, itr);
1193 if (hw->mac.ops.read_mac_addr)
1194 return hw->mac.ops.read_mac_addr(hw);
1361 if (hw->mac.ops.power_up_serdes)
1362 hw->mac.ops.power_up_serdes(hw);
1373 if (hw->mac.ops.shutdown_serdes)
1374 hw->mac.ops.shutdown_serdes(hw);