Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A Dthunderx_edac.c214 #define ring_pos(pos, size) ((pos) & (size - 1)) macro
550 unsigned long head = ring_pos(lmc->ring_head, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_err_isr()
595 tail = ring_pos(lmc->ring_tail, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_threaded_isr()
1082 unsigned long head = ring_pos(ocx->com_ring_head, in thunderx_ocx_com_isr()
1126 tail = ring_pos(ocx->com_ring_tail, in thunderx_ocx_com_threaded_isr()
1173 unsigned long head = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_isr()
1207 tail = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_threaded_isr()
1766 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1798 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx)); in thunderx_l2c_cbc_isr()
1827 unsigned long head = ring_pos(mci->ring_head, ARRAY_SIZE(mci->err_ctx)); in thunderx_l2c_mci_isr()
[all …]