Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_init.c59 module_param_named(cfgctxts, qib_cfgctxts, ushort, S_IRUGO);
60 MODULE_PARM_DESC(cfgctxts, "Set max number of contexts to use");
96 dd->cfgctxts = dd->first_user_ctxt + num_online_cpus(); in qib_set_ctxtcnt()
97 if (dd->cfgctxts > dd->ctxtcnt) in qib_set_ctxtcnt()
98 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
100 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
102 dd->cfgctxts = qib_cfgctxts; in qib_set_ctxtcnt()
104 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()
276 pages = vzalloc(dd->cfgctxts * dd->rcvtidcnt * sizeof(struct page *)); in init_shadow_tids()
283 addrs = vzalloc(dd->cfgctxts * dd->rcvtidcnt * sizeof(dma_addr_t)); in init_shadow_tids()
[all …]
Dqib_tx.c139 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in find_ctxt()
464 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in qib_cancel_sends()
Dqib_intr.c197 for (i = dd->first_user_ctxt; dd->rcd && i < dd->cfgctxts; i++) { in qib_handle_urcv()
Dqib_file_ops.c149 kinfo->spi_nctxts = dd->cfgctxts; in qib_get_base_info()
1325 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts && dd->rcd[ctxt]; in choose_port_ctxt()
1328 if (ctxt == dd->cfgctxts) { in choose_port_ctxt()
1396 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; in get_a_ctxt()
1443 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in find_shared_ctxt()
1824 info.num_ctxts = rcd->dd->cfgctxts - rcd->dd->first_user_ctxt; in qib_ctxt_info()
1914 for (ctxt = ppd->dd->first_user_ctxt; ctxt < ppd->dd->cfgctxts; in qib_set_uevent_bits()
Dqib_driver.c772 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in qib_reset_device()
Dqib_sysfs.c506 return scnprintf(buf, PAGE_SIZE, "%u\n", dd->cfgctxts - in show_nctxts()
Dqib_diag.c256 u32 ulim = (dd->cfgctxts * dd->ureg_align) + dd->uregbase; in qib_remap_ioaddr32()
Dqib_iba7220.c2823 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_7220_mod()
3158 for (i = 0, s = (char *)cntr7220names; s && j <= dd->cfgctxts; in init_7220_cntrnames()
4161 (dd->cfgctxts - dd->first_user_ctxt); in qib_init_7220_variables()
4425 && i < dd->cfgctxts; i++) in qib_7220_txchk_change()
4431 if (i == dd->cfgctxts) { in qib_7220_txchk_change()
Dqib.h822 u32 cfgctxts; member
Dqib_iba6120.c2206 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_6120_mod()
2509 for (i = 0, s = (char *)cntr6120names; s && j <= dd->cfgctxts; in init_6120_cntrnames()
3326 (dd->cfgctxts - dd->first_user_ctxt); in init_6120_variables()
Dqib_iba7322.c4281 for (i = 0; i < dd->cfgctxts; i++) { in rcvctrl_7322_mod()
4694 for (i = 0, s = (char *)cntr7322names; s && j <= dd->cfgctxts; in init_7322_cntrnames()
6064 for (i = 0; i < dd->cfgctxts; i++) { in write_7322_initregs()
6387 dd->pbufsctxt = (dd->cfgctxts > dd->first_user_ctxt) ? in qib_init_7322_variables()
6388 dd->lastctxt_piobuf / (dd->cfgctxts - dd->first_user_ctxt) : 0; in qib_init_7322_variables()
6734 && i < dd->cfgctxts; i++) in qib_7322_txchk_change()
6740 if (i == dd->cfgctxts) { in qib_7322_txchk_change()