Lines Matching refs:txp
103 struct qib_sdma_txreq *txp, *txp_next; in clear_sdma_activelist() local
105 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist()
106 list_del_init(&txp->list); in clear_sdma_activelist()
107 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) { in clear_sdma_activelist()
110 idx = txp->start_idx; in clear_sdma_activelist()
111 while (idx != txp->next_descq_idx) { in clear_sdma_activelist()
117 if (txp->callback) in clear_sdma_activelist()
118 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_ABORTED); in clear_sdma_activelist()
328 struct qib_sdma_txreq *txp = NULL; in qib_sdma_make_progress() local
344 txp = list_entry(lp, struct qib_sdma_txreq, list); in qib_sdma_make_progress()
345 idx = txp->start_idx; in qib_sdma_make_progress()
350 if (txp && (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) && in qib_sdma_make_progress()
365 if (txp && txp->next_descq_idx == ppd->sdma_descq_head) { in qib_sdma_make_progress()
367 list_del_init(&txp->list); in qib_sdma_make_progress()
368 if (txp->callback) in qib_sdma_make_progress()
369 (*txp->callback)(txp, QIB_SDMA_TXREQ_S_OK); in qib_sdma_make_progress()
372 txp = NULL; in qib_sdma_make_progress()
375 txp = list_entry(lp, struct qib_sdma_txreq, in qib_sdma_make_progress()
377 idx = txp->start_idx; in qib_sdma_make_progress()
683 struct qib_sdma_txreq *txp, *txpnext; in dump_sdma_state() local
726 list_for_each_entry_safe(txp, txpnext, &ppd->sdma_activelist, in dump_sdma_state()
730 txp->start_idx, txp->next_descq_idx); in dump_sdma_state()