Home
last modified time | relevance | path

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

/linux-5.19.10/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.c124 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 …]
Datlx.h193 #define REG_MAC_CTRL 0x1480 macro
Datl1.c1275 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-5.19.10/drivers/net/ethernet/moxa/
Dmoxart_ether.c96 writel(SW_RST, priv->base + REG_MAC_CTRL); in moxart_mac_reset()
97 while (readl(priv->base + REG_MAC_CTRL) & SW_RST) in moxart_mac_reset()
117 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_enable()
183 readl(priv->base + REG_MAC_CTRL)); in moxart_mac_open()
201 writel(0, priv->base + REG_MAC_CTRL); in moxart_mac_stop()
446 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-5.19.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c160 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()
1072 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_setup_mac_ctrl()
2156 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()
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c406 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_set_multi()
417 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_set_multi()
452 AT_READ_REG(&adapter->hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_vlan_mode()
454 AT_WRITE_REG(&adapter->hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_vlan_mode()
1238 AT_READ_REG(hw, REG_MAC_CTRL, &data); in atl1c_stop_mac()
1240 AT_WRITE_REG(hw, REG_MAC_CTRL, data); in atl1c_stop_mac()
1257 AT_READ_REG(hw, REG_MAC_CTRL, &mac); in atl1c_start_mac()
1275 AT_WRITE_REG(hw, REG_MAC_CTRL, mac); in atl1c_start_mac()
1313 AT_READ_REG(hw, REG_MAC_CTRL, &ctrl_data); in atl1c_reset_mac()
1314 AT_WRITE_REG(hw, REG_MAC_CTRL, ctrl_data | MAC_CTRL_SPEED_MODE_SW); in atl1c_reset_mac()
Datl1c_hw.c793 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()
Datl1c_ethtool.c149 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
Datl1c_hw.h365 #define REG_MAC_CTRL 0x1480 macro