Searched refs:mifregs (Results 1 – 2 of 2) sorted by relevance
175 uint32_t mifregs[HME_MIF_REG_SIZE >> 2]; member203 uint32_t mifmask = ~(s->mifregs[HME_MIFI_IMASK >> 2]) & 0xffff; in sunhme_update_irq()204 uint32_t mif = s->mifregs[HME_MIFI_STAT >> 2] & mifmask; in sunhme_update_irq()469 val |= s->mifregs[HME_MIFI_CFG >> 2] & in sunhme_mif_write()506 s->mifregs[addr >> 2] = val; in sunhme_mif_write()515 val = s->mifregs[addr >> 2]; in sunhme_mif_read()520 s->mifregs[HME_MIFI_STAT >> 2] = 0; in sunhme_mif_read()681 s->mifregs[HME_MIFI_STAT >> 2] = 0xffff; in sunhme_link_status_changed()903 s->mifregs[HME_MIFI_CFG >> 2] |= HME_MIF_CFG_MDI0; in sunhme_reset()920 s->mifregs[HME_MIFI_IMASK >> 2] = 0xffff; in sunhme_reset()[all …]
225 uint32_t mifregs[SUNGEM_MMIO_MIF_SIZE >> 2]; member752 s->mifregs[MIF_CFG >> 2] = MIF_CFG_MDI0; in sungem_reset_all()1237 s->mifregs[addr >> 2] = val; in sungem_mmio_mif_write()1242 s->mifregs[addr >> 2] = sungem_mii_op(s, val); in sungem_mmio_mif_write()1259 val = s->mifregs[addr >> 2]; in sungem_mmio_mif_read()1447 VMSTATE_UINT32_ARRAY(mifregs, SunGEMState, (SUNGEM_MMIO_MIF_SIZE >> 2)),