Home
last modified time | relevance | path

Searched refs:NUM_TCB (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/staging/et131x/
Det131x.c430 #define NUM_TCB 64 macro
2134 memset(tcb, 0, sizeof(struct tcb) * NUM_TCB); in et131x_init_send()
2137 for (ct = 0; ct++ < NUM_TCB; tcb++) in et131x_init_send()
3194 kcalloc(NUM_TCB, sizeof(struct tcb), GFP_ATOMIC | GFP_DMA); in et131x_tx_dma_memory_alloc()
3552 WARN_ON(adapter->tx_ring.used > NUM_TCB); in send_packet()
3575 if (adapter->tx_ring.used >= NUM_TCB) { in et131x_send_packets()
3692 while (tcb != NULL && freed < NUM_TCB) { in et131x_free_busy_send_packets()
3712 WARN_ON(freed == NUM_TCB); in et131x_free_busy_send_packets()
3777 if (adapter->tx_ring.used <= NUM_TCB / 3) in et131x_handle_send_interrupt()
5027 if (adapter->tx_ring.used >= NUM_TCB - 1 && in et131x_tx()