Lines Matching refs:rcd
1995 qib_kreceive(dd->rcd[i], NULL, NULL); in qib_7220intr()
2222 struct qib_ctxtdata *rcd) in qib_7220_clear_tids() argument
2229 if (!dd->kregbase || !rcd) in qib_7220_clear_tids()
2232 ctxt = rcd->ctxt; in qib_7220_clear_tids()
2247 rcd->rcvegr_tid_base * sizeof(*tidbase)); in qib_7220_clear_tids()
2249 for (i = 0; i < rcd->rcvegrcnt; i++) in qib_7220_clear_tids()
2277 static int qib_7220_get_base_info(struct qib_ctxtdata *rcd, in qib_7220_get_base_info() argument
2283 if (rcd->dd->flags & QIB_USE_SPCL_TRIG) in qib_7220_get_base_info()
2732 static void qib_update_7220_usrhead(struct qib_ctxtdata *rcd, u64 hd, in qib_update_7220_usrhead() argument
2736 qib_write_ureg(rcd->dd, ur_rcvegrindexhead, egrhd, rcd->ctxt); in qib_update_7220_usrhead()
2738 qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); in qib_update_7220_usrhead()
2742 static u32 qib_7220_hdrqempty(struct qib_ctxtdata *rcd) in qib_7220_hdrqempty() argument
2746 head = qib_read_ureg32(rcd->dd, ur_rcvhdrhead, rcd->ctxt); in qib_7220_hdrqempty()
2747 if (rcd->rcvhdrtail_kvaddr) in qib_7220_hdrqempty()
2748 tail = qib_get_rcvhdrtail(rcd); in qib_7220_hdrqempty()
2750 tail = qib_read_ureg32(rcd->dd, ur_rcvhdrtail, rcd->ctxt); in qib_7220_hdrqempty()
2788 dd->rcd[ctxt]->rcvhdrqtailaddr_phys); in rcvctrl_7220_mod()
2790 dd->rcd[ctxt]->rcvhdrq_phys); in rcvctrl_7220_mod()
2791 dd->rcd[ctxt]->seq_cnt = 1; in rcvctrl_7220_mod()
2817 dd->rcd[ctxt]->head = val; in rcvctrl_7220_mod()
4408 static void qib_7220_init_ctxt(struct qib_ctxtdata *rcd) in qib_7220_init_ctxt() argument
4410 if (!rcd->ctxt) { in qib_7220_init_ctxt()
4411 rcd->rcvegrcnt = IBA7220_KRCVEGRCNT; in qib_7220_init_ctxt()
4412 rcd->rcvegr_tid_base = 0; in qib_7220_init_ctxt()
4414 rcd->rcvegrcnt = rcd->dd->cspec->rcvegrcnt; in qib_7220_init_ctxt()
4415 rcd->rcvegr_tid_base = IBA7220_KRCVEGRCNT + in qib_7220_init_ctxt()
4416 (rcd->ctxt - 1) * rcd->rcvegrcnt; in qib_7220_init_ctxt()
4421 u32 len, u32 which, struct qib_ctxtdata *rcd) in qib_7220_txchk_change() argument
4433 if (dd->rcd[i] && dd->rcd[i]->subctxt_cnt && in qib_7220_txchk_change()
4434 ((dd->rcd[i]->piocnt / dd->rcd[i]->subctxt_cnt) - 1) in qib_7220_txchk_change()
4451 if (rcd && rcd->subctxt_cnt && ((rcd->piocnt in qib_7220_txchk_change()
4452 / rcd->subctxt_cnt) - 1) < dd->cspec->updthresh) { in qib_7220_txchk_change()
4453 dd->cspec->updthresh = (rcd->piocnt / in qib_7220_txchk_change()
4454 rcd->subctxt_cnt) - 1; in qib_7220_txchk_change()