• Home
  • Raw
  • Download

Lines Matching refs:mac

96 		hw->mac.ops.write_vfta(hw, offset, 0);  in igb_clear_vfta()
135 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igb_init_rx_addrs()
140 hw->mac.ops.rar_set(hw, mac_addr, i); in igb_init_rx_addrs()
259 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set()
290 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set()
316 if (hw->mac.type >= e1000_82580) in igb_check_alt_mac_addr()
360 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in igb_check_alt_mac_addr()
425 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set()
451 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igb_hash_mc_addr()
484 switch (hw->mac.mc_filter_type) { in igb_hash_mc_addr()
521 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in igb_update_mc_addr_list()
527 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list()
530 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in igb_update_mc_addr_list()
535 for (i = hw->mac.mta_reg_count - 1; i >= 0; i--) in igb_update_mc_addr_list()
536 array_wr32(E1000_MTA, i, hw->mac.mta_shadow[i]); in igb_update_mc_addr_list()
597 struct e1000_mac_info *mac = &hw->mac; in igb_check_for_copper_link() local
606 if (!mac->get_link_status) { in igb_check_for_copper_link()
622 mac->get_link_status = false; in igb_check_for_copper_link()
632 if (!mac->autoneg) { in igb_check_for_copper_link()
694 ret_val = hw->mac.ops.setup_physical_interface(hw); in igb_setup_link()
795 if (hw->mac.type == e1000_i350) { in igb_set_default_fc()
896 struct e1000_mac_info *mac = &hw->mac; in igb_config_fc_after_link_up() local
906 if (mac->autoneg_failed) { in igb_config_fc_after_link_up()
924 if ((hw->phy.media_type == e1000_media_type_copper) && mac->autoneg) { in igb_config_fc_after_link_up()
1069 ret_val = hw->mac.ops.get_speed_and_duplex(hw, &speed, &duplex); in igb_config_fc_after_link_up()
1093 && mac->autoneg) { in igb_config_fc_after_link_up()
1391 struct e1000_mac_info *mac = &hw->mac; in igb_id_led_init() local
1400 if ((hw->mac.type == e1000_i210) || in igb_id_led_init()
1401 (hw->mac.type == e1000_i211)) in igb_id_led_init()
1409 mac->ledctl_default = rd32(E1000_LEDCTL); in igb_id_led_init()
1410 mac->ledctl_mode1 = mac->ledctl_default; in igb_id_led_init()
1411 mac->ledctl_mode2 = mac->ledctl_default; in igb_id_led_init()
1419 mac->ledctl_mode1 &= ~(ledctl_mask << (i << 3)); in igb_id_led_init()
1420 mac->ledctl_mode1 |= ledctl_on << (i << 3); in igb_id_led_init()
1425 mac->ledctl_mode1 &= ~(ledctl_mask << (i << 3)); in igb_id_led_init()
1426 mac->ledctl_mode1 |= ledctl_off << (i << 3); in igb_id_led_init()
1436 mac->ledctl_mode2 &= ~(ledctl_mask << (i << 3)); in igb_id_led_init()
1437 mac->ledctl_mode2 |= ledctl_on << (i << 3); in igb_id_led_init()
1442 mac->ledctl_mode2 &= ~(ledctl_mask << (i << 3)); in igb_id_led_init()
1443 mac->ledctl_mode2 |= ledctl_off << (i << 3); in igb_id_led_init()
1464 wr32(E1000_LEDCTL, hw->mac.ledctl_default); in igb_cleanup_led()
1490 ledctl_blink = hw->mac.ledctl_mode2; in igb_blink_led()
1492 u32 mode = (hw->mac.ledctl_mode2 >> i) & in igb_blink_led()
1494 u32 led_default = hw->mac.ledctl_default >> i; in igb_blink_led()
1523 wr32(E1000_LEDCTL, hw->mac.ledctl_mode1); in igb_led_off()
1586 if (hw->mac.type >= e1000_82580) in igb_validate_mdi_setting()
1589 if (!hw->mac.autoneg && (hw->phy.mdix == 0 || hw->phy.mdix == 3)) { in igb_validate_mdi_setting()
1651 if (!hw->mac.asf_firmware_present) in igb_enable_mng_pass_thru()
1659 if (hw->mac.arc_subsystem_valid) { in igb_enable_mng_pass_thru()