Searched refs:REG_MAC_STA_ADDR (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 57 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value); in atl1e_hw_set_mac_addr() 61 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 1, value); in atl1e_hw_set_mac_addr() 97 addr[0] = AT_READ_REG(hw, REG_MAC_STA_ADDR); in atl1e_get_permanent_address() 98 addr[1] = AT_READ_REG(hw, REG_MAC_STA_ADDR + 4); in atl1e_get_permanent_address()
|
D | atl1e_ethtool.c | 186 regs_buff[15] = AT_READ_REG(hw, REG_MAC_STA_ADDR); in atl1e_get_regs() 187 regs_buff[16] = AT_READ_REG(hw, REG_MAC_STA_ADDR+4); in atl1e_get_regs()
|
D | atl1e_hw.h | 318 #define REG_MAC_STA_ADDR 0x1488 macro
|
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 198 ATL2_WRITE_REG(hw, REG_MAC_STA_ADDR, value); in atl2_configure() 201 ATL2_WRITE_REG(hw, (REG_MAC_STA_ADDR+4), value); in atl2_configure() 1882 regs_buff[15] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR); in atl2_get_regs() 1883 regs_buff[16] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR+4); in atl2_get_regs() 2245 if (Register == REG_MAC_STA_ADDR) in get_permanent_address() 2248 (REG_MAC_STA_ADDR + 4)) in get_permanent_address() 2283 if (Register == REG_MAC_STA_ADDR) in get_permanent_address() 2285 else if (Register == (REG_MAC_STA_ADDR + 4)) in get_permanent_address() 2307 Addr[0] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR); in get_permanent_address() 2308 Addr[1] = ATL2_READ_REG(hw, REG_MAC_STA_ADDR + 4); in get_permanent_address() [all …]
|
D | atlx.h | 236 #define REG_MAC_STA_ADDR 0x1488 macro
|
D | atl1.c | 457 if (reg == REG_MAC_STA_ADDR) in atl1_get_permanent_address() 459 else if (reg == (REG_MAC_STA_ADDR + 4)) in atl1_get_permanent_address() 489 if (reg == REG_MAC_STA_ADDR) in atl1_get_permanent_address() 491 else if (reg == (REG_MAC_STA_ADDR + 4)) in atl1_get_permanent_address() 519 addr[0] = ioread32(hw->hw_addr + REG_MAC_STA_ADDR); in atl1_get_permanent_address() 520 addr[1] = ioread16(hw->hw_addr + (REG_MAC_STA_ADDR + 4)); in atl1_get_permanent_address() 933 iowrite32(value, hw->hw_addr + REG_MAC_STA_ADDR); in atl1_set_mac_addr() 936 iowrite32(value, (hw->hw_addr + REG_MAC_STA_ADDR) + (1 << 2)); in atl1_set_mac_addr() 1485 iowrite32(value, hw->hw_addr + REG_MAC_STA_ADDR); in atl1_configure() 1487 iowrite32(value, hw->hw_addr + (REG_MAC_STA_ADDR + 4)); in atl1_configure()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 165 AT_READ_REG(hw, REG_MAC_STA_ADDR, p++); in atl1c_get_regs() 166 AT_READ_REG(hw, REG_MAC_STA_ADDR+4, p++); in atl1c_get_regs()
|
D | atl1c_hw.c | 58 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value); in atl1c_hw_set_mac_addr() 62 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 1, value); in atl1c_hw_set_mac_addr() 70 AT_READ_REG(hw, REG_MAC_STA_ADDR, &addr[0]); in atl1c_read_current_addr() 71 AT_READ_REG(hw, REG_MAC_STA_ADDR + 4, &addr[1]); in atl1c_read_current_addr()
|
D | atl1c_hw.h | 424 #define REG_MAC_STA_ADDR 0x1488 macro
|