Home
last modified time | relevance | path

Searched refs:GREG_STAT (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/net/
H A Dsungem.c37 #define GREG_STAT 0x000CUL /* Status Register */ macro
244 stat = s->gregs[GREG_STAT >> 2] & ~GREG_STAT_TXNR; in sungem_eval_irq()
256 stat = s->gregs[GREG_STAT >> 2]; in sungem_update_status()
262 s->gregs[GREG_STAT >> 2] = stat; in sungem_update_status()
741 s->gregs[GREG_STAT >> 2] = 0; in sungem_reset_all()
849 case GREG_STAT: in sungem_mmio_greg_write()
855 s->gregs[GREG_STAT >> 2] &= ~val; in sungem_mmio_greg_write()
903 case GREG_STAT: in sungem_mmio_greg_read()
905 s->gregs[GREG_STAT >> 2] &= ~GREG_STAT_LATCH; in sungem_mmio_greg_read()
916 val = (s->gregs[GREG_STAT >> 2] & ~GREG_STAT_TXNR) | in sungem_mmio_greg_read()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunhme.h17 #define GREG_STAT 0x100UL /* Status */ macro
H A Dsungem.h14 #define GREG_STAT 0x000CUL /* Status Register */ macro
H A Dsungem.c915 gp->status = readl(gp->regs + GREG_STAT); in gem_poll()
930 u32 gem_status = readl(gp->regs + GREG_STAT); in gem_interrupt()
H A Dsunhme.c1867 u32 happy_status = hme_read32(hp, hp->gregs + GREG_STAT); in happy_meal_interrupt()
1941 hme_read32(hp, hp->gregs + GREG_STAT), in happy_meal_tx_timeout()