Home
last modified time | relevance | path

Searched refs:cfgctxts (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_init.c71 module_param_named(cfgctxts, qib_cfgctxts, ushort, S_IRUGO);
72 MODULE_PARM_DESC(cfgctxts, "Set max number of contexts to use");
105 dd->cfgctxts = dd->first_user_ctxt + num_online_cpus(); in qib_set_ctxtcnt()
106 if (dd->cfgctxts > dd->ctxtcnt) in qib_set_ctxtcnt()
107 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
109 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
111 dd->cfgctxts = qib_cfgctxts; in qib_set_ctxtcnt()
113 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
114 dd->freectxts = (dd->first_user_ctxt > dd->cfgctxts) ? 0 : in qib_set_ctxtcnt()
115 dd->cfgctxts - dd->first_user_ctxt; in qib_set_ctxtcnt()
[all …]
Dqib_tx.c139 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in find_ctxt()
470 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in qib_cancel_sends()
Dqib_intr.c196 for (i = dd->first_user_ctxt; dd->rcd && i < dd->cfgctxts; i++) { in qib_handle_urcv()
Dqib_file_ops.c158 kinfo->spi_nctxts = dd->cfgctxts; in qib_get_base_info()
1367 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts && dd->rcd[ctxt]; in choose_port_ctxt()
1370 if (ctxt == dd->cfgctxts) { in choose_port_ctxt()
1441 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; in get_a_ctxt()
1489 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in find_shared_ctxt()
1894 info.num_ctxts = rcd->dd->cfgctxts - rcd->dd->first_user_ctxt; in qib_ctxt_info()
1984 for (ctxt = ppd->dd->first_user_ctxt; ctxt < ppd->dd->cfgctxts; in qib_set_uevent_bits()
Dqib_sysfs.c626 (dd->first_user_ctxt > dd->cfgctxts) ? 0 : in nctxts_show()
627 (dd->cfgctxts - dd->first_user_ctxt)); in nctxts_show()
Dqib_driver.c763 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in qib_reset_device()
Dqib_iba7220.c2797 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_7220_mod()
3132 for (i = 0, s = (char *)cntr7220names; s && j <= dd->cfgctxts; in init_7220_cntrnames()
4109 (dd->cfgctxts - dd->first_user_ctxt); in qib_init_7220_variables()
4372 && i < dd->cfgctxts; i++) in qib_7220_txchk_change()
4378 if (i == dd->cfgctxts) { in qib_7220_txchk_change()
Dqib_diag.c259 u32 ulim = (dd->cfgctxts * dd->ureg_align) + dd->uregbase; in qib_remap_ioaddr32()
Dqib.h867 u32 cfgctxts; member
Dqib_iba6120.c2177 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_6120_mod()
2480 for (i = 0, s = (char *)cntr6120names; s && j <= dd->cfgctxts; in init_6120_cntrnames()
3276 (dd->cfgctxts - dd->first_user_ctxt); in init_6120_variables()
Dqib_iba7322.c4581 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_7322_mod()
4994 for (i = 0, s = (char *)cntr7322names; s && j <= dd->cfgctxts; in init_7322_cntrnames()
6351 for (i = 0; i < dd->cfgctxts; i++) { in write_7322_initregs()
6678 dd->pbufsctxt = (dd->cfgctxts > dd->first_user_ctxt) ? in qib_init_7322_variables()
6679 dd->lastctxt_piobuf / (dd->cfgctxts - dd->first_user_ctxt) : 0; in qib_init_7322_variables()
7104 && i < dd->cfgctxts; i++) in qib_7322_txchk_change()
7110 if (i == dd->cfgctxts) { in qib_7322_txchk_change()