Lines Matching refs:RIOCM_TX_RING_SIZE
89 #define RIOCM_TX_RING_SIZE 128 macro
152 void *tx_buf[RIOCM_TX_RING_SIZE];
653 (cm->tx_cnt == RIOCM_TX_RING_SIZE))) { in rio_txcq_handler()
657 ack_slot &= (RIOCM_TX_RING_SIZE - 1); in rio_txcq_handler()
661 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
664 WARN_ON((cm->tx_cnt < 0) || (cm->tx_cnt > RIOCM_TX_RING_SIZE)); in rio_txcq_handler()
671 if (!list_empty(&cm->tx_reqs) && (cm->tx_cnt < RIOCM_TX_RING_SIZE)) { in rio_txcq_handler()
685 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); in rio_txcq_handler()
686 if (cm->tx_cnt == RIOCM_TX_RING_SIZE) in rio_txcq_handler()
746 if (cm->tx_cnt == RIOCM_TX_RING_SIZE) { in riocm_post_send()
760 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); in riocm_post_send()
2110 RIOCM_TX_RING_SIZE, riocm_outb_msg_event); in riocm_add_mport()