Lines Matching refs:mac
16 * igc_init_mac_params - Initialize MAC function pointers
19 * This function initializes the function pointers for the MAC
27 if (hw->mac.ops.init_params) {
28 ret_val = hw->mac.ops.init_params(hw);
30 DEBUGOUT("MAC Initialization Error\n");
34 DEBUGOUT("mac.init_mac_params was NULL\n");
94 * igc_set_mac_type - Sets MAC type
97 * This function sets the mac type of the adapter based on the
105 struct igc_mac_info *mac = &hw->mac;
127 mac->type = igc_i225;
143 * MAC type and the function pointers for the other init
155 /* Can't do much good without knowing the MAC type. */
158 DEBUGOUT("ERROR: MAC type could not be set properly.\n");
181 switch (hw->mac.type) {
225 if (hw->mac.ops.update_mc_addr_list)
226 hw->mac.ops.update_mc_addr_list(hw, mc_addr_list,
235 * results in the hw->mac structure. This is a function pointer entry
241 if (hw->mac.ops.check_for_link)
242 return hw->mac.ops.check_for_link(hw);
257 if (hw->mac.ops.reset_hw)
258 return hw->mac.ops.reset_hw(hw);
273 if (hw->mac.ops.init_hw)
274 return hw->mac.ops.init_hw(hw);
292 if (hw->mac.ops.get_link_up_info)
293 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
309 if (hw->mac.ops.rar_set)
310 return hw->mac.ops.rar_set(hw, addr, index);
365 * igc_read_mac_addr - Reads MAC address
368 * Reads the MAC address out of the adapter and stores it in the HW structure.
375 if (hw->mac.ops.read_mac_addr)
376 return hw->mac.ops.read_mac_addr(hw);