Lines Matching refs:rcd

80 int qib_disarm_piobufs_ifneeded(struct qib_ctxtdata *rcd)  in qib_disarm_piobufs_ifneeded()  argument
82 struct qib_devdata *dd = rcd->dd; in qib_disarm_piobufs_ifneeded()
86 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded()
92 if (rcd->user_event_mask) { in qib_disarm_piobufs_ifneeded()
97 clear_bit(_QIB_EVENT_DISARM_BUFS_BIT, &rcd->user_event_mask[0]); in qib_disarm_piobufs_ifneeded()
98 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_disarm_piobufs_ifneeded()
100 &rcd->user_event_mask[i]); in qib_disarm_piobufs_ifneeded()
103 for (i = rcd->pio_base; i < last; i++) { in qib_disarm_piobufs_ifneeded()
105 dd->f_sendctrl(rcd->ppd, QIB_SENDCTRL_DISARM_BUF(i)); in qib_disarm_piobufs_ifneeded()
131 struct qib_ctxtdata *rcd; in find_ctxt() local
137 rcd = dd->rcd[ctxt]; in find_ctxt()
138 if (!rcd || bufn < rcd->pio_base || in find_ctxt()
139 bufn >= rcd->pio_base + rcd->piocnt) in find_ctxt()
141 if (rcd->user_event_mask) { in find_ctxt()
148 &rcd->user_event_mask[0]); in find_ctxt()
149 for (i = 1; i < rcd->subctxt_cnt; i++) in find_ctxt()
151 &rcd->user_event_mask[i]); in find_ctxt()
380 unsigned len, u32 avail, struct qib_ctxtdata *rcd) in qib_chg_pioavailkernel() argument
439 dd->f_txchk_change(dd, ostart, len, avail, rcd); in qib_chg_pioavailkernel()
454 struct qib_ctxtdata *rcd; in qib_cancel_sends() local
470 rcd = dd->rcd[ctxt]; in qib_cancel_sends()
471 if (rcd && rcd->ppd == ppd) { in qib_cancel_sends()
472 last = rcd->pio_base + rcd->piocnt; in qib_cancel_sends()
473 if (rcd->user_event_mask) { in qib_cancel_sends()
480 &rcd->user_event_mask[0]); in qib_cancel_sends()
481 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_cancel_sends()
483 &rcd->user_event_mask[i]); in qib_cancel_sends()
485 i = rcd->pio_base; in qib_cancel_sends()