Lines Matching defs:ndesc
878 unsigned int flits, ndesc;
904 ndesc = flits_to_desc(flits);
905 credits = txq_avail(&q->q) - ndesc;
992 last_desc = q->q.pidx + ndesc - 1;
999 txq_advance(&q->q, ndesc);
1001 ring_tx_db(adap, &q->q, ndesc);
1066 unsigned int ndesc;
1075 ndesc = DIV_ROUND_UP(skb->len, sizeof(struct tx_desc));
1079 skb->priority = ndesc; /* save for restart */
1088 txq_advance(&q->q, ndesc);
1092 ring_tx_db(q->adap, &q->q, ndesc);
1117 unsigned int ndesc = skb->priority; /* previously saved */
1129 written += ndesc;
1130 txq_advance(&q->q, ndesc);
1249 unsigned int flits, ndesc;
1261 ndesc = flits_to_desc(flits);
1262 credits = txq_avail(&q->q) - ndesc;
1286 last_desc = q->q.pidx + ndesc - 1;
1292 txq_advance(&q->q, ndesc);
1293 written += ndesc;