Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dmad.c710 static struct lcb_datum lcb_cache[] = { variable
718 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in write_lcb_cache()
719 if (lcb_cache[i].off == off) { in write_lcb_cache()
720 lcb_cache[i].val = val; in write_lcb_cache()
733 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in read_lcb_cache()
734 if (lcb_cache[i].off == off) { in read_lcb_cache()
735 *val = lcb_cache[i].val; in read_lcb_cache()
Dchip.c8601 static struct lcb_datum lcb_cache[] = { variable
8613 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in update_lcb_cache()
8614 ret = read_lcb_csr(dd, lcb_cache[i].off, &val); in update_lcb_cache()
8618 lcb_cache[i].val = val; in update_lcb_cache()
8626 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in read_lcb_cache()
8627 if (lcb_cache[i].off == off) { in read_lcb_cache()
8628 *val = lcb_cache[i].val; in read_lcb_cache()