Home
last modified time | relevance | path

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

/linux/drivers/edac/
H A Dthunderx_edac.c208 #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()
1074 unsigned long head = ring_pos(ocx->com_ring_head, in thunderx_ocx_com_isr()
1118 tail = ring_pos(ocx->com_ring_tail, in thunderx_ocx_com_threaded_isr()
1165 unsigned long head = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_isr()
1199 tail = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_threaded_isr()
1757 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1789 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx)); in thunderx_l2c_cbc_isr()
1818 unsigned long head = ring_pos(mci->ring_head, ARRAY_SIZE(mci->err_ctx)); in thunderx_l2c_mci_isr()
[all …]