Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dsungem.c92 #define RXDMA_CFG_ENABLE 0x00000001 /* Enable RX DMA channel */ macro
462 if ((rxdma_cfg & RXDMA_CFG_ENABLE) == 0) { in sungem_can_receive()
575 if (!(rxdma_cfg & RXDMA_CFG_ENABLE) || in sungem_receive()
1040 (s->rxdmaregs[RXDMA_CFG >> 2] & RXDMA_CFG_ENABLE) != 0) { in sungem_mmio_rxdma_write()
1156 (s->rxdmaregs[RXDMA_CFG >> 2] & RXDMA_CFG_ENABLE) != 0) { in sungem_mmio_mac_write()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsungem.h218 #define RXDMA_CFG_ENABLE 0x00000001 /* Enable RX DMA channel */ macro
H A Dsungem.c393 if (!(readl(gp->regs + RXDMA_CFG) & RXDMA_CFG_ENABLE)) in gem_rxmac_reset()
451 writel(val | RXDMA_CFG_ENABLE, gp->regs + RXDMA_CFG); in gem_rxmac_reset()
1199 writel(val | RXDMA_CFG_ENABLE, gp->regs + RXDMA_CFG); in gem_start_dma()
1223 writel(val & ~RXDMA_CFG_ENABLE, gp->regs + RXDMA_CFG); in gem_stop_dma()