cred_vl 2318 drivers/infiniband/hw/qib/qib_iba7322.c int i, numvls, totcred, cred_vl, vl0extra; cred_vl 2332 drivers/infiniband/hw/qib/qib_iba7322.c cred_vl = (2 * 288 + RCV_BUF_UNITSZ - 1) / RCV_BUF_UNITSZ; cred_vl 2333 drivers/infiniband/hw/qib/qib_iba7322.c totcred -= cred_vl; cred_vl 2334 drivers/infiniband/hw/qib/qib_iba7322.c qib_write_kreg_port(ppd, krp_rxcreditvl15, (u64) cred_vl); cred_vl 2335 drivers/infiniband/hw/qib/qib_iba7322.c cred_vl = totcred / numvls; cred_vl 2336 drivers/infiniband/hw/qib/qib_iba7322.c vl0extra = totcred - cred_vl * numvls; cred_vl 2337 drivers/infiniband/hw/qib/qib_iba7322.c qib_write_kreg_port(ppd, krp_rxcreditvl0, cred_vl + vl0extra); cred_vl 2339 drivers/infiniband/hw/qib/qib_iba7322.c qib_write_kreg_port(ppd, krp_rxcreditvl0 + i, cred_vl);