Lines Matching refs:txp
103 struct qib_sdma_txreq *txp, *txp_next;
105 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) {
106 list_del_init(&txp->list);
107 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) {
110 idx = txp->start_idx;
111 while (idx != txp->next_descq_idx) {
117 if (txp->callback)
118 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_ABORTED);
328 struct qib_sdma_txreq *txp = NULL;
339 * the next txp on the list.
344 txp = list_entry(lp, struct qib_sdma_txreq, list);
345 idx = txp->start_idx;
349 /* if desc is part of this txp, unmap if needed */
350 if (txp && (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) &&
364 /* if now past this txp's descs, do the callback */
365 if (txp && txp->next_descq_idx == ppd->sdma_descq_head) {
367 list_del_init(&txp->list);
368 if (txp->callback)
369 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_OK);
370 /* see if there is another txp */
372 txp = NULL;
375 txp = list_entry(lp, struct qib_sdma_txreq,
377 idx = txp->start_idx;
683 struct qib_sdma_txreq *txp, *txpnext;
726 list_for_each_entry_safe(txp, txpnext, &ppd->sdma_activelist,
729 "SDMA txp->start_idx: %u txp->next_descq_idx: %u\n",
730 txp->start_idx, txp->next_descq_idx);