Lines Matching refs:gregs
221 uint32_t gregs[SUNGEM_MMIO_GREG_SIZE >> 2]; member
243 mask = s->gregs[GREG_IMASK >> 2]; in sungem_eval_irq()
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()
740 s->gregs[GREG_IMASK >> 2] = 0xFFFFFFF; in sungem_reset_all()
741 s->gregs[GREG_STAT >> 2] = 0; in sungem_reset_all()
745 s->gregs[GREG_SWRST >> 2] = 0; in sungem_reset_all()
750 s->gregs[GREG_SWRST >> 2] &= GREG_SWRST_RSTOUT; in sungem_reset_all()
855 s->gregs[GREG_STAT >> 2] &= ~val; in sungem_mmio_greg_write()
863 s->gregs[addr >> 2] = val; in sungem_mmio_greg_write()
898 val = s->gregs[addr >> 2]; 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()
1440 VMSTATE_UINT32_ARRAY(gregs, SunGEMState, (SUNGEM_MMIO_GREG_SIZE >> 2)),