Lines Matching refs:NUM_PACKETS
25 #define NUM_PACKETS 4 macro
49 int tx_fifo[NUM_PACKETS];
51 int rx_fifo[NUM_PACKETS];
53 int tx_fifo_done[NUM_PACKETS];
55 uint8_t data[NUM_PACKETS][2048];
78 VMSTATE_INT32_ARRAY(tx_fifo, smc91c111_state, NUM_PACKETS),
80 VMSTATE_INT32_ARRAY(rx_fifo, smc91c111_state, NUM_PACKETS),
82 VMSTATE_INT32_ARRAY(tx_fifo_done, smc91c111_state, NUM_PACKETS),
83 VMSTATE_BUFFER_UNSAFE(data, smc91c111_state, 0, NUM_PACKETS * 2048),
140 if (s->allocated == (1 << NUM_PACKETS) - 1 || in smc91c111_can_receive()
141 s->rx_fifo_len == NUM_PACKETS) { in smc91c111_can_receive()
158 if (s->allocated == (1 << NUM_PACKETS) - 1) { in smc91c111_allocate_packet()
162 for (i = 0; i < NUM_PACKETS; i++) { in smc91c111_allocate_packet()
271 else if (s->tx_fifo_done_len < NUM_PACKETS) in smc91c111_do_tx()
282 if (s->tx_fifo_len == NUM_PACKETS) in smc91c111_queue_tx()
527 return NUM_PACKETS; in smc91c111_readb()
533 for (i = 0; i < NUM_PACKETS; i++) { in smc91c111_readb()