Lines Matching refs:ring_pos
208 #define ring_pos(pos, size) ((pos) & (size - 1)) macro
544 unsigned long head = ring_pos(lmc->ring_head, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_err_isr()
589 tail = ring_pos(lmc->ring_tail, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_threaded_isr()
1076 unsigned long head = ring_pos(ocx->com_ring_head, in thunderx_ocx_com_isr()
1120 tail = ring_pos(ocx->com_ring_tail, in thunderx_ocx_com_threaded_isr()
1167 unsigned long head = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_isr()
1201 tail = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_threaded_isr()
1759 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1791 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx)); in thunderx_l2c_cbc_isr()
1820 unsigned long head = ring_pos(mci->ring_head, ARRAY_SIZE(mci->err_ctx)); in thunderx_l2c_mci_isr()
1841 unsigned long tail = ring_pos(l2c->ring_tail, ARRAY_SIZE(l2c->err_ctx)); in thunderx_l2c_threaded_isr()