/linux/drivers/net/ethernet/atheros/atlx/ |
H A 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()
|
H A D | atl2.c | 124 rctl = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_set_multi() 134 ATL2_WRITE_REG(hw, REG_MAC_CTRL, rctl); in atl2_set_multi() 362 ctrl = ATL2_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl2_vlan_mode() 364 ATL2_WRITE_REG(&adapter->hw, REG_MAC_CTRL, ctrl); in atl2_vlan_mode() 1141 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_setup_mac_ctrl() 1159 value = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_check_link() 1161 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_check_link() 1216 value = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_check_link() 1218 ATL2_WRITE_REG(hw, REG_MAC_CTRL, value); in atl2_check_link() 1554 ATL2_WRITE_REG(hw, REG_MAC_CTRL, ctrl); in atl2_suspend() [all …]
|
H A D | atlx.h | 193 #define REG_MAC_CTRL 0x1480 macro
|
H A D | atl1.c | 1275 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()
|
/linux/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.c | 93 writel(SW_RST, priv->base + REG_MAC_CTRL); in moxart_mac_reset() 94 while (readl(priv->base + REG_MAC_CTRL) & SW_RST) in moxart_mac_reset() 114 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_enable() 177 readl(priv->base + REG_MAC_CTRL)); in moxart_mac_open() 195 writel(0, priv->base + REG_MAC_CTRL); in moxart_mac_stop() 440 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_set_rx_mode()
|
H A D | moxart_ether.h | 84 #define REG_MAC_CTRL 136 macro
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 160 value = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_check_link() 162 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link() 275 mac_ctrl_data = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_set_multi() 286 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_set_multi() 320 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_rx_mode() 322 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_rx_mode() 347 mac_ctrl_data = AT_READ_REG(&adapter->hw, REG_MAC_CTRL); in atl1e_vlan_mode() 349 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_vlan_mode() 1075 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_setup_mac_ctrl() 2162 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_suspend()
|
H A D | atl1e_hw.h | 263 #define REG_MAC_CTRL 0x1480 macro
|
H A D | atl1e_ethtool.c | 170 regs_buff[13] = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_get_regs()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 396 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_set_multi() 407 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_set_multi() 442 AT_READ_REG(&adapter->hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_vlan_mode() 444 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_vlan_mode() 1217 AT_READ_REG(hw, REG_MAC_CTRL, &data); in atl1c_stop_mac() 1219 AT_WRITE_REG(hw, REG_MAC_CTRL, data); in atl1c_stop_mac() 1236 AT_READ_REG(hw, REG_MAC_CTRL, &mac); in atl1c_start_mac() 1254 AT_WRITE_REG(hw, REG_MAC_CTRL, mac); in atl1c_start_mac() 1292 AT_READ_REG(hw, REG_MAC_CTRL, &ctrl_data); in atl1c_reset_mac() 1293 AT_WRITE_REG(hw, REG_MAC_CTRL, ctrl_data | MAC_CTRL_SPEED_MODE_SW); in atl1c_reset_mac()
|
H A D | atl1c_hw.c | 793 AT_READ_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() 834 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
|
H A D | atl1c_ethtool.c | 149 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
|
H A D | atl1c_hw.h | 365 #define REG_MAC_CTRL 0x1480 macro
|