/Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 135 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()
|
D | atl2.c | 143 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 …]
|
D | atlx.h | 206 #define REG_MAC_CTRL 0x1480 macro
|
D | atl1.c | 1296 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/ |
D | moxart_ether.c | 99 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()
|
D | moxart_ether.h | 84 #define REG_MAC_CTRL 136 macro
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 179 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()
|
D | atl1e_hw.h | 276 #define REG_MAC_CTRL 0x1480 macro
|
D | atl1e_ethtool.c | 184 regs_buff[13] = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_get_regs()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 393 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()
|
D | atl1c_hw.c | 780 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()
|
D | atl1c_ethtool.c | 163 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
|
D | atl1c_hw.h | 377 #define REG_MAC_CTRL 0x1480 macro
|