Home
last modified time | relevance | path

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

/linux-6.12.1/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.c8603 static struct lcb_datum lcb_cache[] = { variable
8615 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in update_lcb_cache()
8616 ret = read_lcb_csr(dd, lcb_cache[i].off, &val); in update_lcb_cache()
8620 lcb_cache[i].val = val; in update_lcb_cache()
8628 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in read_lcb_cache()
8629 if (lcb_cache[i].off == off) { in read_lcb_cache()
8630 *val = lcb_cache[i].val; in read_lcb_cache()