Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dmad.c752 static struct lcb_datum lcb_cache[] = { variable
760 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in write_lcb_cache()
761 if (lcb_cache[i].off == off) { in write_lcb_cache()
762 lcb_cache[i].val = val; in write_lcb_cache()
775 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in read_lcb_cache()
776 if (lcb_cache[i].off == off) { in read_lcb_cache()
777 *val = lcb_cache[i].val; in read_lcb_cache()
Dchip.c8642 static struct lcb_datum lcb_cache[] = { variable
8654 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in update_lcb_cache()
8655 ret = read_lcb_csr(dd, lcb_cache[i].off, &val); in update_lcb_cache()
8659 lcb_cache[i].val = val; in update_lcb_cache()
8667 for (i = 0; i < ARRAY_SIZE(lcb_cache); i++) { in read_lcb_cache()
8668 if (lcb_cache[i].off == off) { in read_lcb_cache()
8669 *val = lcb_cache[i].val; in read_lcb_cache()