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()
87 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded()
93 if (rcd->user_event_mask) { in qib_disarm_piobufs_ifneeded()
98 clear_bit(_QIB_EVENT_DISARM_BUFS_BIT, &rcd->user_event_mask[0]); in qib_disarm_piobufs_ifneeded()
99 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_disarm_piobufs_ifneeded()
101 &rcd->user_event_mask[i]); in qib_disarm_piobufs_ifneeded()
104 for (i = rcd->pio_base; i < last; i++) { in qib_disarm_piobufs_ifneeded()
107 dd->f_sendctrl(rcd->ppd, QIB_SENDCTRL_DISARM_BUF(i)); in qib_disarm_piobufs_ifneeded()
134 struct qib_ctxtdata *rcd; in find_ctxt() local
140 rcd = dd->rcd[ctxt]; in find_ctxt()
141 if (!rcd || bufn < rcd->pio_base || in find_ctxt()
142 bufn >= rcd->pio_base + rcd->piocnt) in find_ctxt()
144 if (rcd->user_event_mask) { in find_ctxt()
151 &rcd->user_event_mask[0]); in find_ctxt()
152 for (i = 1; i < rcd->subctxt_cnt; i++) in find_ctxt()
154 &rcd->user_event_mask[i]); in find_ctxt()
383 unsigned len, u32 avail, struct qib_ctxtdata *rcd) in qib_chg_pioavailkernel() argument
442 dd->f_txchk_change(dd, ostart, len, avail, rcd); in qib_chg_pioavailkernel()
457 struct qib_ctxtdata *rcd; in qib_cancel_sends() local
473 rcd = dd->rcd[ctxt]; in qib_cancel_sends()
474 if (rcd && rcd->ppd == ppd) { in qib_cancel_sends()
475 last = rcd->pio_base + rcd->piocnt; in qib_cancel_sends()
476 if (rcd->user_event_mask) { in qib_cancel_sends()
483 &rcd->user_event_mask[0]); in qib_cancel_sends()
484 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_cancel_sends()
486 &rcd->user_event_mask[i]); in qib_cancel_sends()
488 i = rcd->pio_base; in qib_cancel_sends()