Searched refs:NEXT_TCB_TOUSE (Results 1 – 2 of 2) sorted by relevance
486 #define NEXT_TCB_TOUSE(X) ((((X) + 1) >= bdp->params.TxDescriptors) ? 0 : (X) + 1) macro488 #define TCBS_AVAIL(X) (NEXT_TCB_TOUSE( NEXT_TCB_TOUSE((X).tail)) != (X).head)
1177 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()