Lines Matching refs:sebregs
171 uint32_t sebregs[HME_SEB_REG_SIZE >> 2]; member
188 s->sebregs[HME_SEBI_RESET] &= ~HME_SEB_RESET_ETX; in sunhme_reset_tx()
194 s->sebregs[HME_SEBI_RESET] &= ~HME_SEB_RESET_ERX; in sunhme_reset_rx()
207 uint32_t sebmask = ~(s->sebregs[HME_SEBI_IMASK >> 2]) & in sunhme_update_irq()
209 uint32_t seb = s->sebregs[HME_SEBI_STAT >> 2] & sebmask; in sunhme_update_irq()
248 val = s->sebregs[HME_SEBI_RESET >> 2]; in sunhme_seb_write()
252 s->sebregs[addr >> 2] = val; in sunhme_seb_write()
274 val = s->sebregs[addr >> 2]; in sunhme_seb_read()
279 s->sebregs[HME_SEBI_STAT >> 2] &= HME_SEB_STAT_MIFIRQ; in sunhme_seb_read()
644 intstatus = s->sebregs[HME_SEBI_STAT >> 2]; in sunhme_transmit()
646 s->sebregs[HME_SEBI_STAT >> 2] = intstatus; in sunhme_transmit()
655 intstatus = s->sebregs[HME_SEBI_STAT >> 2]; in sunhme_transmit()
657 s->sebregs[HME_SEBI_STAT >> 2] = intstatus; in sunhme_transmit()
784 s->sebregs[HME_SEBI_STAT >> 2] |= HME_SEB_STAT_NORXD; in sunhme_receive()
833 intstatus = s->sebregs[HME_SEBI_STAT >> 2]; in sunhme_receive()
835 s->sebregs[HME_SEBI_STAT >> 2] = intstatus; in sunhme_receive()
921 s->sebregs[HME_SEBI_IMASK >> 2] = 0xff7fffff; in sunhme_reset()
931 VMSTATE_UINT32_ARRAY(sebregs, SunHMEState, (HME_SEB_REG_SIZE >> 2)),