Lines Matching refs:mac
22 struct igc_mac_info *mac = &hw->mac;
26 mac->ops.init_params = igc_null_ops_generic;
27 mac->ops.config_collision_dist = igc_config_collision_dist_generic;
28 mac->ops.rar_set = igc_rar_set_generic;
181 hw->mac.ops.rar_set(hw, hw->mac.addr, 0);
186 hw->mac.ops.rar_set(hw, mac_addr, i);
251 hw->mac.ops.rar_set(hw, alt_mac_addr, 0);
311 hash_mask = (hw->mac.mta_reg_count * 32) - 1;
344 switch (hw->mac.mc_filter_type) {
383 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow));
389 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1);
392 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit);
397 for (i = hw->mac.mta_reg_count - 1; i >= 0; i--)
398 IGC_WRITE_REG_ARRAY(hw, IGC_MTA, i, hw->mac.mta_shadow[i]);
463 struct igc_mac_info *mac = &hw->mac;
474 if (!mac->get_link_status)
488 mac->get_link_status = false;
498 if (!mac->autoneg)
505 mac->ops.config_collision_dist(hw);
557 ret_val = hw->mac.ops.setup_physical_interface(hw);
709 struct igc_mac_info *mac = &hw->mac;
726 if (mac->autoneg) {
846 ret_val = mac->ops.get_link_up_info(hw, &speed, &duplex);
890 if ((hw->mac.type == igc_i225) &&