Lines Matching defs:n_bd
3669 s += q->n_bd;
3676 static inline int ipw_queue_inc_wrap(int index, int n_bd)
3678 return (++index == n_bd) ? 0 : index;
3698 q->n_bd = count;
3700 q->low_mark = q->n_bd / 4;
3704 q->high_mark = q->n_bd / 8;
3799 if (q->n_bd == 0)
3804 q->last_used = ipw_queue_inc_wrap(q->last_used, q->n_bd)) {
3809 dma_free_coherent(&dev->dev, sizeof(txq->bd[0]) * q->n_bd, txq->bd,
4968 if (hw_tail >= q->n_bd) {
4971 hw_tail, q->n_bd);
4975 q->last_used = ipw_queue_inc_wrap(q->last_used, q->n_bd)) {
4985 used += q->n_bd;
5012 q->first_empty = ipw_queue_inc_wrap(q->first_empty, q->n_bd);
10218 q->first_empty = ipw_queue_inc_wrap(q->first_empty, q->n_bd);