Home
last modified time | relevance | path

Searched refs:mac_reg (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/net/e1000e/
Dich8lan.c1235 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()
[all …]
Dnetdev.c5142 u32 i, mac_reg; in e1000_init_phy_wakeup() local
5151 mac_reg = E1000_READ_REG_ARRAY(hw, E1000_MTA, i); in e1000_init_phy_wakeup()
5152 e1e_wphy(hw, BM_MTA(i), (u16)(mac_reg & 0xFFFF)); in e1000_init_phy_wakeup()
5153 e1e_wphy(hw, BM_MTA(i) + 1, (u16)((mac_reg >> 16) & 0xFFFF)); in e1000_init_phy_wakeup()
5158 mac_reg = er32(RCTL); in e1000_init_phy_wakeup()
5159 if (mac_reg & E1000_RCTL_UPE) in e1000_init_phy_wakeup()
5161 if (mac_reg & E1000_RCTL_MPE) in e1000_init_phy_wakeup()
5164 if (mac_reg & E1000_RCTL_MO_3) in e1000_init_phy_wakeup()
5165 phy_reg |= (((mac_reg & E1000_RCTL_MO_3) >> E1000_RCTL_MO_SHIFT) in e1000_init_phy_wakeup()
5167 if (mac_reg & E1000_RCTL_BAM) in e1000_init_phy_wakeup()
[all …]
/linux-2.6.39/drivers/net/
Dau1000_eth.h74 struct mac_reg { struct
125 struct mac_reg *mac; /* mac registers */
Dvia-velocity.c3025 *((u32 *) (context->mac_reg + i)) = readl(ptr + i); in velocity_save_context()
3028 *((u32 *) (context->mac_reg + i)) = readl(ptr + i); in velocity_save_context()
3031 *((u32 *) (context->mac_reg + i)) = readl(ptr + i); in velocity_save_context()
3084 writel(*((u32 *) (context->mac_reg + i)), ptr + i); in velocity_restore_context()
3089 writeb(~(*((u8 *) (context->mac_reg + i))), ptr + i + 4); in velocity_restore_context()
3091 writeb(*((u8 *) (context->mac_reg + i)), ptr + i); in velocity_restore_context()
3095 writel(*((u32 *) (context->mac_reg + i)), ptr + i); in velocity_restore_context()
3098 writel(*((u32 *) (context->mac_reg + i)), ptr + i); in velocity_restore_context()
3101 writeb(*((u8 *) (context->mac_reg + i)), ptr + i); in velocity_restore_context()
Dvia-velocity.h1235 u8 mac_reg[256]; member
Dau1000_eth.c1094 aup->mac = (struct mac_reg *) in au1000_probe()
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192c/
Dphy_common.c1409 u32 mac_reg[IQK_MAC_REG_NUM] = { in _rtl92c_phy_ap_calibrate()
1497 _rtl92c_phy_save_mac_registers(hw, mac_reg, mac_backup); in _rtl92c_phy_ap_calibrate()
1585 _rtl92c_phy_mac_setting_calibration(hw, mac_reg, mac_backup); in _rtl92c_phy_ap_calibrate()
1685 _rtl92c_phy_reload_mac_registers(hw, mac_reg, mac_backup); in _rtl92c_phy_ap_calibrate()