/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 122 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()
|
D | atl2.c | 130 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 …]
|
D | atlx.h | 193 #define REG_MAC_CTRL 0x1480 macro
|
D | atl1.c | 1277 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/ |
D | moxart_ether.c | 101 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()
|
D | moxart_ether.h | 84 #define REG_MAC_CTRL 136 macro
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 166 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()
|
D | atl1e_hw.h | 263 #define REG_MAC_CTRL 0x1480 macro
|
D | atl1e_ethtool.c | 170 regs_buff[13] = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_get_regs()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 380 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()
|
D | atl1c_hw.c | 767 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()
|
D | atl1c_ethtool.c | 149 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
|
D | atl1c_hw.h | 364 #define REG_MAC_CTRL 0x1480 macro
|