Lines Matching refs:NPCMGMACState
136 static void npcm_gmac_soft_reset(NPCMGMACState *gmac) in npcm_gmac_soft_reset()
144 static void gmac_phy_set_link(NPCMGMACState *gmac, bool active) in gmac_phy_set_link()
156 NPCMGMACState *gmac = NPCM_GMAC(qemu_get_nic_opaque(nc)); in gmac_can_receive()
175 static void gmac_update_irq(NPCMGMACState *gmac) in gmac_update_irq()
306 static void gmac_dma_set_state(NPCMGMACState *gmac, int shift, uint32_t state) in gmac_dma_set_state()
318 NPCMGMACState *gmac = NPCM_GMAC(qemu_get_nic_opaque(nc)); in gmac_receive()
508 static void gmac_try_send_next_packet(NPCMGMACState *gmac) in gmac_try_send_next_packet()
649 NPCMGMACState *gmac = qemu_get_nic_opaque(nc); in gmac_set_link()
655 static void npcm_gmac_mdio_access(NPCMGMACState *gmac, uint16_t v) in npcm_gmac_mdio_access()
703 NPCMGMACState *gmac = opaque; in npcm_gmac_read()
726 NPCMGMACState *gmac = opaque; in npcm_gmac_write()
847 NPCMGMACState *gmac = NPCM_GMAC(dev); in npcm_gmac_reset()
878 NPCMGMACState *gmac = NPCM_GMAC(dev); in npcm_gmac_realize()
901 NPCMGMACState *gmac = NPCM_GMAC(dev); in npcm_gmac_unrealize()
911 VMSTATE_UINT32_ARRAY(regs, NPCMGMACState, NPCM_GMAC_NR_REGS),
917 DEFINE_NIC_PROPERTIES(NPCMGMACState, conf),
938 .instance_size = sizeof(NPCMGMACState),