Home
last modified time | relevance | path

Searched refs:MAC_ADDR1 (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/net/
H A Dopencores_eth.c154 MAC_ADDR1, enumerator
384 miss = GET_REGFIELD(s, MAC_ADDR1, BYTE0) != buf[0] ||
385 GET_REGFIELD(s, MAC_ADDR1, BYTE1) != buf[1] ||
H A Dsungem.c150 #define MAC_ADDR1 0x0084UL /* MAC Address 1 Register */ macro
538 s->macregs[MAC_ADDR1 >> 2], in sungem_check_rx_mac()
542 mac1 == s->macregs[MAC_ADDR1 >> 2] && in sungem_check_rx_mac()
747 s->macregs[MAC_ADDR1 >> 2] = (ma[2] << 8) | ma[3]; in sungem_reset_all()
/openbmc/u-boot/drivers/net/
H A Dethoc.c40 #define MAC_ADDR1 0x44 macro
236 ethoc_write(priv, MAC_ADDR1, (mac[0] << 8) | (mac[1] << 0)); in ethoc_write_hwaddr_common()
/openbmc/linux/drivers/net/ethernet/
H A Dethoc.c49 #define MAC_ADDR1 0x44 macro
601 reg = ethoc_read(priv, MAC_ADDR1); in ethoc_get_mac_address()
810 ethoc_write(priv, MAC_ADDR1, (mac[0] << 8) | (mac[1] << 0)); in ethoc_do_set_mac_address()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.h325 #define MAC_ADDR1 0x6084UL /* MAC Address 1 Register */ macro
H A Dsungem.c1823 writel((e[2] << 8) | e[3], gp->regs + MAC_ADDR1); in gem_init_mac()
2440 writel((e[2] << 8) | e[3], gp->regs + MAC_ADDR1); in gem_set_mac_address()