Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_init.c64 module_param_named(cfgctxts, qib_cfgctxts, ushort, S_IRUGO);
65 MODULE_PARM_DESC(cfgctxts, "Set max number of contexts to use");
104 dd->cfgctxts = dd->first_user_ctxt + num_online_cpus(); in qib_set_ctxtcnt()
105 if (dd->cfgctxts > dd->ctxtcnt) in qib_set_ctxtcnt()
106 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
108 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
110 dd->cfgctxts = qib_cfgctxts; in qib_set_ctxtcnt()
112 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
113 dd->freectxts = (dd->first_user_ctxt > dd->cfgctxts) ? 0 : in qib_set_ctxtcnt()
114 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()
473 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in qib_cancel_sends()
Dqib_file_ops.c152 kinfo->spi_nctxts = dd->cfgctxts; in qib_get_base_info()
1331 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts && dd->rcd[ctxt]; in choose_port_ctxt()
1334 if (ctxt == dd->cfgctxts) { in choose_port_ctxt()
1402 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; in get_a_ctxt()
1449 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in find_shared_ctxt()
1830 info.num_ctxts = rcd->dd->cfgctxts - rcd->dd->first_user_ctxt; in qib_ctxt_info()
1920 for (ctxt = ppd->dd->first_user_ctxt; ctxt < ppd->dd->cfgctxts; in qib_set_uevent_bits()
Dqib_intr.c197 for (i = dd->first_user_ctxt; dd->rcd && i < dd->cfgctxts; i++) { in qib_handle_urcv()
Dqib_sysfs.c567 (dd->first_user_ctxt > dd->cfgctxts) ? 0 : in show_nctxts()
568 (dd->cfgctxts - dd->first_user_ctxt)); in show_nctxts()
Dqib_driver.c778 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in qib_reset_device()
Dqib_diag.c259 u32 ulim = (dd->cfgctxts * dd->ureg_align) + dd->uregbase; in qib_remap_ioaddr32()
Dqib_iba7220.c2830 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_7220_mod()
3165 for (i = 0, s = (char *)cntr7220names; s && j <= dd->cfgctxts; in init_7220_cntrnames()
4168 (dd->cfgctxts - dd->first_user_ctxt); in qib_init_7220_variables()
4432 && i < dd->cfgctxts; i++) in qib_7220_txchk_change()
4438 if (i == dd->cfgctxts) { in qib_7220_txchk_change()
Dqib.h857 u32 cfgctxts; member
Dqib_iba7322.c4289 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_7322_mod()
4702 for (i = 0, s = (char *)cntr7322names; s && j <= dd->cfgctxts; in init_7322_cntrnames()
6066 for (i = 0; i < dd->cfgctxts; i++) { in write_7322_initregs()
6392 dd->pbufsctxt = (dd->cfgctxts > dd->first_user_ctxt) ? in qib_init_7322_variables()
6393 dd->lastctxt_piobuf / (dd->cfgctxts - dd->first_user_ctxt) : 0; in qib_init_7322_variables()
6739 && i < dd->cfgctxts; i++) in qib_7322_txchk_change()
6745 if (i == dd->cfgctxts) { in qib_7322_txchk_change()
Dqib_iba6120.c2214 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_6120_mod()
2517 for (i = 0, s = (char *)cntr6120names; s && j <= dd->cfgctxts; in init_6120_cntrnames()
3335 (dd->cfgctxts - dd->first_user_ctxt); in init_6120_variables()