Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datlx.c135 rctl = ioread32(hw->hw_addr + REG_MAC_CTRL); in atlx_set_multi()
144 iowrite32(rctl, hw->hw_addr + REG_MAC_CTRL); in atlx_set_multi()
241 ctrl = ioread32(adapter->hw.hw_addr + REG_MAC_CTRL); in atlx_vlan_mode()
243 iowrite32(ctrl, adapter->hw.hw_addr + REG_MAC_CTRL); in atlx_vlan_mode()
Datl2.c143 rctl = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_set_multi()
153 ATL2_WRITE_REG(hw, REG_MAC_CTRL, rctl); in atl2_set_multi()
382 ctrl = ATL2_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl2_vlan_mode()
384 ATL2_WRITE_REG(&adapter->hw, REG_MAC_CTRL, ctrl); in atl2_vlan_mode()
1162 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_setup_mac_ctrl()
1180 value = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_check_link()
1182 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_check_link()
1237 value = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_check_link()
1239 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_check_link()
1576 ATL2_WRITE_REG(hw, REG_MAC_CTRL, ctrl); in atl2_suspend()
[all …]
Datlx.h206 #define REG_MAC_CTRL 0x1480 macro
Datl1.c1296 iowrite32(value, hw->hw_addr + REG_MAC_CTRL); in atl1_setup_mac_ctrl()
2827 iowrite32(ctrl, hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
2828 ioread32(hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
2839 iowrite32(0, hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
2840 ioread32(hw->hw_addr + REG_MAC_CTRL); in atl1_suspend()
/Linux-v4.19/drivers/net/ethernet/moxa/
Dmoxart_ether.c99 writel(SW_RST, priv->base + REG_MAC_CTRL); in moxart_mac_reset()
100 while (readl(priv->base + REG_MAC_CTRL) & SW_RST) in moxart_mac_reset()
120 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_enable()
186 readl(priv->base + REG_MAC_CTRL)); in moxart_mac_open()
203 writel(0, priv->base + REG_MAC_CTRL); in moxart_mac_stop()
442 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_set_rx_mode()
Dmoxart_ether.h84 #define REG_MAC_CTRL 136 macro
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c179 value = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_check_link()
181 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link()
293 mac_ctrl_data = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_set_multi()
304 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_set_multi()
338 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_rx_mode()
340 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_rx_mode()
365 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_vlan_mode()
367 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_vlan_mode()
1085 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_setup_mac_ctrl()
2160 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_suspend()
Datl1e_hw.h276 #define REG_MAC_CTRL 0x1480 macro
Datl1e_ethtool.c184 regs_buff[13] = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_get_regs()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c393 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_set_multi()
404 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_set_multi()
439 AT_READ_REG(&adapter->hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_vlan_mode()
441 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_vlan_mode()
1192 AT_READ_REG(hw, REG_MAC_CTRL, &data); in atl1c_stop_mac()
1194 AT_WRITE_REG(hw, REG_MAC_CTRL, data); in atl1c_stop_mac()
1211 AT_READ_REG(hw, REG_MAC_CTRL, &mac); in atl1c_start_mac()
1229 AT_WRITE_REG(hw, REG_MAC_CTRL, mac); in atl1c_start_mac()
1267 AT_READ_REG(hw, REG_MAC_CTRL, &ctrl_data); in atl1c_reset_mac()
1268 AT_WRITE_REG(hw, REG_MAC_CTRL, ctrl_data | MAC_CTRL_SPEED_MODE_SW); in atl1c_reset_mac()
Datl1c_hw.c780 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl); in atl1c_power_saving()
795 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
821 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
Datl1c_ethtool.c163 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
Datl1c_hw.h377 #define REG_MAC_CTRL 0x1480 macro