Lines Matching refs:PCNetState

299 static inline void pcnet_tmd_load(PCNetState *s, struct pcnet_TMD *tmd,  in pcnet_tmd_load()
329 static inline void pcnet_tmd_store(PCNetState *s, const struct pcnet_TMD *tmd, in pcnet_tmd_store()
365 static inline void pcnet_rmd_load(PCNetState *s, struct pcnet_RMD *rmd, in pcnet_rmd_load()
395 static inline void pcnet_rmd_store(PCNetState *s, struct pcnet_RMD *rmd, in pcnet_rmd_store()
600 static inline int padr_match(PCNetState *s, const uint8_t *buf, int size) in padr_match()
620 static inline int padr_bcast(PCNetState *s, const uint8_t *buf, int size) in padr_bcast()
631 static inline int ladr_match(PCNetState *s, const uint8_t *buf, int size) in ladr_match()
648 static inline hwaddr pcnet_rdra_addr(PCNetState *s, int idx) in pcnet_rdra_addr()
656 static inline int64_t pcnet_get_next_poll_time(PCNetState *s, int64_t current_time) in pcnet_get_next_poll_time()
667 static void pcnet_poll(PCNetState *s);
670 static uint32_t pcnet_csr_readw(PCNetState *s, uint32_t rap);
671 static void pcnet_csr_writew(PCNetState *s, uint32_t rap, uint32_t new_value);
672 static void pcnet_bcr_writew(PCNetState *s, uint32_t rap, uint32_t val);
674 static void pcnet_s_reset(PCNetState *s) in pcnet_s_reset()
715 static void pcnet_update_irq(PCNetState *s) in pcnet_update_irq()
770 static void pcnet_init(PCNetState *s) in pcnet_init()
842 static void pcnet_start(PCNetState *s) in pcnet_start()
861 static void pcnet_stop(PCNetState *s) in pcnet_stop()
873 static void pcnet_rdte_poll(PCNetState *s) in pcnet_rdte_poll()
946 static int pcnet_tdte_poll(PCNetState *s) in pcnet_tdte_poll()
988 PCNetState *s = qemu_get_nic_opaque(nc); in pcnet_receive()
1168 PCNetState *d = qemu_get_nic_opaque(nc); in pcnet_set_link_status()
1173 static void pcnet_transmit(PCNetState *s) in pcnet_transmit()
1291 static void pcnet_poll(PCNetState *s) in pcnet_poll()
1308 PCNetState *s = opaque; in pcnet_poll_timer()
1337 static void pcnet_csr_writew(PCNetState *s, uint32_t rap, uint32_t new_value) in pcnet_csr_writew()
1445 static uint32_t pcnet_csr_readw(PCNetState *s, uint32_t rap) in pcnet_csr_readw()
1474 static void pcnet_bcr_writew(PCNetState *s, uint32_t rap, uint32_t val) in pcnet_bcr_writew()
1522 uint32_t pcnet_bcr_readw(PCNetState *s, uint32_t rap) in pcnet_bcr_readw()
1546 PCNetState *s = opaque; in pcnet_h_reset()
1568 PCNetState *s = opaque; in pcnet_ioport_writew()
1591 PCNetState *s = opaque; in pcnet_ioport_readw()
1620 PCNetState *s = opaque; in pcnet_ioport_writel()
1649 PCNetState *s = opaque; in pcnet_ioport_readl()
1686 VMSTATE_INT32(rap, PCNetState),
1687 VMSTATE_INT32(isr, PCNetState),
1688 VMSTATE_INT32(lnkst, PCNetState),
1689 VMSTATE_UINT32(rdra, PCNetState),
1690 VMSTATE_UINT32(tdra, PCNetState),
1691 VMSTATE_BUFFER(prom, PCNetState),
1692 VMSTATE_UINT16_ARRAY(csr, PCNetState, 128),
1693 VMSTATE_UINT16_ARRAY(bcr, PCNetState, 32),
1694 VMSTATE_UINT64(timer, PCNetState),
1695 VMSTATE_INT32(xmit_pos, PCNetState),
1696 VMSTATE_BUFFER(buffer, PCNetState),
1698 VMSTATE_INT32(tx_busy, PCNetState),
1699 VMSTATE_TIMER_PTR(poll_timer, PCNetState),
1704 void pcnet_common_init(DeviceState *dev, PCNetState *s, NetClientInfo *info) in pcnet_common_init()