Searched refs:QDIO_BUFNR (Results 1 – 3 of 3) sorted by relevance
317 #define add_buf(bufnr, inc) QDIO_BUFNR((bufnr) + (inc))319 #define sub_buf(bufnr, dec) QDIO_BUFNR((bufnr) - (dec))
19 #define QDIO_BUFNR(num) ((num) & QDIO_MAX_BUFFERS_MASK) macro
2962 card->qdio.in_q->next_buf_to_init = QDIO_BUFNR(rx_bufs); in qeth_init_qdio_queues()3422 &queue->bufs[QDIO_BUFNR(i)])) { in qeth_rx_refill_queue()3457 queue->next_buf_to_init = QDIO_BUFNR(queue->next_buf_to_init + in qeth_rx_refill_queue()3512 QDIO_BUFNR(queue->next_buf_to_fill + 1); in qeth_prep_flush_pack_buffer()3567 unsigned int bidx = QDIO_BUFNR(i); in qeth_flush_buffers()3668 queue->bulk_start = QDIO_BUFNR(queue->bulk_start + queue->bulk_count); in qeth_flush_queue()3761 struct qdio_buffer *buffer = cq->qdio_bufs[QDIO_BUFNR(i)]; in qeth_qdio_cq_handler()3781 cq->next_buf_to_init = QDIO_BUFNR(cq->next_buf_to_init + count); in qeth_qdio_cq_handler()4123 buffer = queue->bufs[QDIO_BUFNR(queue->bulk_start + queue->bulk_count)]; in __qeth_xmit()4147 buffer = queue->bufs[QDIO_BUFNR(queue->bulk_start + in __qeth_xmit()[all …]