Home
last modified time | relevance | path

Searched refs:sdma_descq_cnt (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_sdma.c42 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()
[all …]
Dqib_verbs.c818 if (ndesc >= ppd->sdma_descq_cnt) in qib_verbs_send_dma()
1517 if (ppd->sdma_descq_cnt) { in qib_register_ib_device()
1519 ppd->sdma_descq_cnt * in qib_register_ib_device()
1529 for (i = 0; i < ppd->sdma_descq_cnt; i++) { in qib_register_ib_device()
1633 if (ppd->sdma_descq_cnt) in qib_register_ib_device()
1635 ppd->sdma_descq_cnt * in qib_register_ib_device()
1667 if (dd->pport->sdma_descq_cnt) in qib_unregister_ib_device()
1669 dd->pport->sdma_descq_cnt * in qib_unregister_ib_device()
Dqib_user_sdma.c1271 if (++tail == ppd->sdma_descq_cnt) { in qib_user_sdma_send_desc()
1275 } else if (tail == (ppd->sdma_descq_cnt>>1)) { in qib_user_sdma_send_desc()
1292 if (++dtail == ppd->sdma_descq_cnt) in qib_user_sdma_send_desc()
1314 if (!nfree || (nsent<<2) > ppd->sdma_descq_cnt) in qib_user_sdma_send_desc()
Dqib.h552 u16 sdma_descq_cnt; member
1305 return ppd->sdma_descq_cnt - in qib_sdma_descq_freecnt()
Dqib_iba7220.c872 qib_write_kreg(ppd->dd, kr_senddmalengen, ppd->sdma_descq_cnt); in qib_sdma_7220_setlengen()
874 ppd->sdma_descq_cnt | in qib_sdma_7220_setlengen()
4283 cnt = ppd->sdma_descq_cnt; in qib_sdma_7220_gethead()
Dqib_iba7322.c1515 qib_write_kreg_port(ppd, krp_senddmalengen, ppd->sdma_descq_cnt); in qib_sdma_7322_setlengen()
1517 ppd->sdma_descq_cnt | in qib_sdma_7322_setlengen()
6899 cnt = ppd->sdma_descq_cnt; in qib_sdma_7322_gethead()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dsdma.c28 static uint sdma_descq_cnt = SDMA_DESCQ_CNT; variable
29 module_param(sdma_descq_cnt, uint, S_IRUGO);
30 MODULE_PARM_DESC(sdma_descq_cnt, "Number of SDMA descq entries");
687 u16 count = sdma_descq_cnt; in sdma_get_descq_cnt()