Home
last modified time | relevance | path

Searched refs:REG_MAC_STA_ADDR (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c44 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value); in atl1e_hw_set_mac_addr()
48 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 1, value); in atl1e_hw_set_mac_addr()
84 addr[0] = AT_READ_REG(hw, REG_MAC_STA_ADDR); in atl1e_get_permanent_address()
85 addr[1] = AT_READ_REG(hw, REG_MAC_STA_ADDR + 4); in atl1e_get_permanent_address()
Datl1e_ethtool.c172 regs_buff[15] = AT_READ_REG(hw, REG_MAC_STA_ADDR); in atl1e_get_regs()
173 regs_buff[16] = AT_READ_REG(hw, REG_MAC_STA_ADDR+4); in atl1e_get_regs()
Datl1e_hw.h305 #define REG_MAC_STA_ADDR 0x1488 macro
/linux-6.12.1/drivers/net/ethernet/atheros/atlx/
Datl2.c179 ATL2_WRITE_REG(hw, REG_MAC_STA_ADDR, value); in atl2_configure()
182 ATL2_WRITE_REG(hw, (REG_MAC_STA_ADDR+4), value); in atl2_configure()
1835 regs_buff[15] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR); in atl2_get_regs()
1836 regs_buff[16] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR+4); in atl2_get_regs()
2196 if (Register == REG_MAC_STA_ADDR) in get_permanent_address()
2199 (REG_MAC_STA_ADDR + 4)) in get_permanent_address()
2234 if (Register == REG_MAC_STA_ADDR) in get_permanent_address()
2236 else if (Register == (REG_MAC_STA_ADDR + 4)) in get_permanent_address()
2258 Addr[0] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR); in get_permanent_address()
2259 Addr[1] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR + 4); in get_permanent_address()
[all …]
Datlx.h223 #define REG_MAC_STA_ADDR 0x1488 macro
Datl1.c438 if (reg == REG_MAC_STA_ADDR) in atl1_get_permanent_address()
440 else if (reg == (REG_MAC_STA_ADDR + 4)) in atl1_get_permanent_address()
470 if (reg == REG_MAC_STA_ADDR) in atl1_get_permanent_address()
472 else if (reg == (REG_MAC_STA_ADDR + 4)) in atl1_get_permanent_address()
500 addr[0] = ioread32(hw->hw_addr + REG_MAC_STA_ADDR); in atl1_get_permanent_address()
501 addr[1] = ioread16(hw->hw_addr + (REG_MAC_STA_ADDR + 4)); in atl1_get_permanent_address()
914 iowrite32(value, hw->hw_addr + REG_MAC_STA_ADDR); in atl1_set_mac_addr()
917 iowrite32(value, (hw->hw_addr + REG_MAC_STA_ADDR) + (1 << 2)); in atl1_set_mac_addr()
1464 iowrite32(value, hw->hw_addr + REG_MAC_STA_ADDR); in atl1_configure()
1466 iowrite32(value, hw->hw_addr + (REG_MAC_STA_ADDR + 4)); in atl1_configure()
/linux-6.12.1/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c45 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value); in atl1c_hw_set_mac_addr()
49 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 1, value); in atl1c_hw_set_mac_addr()
57 AT_READ_REG(hw, REG_MAC_STA_ADDR, &addr[0]); in atl1c_read_current_addr()
58 AT_READ_REG(hw, REG_MAC_STA_ADDR + 4, &addr[1]); in atl1c_read_current_addr()
Datl1c_ethtool.c151 AT_READ_REG(hw, REG_MAC_STA_ADDR, p++); in atl1c_get_regs()
152 AT_READ_REG(hw, REG_MAC_STA_ADDR+4, p++); in atl1c_get_regs()
Datl1c_hw.h412 #define REG_MAC_STA_ADDR 0x1488 macro