Searched refs:sdma_descq_cnt (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 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() [all …]
|
D | qib_verbs.c | 818 if (ndesc >= ppd->sdma_descq_cnt) in qib_verbs_send_dma() 1516 if (ppd->sdma_descq_cnt) { in qib_register_ib_device() 1518 ppd->sdma_descq_cnt * in qib_register_ib_device() 1528 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() 1669 if (dd->pport->sdma_descq_cnt) in qib_unregister_ib_device() 1671 dd->pport->sdma_descq_cnt * in qib_unregister_ib_device()
|
D | qib_user_sdma.c | 1263 if (++tail == ppd->sdma_descq_cnt) { in qib_user_sdma_send_desc() 1267 } else if (tail == (ppd->sdma_descq_cnt>>1)) { in qib_user_sdma_send_desc() 1284 if (++dtail == ppd->sdma_descq_cnt) in qib_user_sdma_send_desc() 1306 if (!nfree || (nsent<<2) > ppd->sdma_descq_cnt) in qib_user_sdma_send_desc()
|
D | qib.h | 556 u16 sdma_descq_cnt; member 1314 return ppd->sdma_descq_cnt - in qib_sdma_descq_freecnt()
|
D | qib_iba7220.c | 872 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()
|
D | qib_iba7322.c | 1537 qib_write_kreg_port(ppd, krp_senddmalengen, ppd->sdma_descq_cnt); in qib_sdma_7322_setlengen() 1539 ppd->sdma_descq_cnt | in qib_sdma_7322_setlengen() 6928 cnt = ppd->sdma_descq_cnt; in qib_sdma_7322_gethead()
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 70 static uint sdma_descq_cnt = SDMA_DESCQ_CNT; variable 71 module_param(sdma_descq_cnt, uint, S_IRUGO); 72 MODULE_PARM_DESC(sdma_descq_cnt, "Number of SDMA descq entries"); 729 u16 count = sdma_descq_cnt; in sdma_get_descq_cnt()
|