Searched refs:GMAC_ADDR_HIGH (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_core.c | 102 stmmac_set_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac1000_set_umac_addr() 111 stmmac_get_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac1000_get_umac_addr() 199 GMAC_ADDR_HIGH(reg), in dwmac1000_set_filter() 205 writel(0, ioaddr + GMAC_ADDR_HIGH(reg)); in dwmac1000_set_filter()
|
D | dwmac1000.h | 79 #define GMAC_ADDR_HIGH(reg) ((reg > 15) ? 0x00000800 + (reg - 16) * 8 : \ macro
|
D | dwmac4_core.c | 335 stmmac_dwmac4_set_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac4_set_umac_addr() 344 stmmac_dwmac4_get_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac4_get_umac_addr() 714 writel(0, ioaddr + GMAC_ADDR_HIGH(reg)); in dwmac4_set_filter()
|
D | dwmac4.h | 47 #define GMAC_ADDR_HIGH(reg) (0x300 + reg * 8) macro
|