Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/iprb/
H A Diprb.c351 for (i = 0; i < NUM_TX; i++) { in iprb_attach()
359 for (i = 0; i < NUM_TX; i++) { in iprb_attach()
362 PUTCB32(cb, CB_LNK_OFFSET, (ip->cmds[(i + 1) % NUM_TX].paddr)); in iprb_attach()
506 for (i = 0; i < NUM_TX; i++) { in iprb_destroy()
701 ip->cmd_tail %= NUM_TX; in iprb_cmd_reclaim()
731 ASSERT((ip->cmd_count) < NUM_TX); in iprb_cmd_submit()
732 if (ip->cmd_count == (NUM_TX - 1)) { in iprb_cmd_submit()
781 ip->cmd_head %= NUM_TX; in iprb_cmd_submit()
790 if (ip->cmd_count == NUM_TX) { in iprb_cmd_next()
793 ASSERT(ip->cmd_count < NUM_TX); in iprb_cmd_next()
[all …]
H A Diprb.h26 #define NUM_TX 128 /* outstanding tx queue */ macro
73 iprb_dma_t cmds[NUM_TX];