Lines Matching refs:rcd
1667 crcs += qib_kreceive(dd->rcd[i], in qib_6120intr()
1979 struct qib_ctxtdata *rcd) in qib_6120_clear_tids() argument
1986 if (!dd->kregbase || !rcd) in qib_6120_clear_tids()
1989 ctxt = rcd->ctxt; in qib_6120_clear_tids()
2005 rcd->rcvegr_tid_base * sizeof(*tidbase)); in qib_6120_clear_tids()
2007 for (i = 0; i < rcd->rcvegrcnt; i++) in qib_6120_clear_tids()
2052 static int qib_6120_get_base_info(struct qib_ctxtdata *rcd, in qib_6120_get_base_info() argument
2084 static void qib_update_6120_usrhead(struct qib_ctxtdata *rcd, u64 hd, in qib_update_6120_usrhead() argument
2088 qib_write_ureg(rcd->dd, ur_rcvegrindexhead, egrhd, rcd->ctxt); in qib_update_6120_usrhead()
2090 qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); in qib_update_6120_usrhead()
2094 static u32 qib_6120_hdrqempty(struct qib_ctxtdata *rcd) in qib_6120_hdrqempty() argument
2098 head = qib_read_ureg32(rcd->dd, ur_rcvhdrhead, rcd->ctxt); in qib_6120_hdrqempty()
2099 if (rcd->rcvhdrtail_kvaddr) in qib_6120_hdrqempty()
2100 tail = qib_get_rcvhdrtail(rcd); in qib_6120_hdrqempty()
2102 tail = qib_read_ureg32(rcd->dd, ur_rcvhdrtail, rcd->ctxt); in qib_6120_hdrqempty()
2114 dd->rcd[0]->rcvhdrq_size, in alloc_dummy_hdrq()
2159 dd->rcd[ctxt]->rcvhdrqtailaddr_phys); in rcvctrl_6120_mod()
2161 dd->rcd[ctxt]->rcvhdrq_phys); in rcvctrl_6120_mod()
2190 dd->rcd[ctxt]->head = val; in rcvctrl_6120_mod()
3446 static void qib_6120_init_ctxt(struct qib_ctxtdata *rcd) in qib_6120_init_ctxt() argument
3448 rcd->rcvegrcnt = rcd->dd->rcvhdrcnt; in qib_6120_init_ctxt()
3449 rcd->rcvegr_tid_base = rcd->ctxt * rcd->rcvegrcnt; in qib_6120_init_ctxt()
3453 u32 len, u32 avail, struct qib_ctxtdata *rcd) in qib_6120_txchk_change() argument