Lines Matching refs:sdma_descq_cnt
42 static ushort sdma_descq_cnt = 256; variable
43 module_param_named(sdma_descq_cnt, sdma_descq_cnt, ushort, S_IRUGO);
44 MODULE_PARM_DESC(sdma_descq_cnt, "Number of SDMA descq entries");
113 if (++idx == ppd->sdma_descq_cnt) in clear_sdma_activelist()
247 ppd->sdma_descq_cnt = sdma_descq_cnt; in alloc_sdma()
248 if (!ppd->sdma_descq_cnt) in alloc_sdma()
249 ppd->sdma_descq_cnt = 256; in alloc_sdma()
253 ppd->sdma_descq_cnt * sizeof(u64[2]), &ppd->sdma_descq_phys, in alloc_sdma()
275 ppd->sdma_descq_cnt * sizeof(u64[2]), (void *)ppd->sdma_descq, in alloc_sdma()
280 ppd->sdma_descq_cnt = 0; in alloc_sdma()
298 ppd->sdma_descq_cnt * sizeof(u64[2]), in free_sdma()
353 if (++idx == ppd->sdma_descq_cnt) in qib_sdma_make_progress()
361 if (++ppd->sdma_descq_head == ppd->sdma_descq_cnt) in qib_sdma_make_progress()
539 ppd->sdma_descq_cnt / 2); in qib_sdma_verbs_send()
557 if (++tail == ppd->sdma_descq_cnt) { in qib_sdma_verbs_send()
587 if (++tail == ppd->sdma_descq_cnt) { in qib_sdma_verbs_send()
598 descqp = &ppd->sdma_descq[ppd->sdma_descq_cnt].qw[0]; in qib_sdma_verbs_send()
616 tail = ppd->sdma_descq_cnt - 1; in qib_sdma_verbs_send()
721 if (++head == ppd->sdma_descq_cnt) in dump_sdma_state()