Lines Matching refs:mac_reg

1235 	u32 mac_reg;  in e1000_oem_bits_config_ich8lan()  local
1246 mac_reg = er32(EXTCNF_CTRL); in e1000_oem_bits_config_ich8lan()
1247 if (mac_reg & E1000_EXTCNF_CTRL_OEM_WRITE_ENABLE) in e1000_oem_bits_config_ich8lan()
1251 mac_reg = er32(FEXTNVM); in e1000_oem_bits_config_ich8lan()
1252 if (!(mac_reg & E1000_FEXTNVM_SW_CONFIG_ICH8M)) in e1000_oem_bits_config_ich8lan()
1255 mac_reg = er32(PHY_CTRL); in e1000_oem_bits_config_ich8lan()
1264 if (mac_reg & E1000_PHY_CTRL_GBE_DISABLE) in e1000_oem_bits_config_ich8lan()
1267 if (mac_reg & E1000_PHY_CTRL_D0A_LPLU) in e1000_oem_bits_config_ich8lan()
1270 if (mac_reg & E1000_PHY_CTRL_NOND0A_GBE_DISABLE) in e1000_oem_bits_config_ich8lan()
1273 if (mac_reg & E1000_PHY_CTRL_NOND0A_LPLU) in e1000_oem_bits_config_ich8lan()
1395 u32 mac_reg; in e1000_copy_rx_addrs_to_phy_ich8lan() local
1400 mac_reg = er32(RAL(i)); in e1000_copy_rx_addrs_to_phy_ich8lan()
1401 e1e_wphy(hw, BM_RAR_L(i), (u16)(mac_reg & 0xFFFF)); in e1000_copy_rx_addrs_to_phy_ich8lan()
1402 e1e_wphy(hw, BM_RAR_M(i), (u16)((mac_reg >> 16) & 0xFFFF)); in e1000_copy_rx_addrs_to_phy_ich8lan()
1403 mac_reg = er32(RAH(i)); in e1000_copy_rx_addrs_to_phy_ich8lan()
1404 e1e_wphy(hw, BM_RAR_H(i), (u16)(mac_reg & 0xFFFF)); in e1000_copy_rx_addrs_to_phy_ich8lan()
1405 e1e_wphy(hw, BM_RAR_CTRL(i), (u16)((mac_reg >> 16) & 0x8000)); in e1000_copy_rx_addrs_to_phy_ich8lan()
1419 u32 mac_reg; in e1000_lv_jumbo_workaround_ich8lan() local
1458 mac_reg = er32(FFLT_DBG); in e1000_lv_jumbo_workaround_ich8lan()
1459 mac_reg &= ~(1 << 14); in e1000_lv_jumbo_workaround_ich8lan()
1460 mac_reg |= (7 << 15); in e1000_lv_jumbo_workaround_ich8lan()
1461 ew32(FFLT_DBG, mac_reg); in e1000_lv_jumbo_workaround_ich8lan()
1463 mac_reg = er32(RCTL); in e1000_lv_jumbo_workaround_ich8lan()
1464 mac_reg |= E1000_RCTL_SECRC; in e1000_lv_jumbo_workaround_ich8lan()
1465 ew32(RCTL, mac_reg); in e1000_lv_jumbo_workaround_ich8lan()
1517 mac_reg = er32(FFLT_DBG); in e1000_lv_jumbo_workaround_ich8lan()
1518 mac_reg &= ~(0xF << 14); in e1000_lv_jumbo_workaround_ich8lan()
1519 ew32(FFLT_DBG, mac_reg); in e1000_lv_jumbo_workaround_ich8lan()
1521 mac_reg = er32(RCTL); in e1000_lv_jumbo_workaround_ich8lan()
1522 mac_reg &= ~E1000_RCTL_SECRC; in e1000_lv_jumbo_workaround_ich8lan()
1523 ew32(RCTL, mac_reg); in e1000_lv_jumbo_workaround_ich8lan()
1609 u32 mac_reg; in e1000_k1_workaround_lv() local
1621 mac_reg = er32(FEXTNVM4); in e1000_k1_workaround_lv()
1622 mac_reg &= ~E1000_FEXTNVM4_BEACON_DURATION_MASK; in e1000_k1_workaround_lv()
1625 mac_reg |= E1000_FEXTNVM4_BEACON_DURATION_8USEC; in e1000_k1_workaround_lv()
1627 mac_reg |= E1000_FEXTNVM4_BEACON_DURATION_16USEC; in e1000_k1_workaround_lv()
1629 ew32(FEXTNVM4, mac_reg); in e1000_k1_workaround_lv()