Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dopencores_eth.c153 MAC_ADDR0, enumerator
386 GET_REGFIELD(s, MAC_ADDR0, BYTE2) != buf[2] ||
387 GET_REGFIELD(s, MAC_ADDR0, BYTE3) != buf[3] ||
388 GET_REGFIELD(s, MAC_ADDR0, BYTE4) != buf[4] ||
389 GET_REGFIELD(s, MAC_ADDR0, BYTE5) != buf[5];
H A Dsungem.c149 #define MAC_ADDR0 0x0080UL /* MAC Address 0 Register */ macro
537 trace_sungem_rx_mac_compare(s->macregs[MAC_ADDR0 >> 2], in sungem_check_rx_mac()
541 if (mac0 == s->macregs[MAC_ADDR0 >> 2] && in sungem_check_rx_mac()
746 s->macregs[MAC_ADDR0 >> 2] = (ma[4] << 8) | ma[5]; in sungem_reset_all()
/openbmc/u-boot/drivers/net/
H A Dethoc.c39 #define MAC_ADDR0 0x40 macro
234 ethoc_write(priv, MAC_ADDR0, (mac[2] << 24) | (mac[3] << 16) | in ethoc_write_hwaddr_common()
/openbmc/linux/drivers/net/ethernet/
H A Dethoc.c48 #define MAC_ADDR0 0x40 macro
595 reg = ethoc_read(priv, MAC_ADDR0); in ethoc_get_mac_address()
808 ethoc_write(priv, MAC_ADDR0, (mac[2] << 24) | (mac[3] << 16) | in ethoc_do_set_mac_address()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.h324 #define MAC_ADDR0 0x6080UL /* MAC Address 0 Register */ macro
H A Dsungem.c1822 writel((e[4] << 8) | e[5], gp->regs + MAC_ADDR0); in gem_init_mac()
2439 writel((e[4] << 8) | e[5], gp->regs + MAC_ADDR0); in gem_set_mac_address()