Home
last modified time | relevance | path

Searched refs:MAC_RXCFG_ENAB (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/net/
H A Dsungem.c138 #define MAC_RXCFG_ENAB 0x00000001 /* RX MAC Enable */ macro
458 if ((rxmac_cfg & MAC_RXCFG_ENAB) == 0) { in sungem_can_receive()
576 !(rxmac_cfg & MAC_RXCFG_ENAB)) { in sungem_receive()
1039 if ((s->macregs[MAC_RXCFG >> 2] & MAC_RXCFG_ENAB) != 0 && in sungem_mmio_rxdma_write()
1155 if ((s->macregs[MAC_RXCFG >> 2] & MAC_RXCFG_ENAB) != 0 && in sungem_mmio_mac_write()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.c378 writel(gp->mac_rx_cfg & ~MAC_RXCFG_ENAB, in gem_rxmac_reset()
381 if (!(readl(gp->regs + MAC_RXCFG) & MAC_RXCFG_ENAB)) in gem_rxmac_reset()
454 writel(val | MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_rxmac_reset()
1203 writel(val | MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_start_dma()
1227 writel(val & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_stop_dma()
2083 writel(MAC_RXCFG_HFE | MAC_RXCFG_SFCS | MAC_RXCFG_ENAB, in gem_stop_phy()
2466 writel(rxcfg & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_set_multicast()
2467 while (readl(gp->regs + MAC_RXCFG) & MAC_RXCFG_ENAB) { in gem_set_multicast()
H A Dsungem.h448 #define MAC_RXCFG_ENAB 0x00000001 /* RX MAC Enable */ macro