Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/e100/
De100.h486 #define NEXT_TCB_TOUSE(X) ((((X) + 1) >= bdp->params.TxDescriptors) ? 0 : (X) + 1) macro
488 #define TCBS_AVAIL(X) (NEXT_TCB_TOUSE( NEXT_TCB_TOUSE((X).tail)) != (X).head)
De100_main.c1177 bdp->tcb_pool.tail = NEXT_TCB_TOUSE(bdp->tcb_pool.tail); in e100_prepare_xmit_buff()
1754 if (NEXT_TCB_TOUSE(bdp->tcb_pool.head) == bdp->tcb_pool.tail) in e100_free_tcb_pool()
1756 bdp->tcb_pool.head = NEXT_TCB_TOUSE(bdp->tcb_pool.head); in e100_free_tcb_pool()
2082 if (NEXT_TCB_TOUSE(bdp->tcb_pool.head) == bdp->tcb_pool.tail) { in e100_tx_srv()
2086 bdp->tcb_pool.head = NEXT_TCB_TOUSE(bdp->tcb_pool.head); in e100_tx_srv()