Lines Matching refs:TX_RING_SIZE
121 #define TX_RING_SIZE 32 macro
531 struct tx_ring_info tx_info[TX_RING_SIZE];
888 …tx_ring_size = ((sizeof(starfire_tx_desc) * TX_RING_SIZE + QUEUE_ALIGN - 1) / QUEUE_ALIGN) * QUEUE… in netdev_open()
1173 for (i = 0; i < TX_RING_SIZE; i++) in init_ring()
1190 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { in start_tx()
1203 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1211 if (entry >= TX_RING_SIZE - skb_num_frags(skb)) { in start_tx()
1250 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1259 if (np->cur_tx % (TX_RING_SIZE / 2) == 0) in start_tx()
1272 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) in start_tx()
1278 entry = prev_tx % TX_RING_SIZE; in start_tx()
1285 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in start_tx()
1370 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()
1391 (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) { in intr_handler()
1981 for (i = 0; i < TX_RING_SIZE; i++) { in netdev_close()