Home
last modified time | relevance | path

Searched refs:REG_MAC_CTRL (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/atheros/atlx/
Datlx.c122 rctl = ioread32(hw->hw_addr + REG_MAC_CTRL); in atlx_set_multi()
131 iowrite32(rctl, hw->hw_addr + REG_MAC_CTRL); in atlx_set_multi()
228 ctrl = ioread32(adapter->hw.hw_addr + REG_MAC_CTRL); in atlx_vlan_mode()
230 iowrite32(ctrl, adapter->hw.hw_addr + REG_MAC_CTRL); in atlx_vlan_mode()
Datl2.c130 rctl = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_set_multi()
140 ATL2_WRITE_REG(hw, REG_MAC_CTRL, rctl); in atl2_set_multi()
368 ctrl = ATL2_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl2_vlan_mode()
370 ATL2_WRITE_REG(&adapter->hw, REG_MAC_CTRL, ctrl); in atl2_vlan_mode()
1147 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_setup_mac_ctrl()
1165 value = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_check_link()
1167 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_check_link()
1222 value = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_check_link()
1224 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_check_link()
1559 ATL2_WRITE_REG(hw, REG_MAC_CTRL, ctrl); in atl2_suspend()
[all …]
Datlx.h193 #define REG_MAC_CTRL 0x1480 macro
Datl1.c1277 iowrite32(value, hw->hw_addr + REG_MAC_CTRL); in atl1_setup_mac_ctrl()
2805 iowrite32(ctrl, hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
2806 ioread32(hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
2817 iowrite32(0, hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
2818 ioread32(hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
/drivers/net/ethernet/moxa/
Dmoxart_ether.c101 writel(SW_RST, priv->base + REG_MAC_CTRL); in moxart_mac_reset()
102 while (readl(priv->base + REG_MAC_CTRL) & SW_RST) in moxart_mac_reset()
122 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_enable()
188 readl(priv->base + REG_MAC_CTRL)); in moxart_mac_open()
205 writel(0, priv->base + REG_MAC_CTRL); in moxart_mac_stop()
444 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_set_rx_mode()
Dmoxart_ether.h84 #define REG_MAC_CTRL 136 macro
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c166 value = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_check_link()
168 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link()
280 mac_ctrl_data = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_set_multi()
291 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_set_multi()
325 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_rx_mode()
327 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_rx_mode()
352 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_vlan_mode()
354 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_vlan_mode()
1074 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_setup_mac_ctrl()
2148 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_suspend()
Datl1e_hw.h263 #define REG_MAC_CTRL 0x1480 macro
Datl1e_ethtool.c170 regs_buff[13] = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_get_regs()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c380 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_set_multi()
391 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_set_multi()
426 AT_READ_REG(&adapter->hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_vlan_mode()
428 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_vlan_mode()
1179 AT_READ_REG(hw, REG_MAC_CTRL, &data); in atl1c_stop_mac()
1181 AT_WRITE_REG(hw, REG_MAC_CTRL, data); in atl1c_stop_mac()
1198 AT_READ_REG(hw, REG_MAC_CTRL, &mac); in atl1c_start_mac()
1216 AT_WRITE_REG(hw, REG_MAC_CTRL, mac); in atl1c_start_mac()
1254 AT_READ_REG(hw, REG_MAC_CTRL, &ctrl_data); in atl1c_reset_mac()
1255 AT_WRITE_REG(hw, REG_MAC_CTRL, ctrl_data | MAC_CTRL_SPEED_MODE_SW); in atl1c_reset_mac()
Datl1c_hw.c767 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl); in atl1c_power_saving()
782 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
808 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
Datl1c_ethtool.c149 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
Datl1c_hw.h364 #define REG_MAC_CTRL 0x1480 macro