Lines Matching refs:tx_fifo
75 uint8_t tx_fifo[2048]; member
124 if (s->tx_fifo_len > ARRAY_SIZE(s->tx_fifo)) { in stellaris_enet_post_load()
148 VMSTATE_UINT8_ARRAY(tx_fifo, stellaris_enet_state, 2048),
167 return s->tx_fifo[0] | (s->tx_fifo[1] << 8); in stellaris_txpacket_datalen()
186 framelen = MIN(framelen, ARRAY_SIZE(s->tx_fifo)); in stellaris_txpacket_complete()
210 memset(&s->tx_fifo[framelen + 2], 0, 60 - framelen); in stellaris_enet_send()
219 framelen = MIN(framelen, ARRAY_SIZE(s->tx_fifo) - 2); in stellaris_enet_send()
220 qemu_send_packet(qemu_get_queue(s->nic), s->tx_fifo + 2, framelen); in stellaris_enet_send()
402 if (s->tx_fifo_len + 4 <= ARRAY_SIZE(s->tx_fifo)) { in stellaris_enet_write()
403 s->tx_fifo[s->tx_fifo_len++] = value; in stellaris_enet_write()
404 s->tx_fifo[s->tx_fifo_len++] = value >> 8; in stellaris_enet_write()
405 s->tx_fifo[s->tx_fifo_len++] = value >> 16; in stellaris_enet_write()
406 s->tx_fifo[s->tx_fifo_len++] = value >> 24; in stellaris_enet_write()