Searched refs:NUM_TCB (Results 1 – 2 of 2) sorted by relevance
116 kcalloc(NUM_TCB, sizeof(struct tcb), GFP_ATOMIC | GFP_DMA); in et131x_tx_dma_memory_alloc()261 memset(tcb, 0, sizeof(struct tcb) * NUM_TCB); in et131x_init_send()264 for (ct = 0; ct++ < NUM_TCB; tcb++) in et131x_init_send()300 if (etdev->tx_ring.used >= NUM_TCB) { in et131x_send_packets()400 WARN_ON(etdev->tx_ring.used > NUM_TCB); in et131x_send_packet()707 while (tcb != NULL && freed < NUM_TCB) { in et131x_free_busy_send_packets()727 WARN_ON(freed == NUM_TCB); in et131x_free_busy_send_packets()792 if (etdev->tx_ring.used <= NUM_TCB / 3) in et131x_handle_send_interrupt()
71 #define NUM_TCB 64 macro