Home
last modified time | relevance | path

Searched refs:nchipctxts (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_iba7220.c2270 u32 nchipctxts; in qib_7220_config_ctxts() local
2272 nchipctxts = qib_read_kreg32(dd, kr_portcnt); in qib_7220_config_ctxts()
2273 dd->cspec->numctxts = nchipctxts; in qib_7220_config_ctxts()
2277 if (dd->first_user_ctxt > nchipctxts) in qib_7220_config_ctxts()
2278 dd->first_user_ctxt = nchipctxts; in qib_7220_config_ctxts()
2290 else if (nctxts <= nchipctxts) in qib_7220_config_ctxts()
2291 dd->ctxtcnt = nchipctxts; in qib_7220_config_ctxts()
2292 } else if (qib_cfgctxts <= nchipctxts) in qib_7220_config_ctxts()
2295 dd->ctxtcnt = nchipctxts; in qib_7220_config_ctxts()
Dqib_iba7322.c3901 u32 nchipctxts; in qib_7322_config_ctxts() local
3903 nchipctxts = qib_read_kreg32(dd, kr_contextcnt); in qib_7322_config_ctxts()
3904 dd->cspec->numctxts = nchipctxts; in qib_7322_config_ctxts()
3908 if (dd->first_user_ctxt > nchipctxts) in qib_7322_config_ctxts()
3909 dd->first_user_ctxt = nchipctxts; in qib_7322_config_ctxts()
3923 else if (nctxts <= nchipctxts) in qib_7322_config_ctxts()
3924 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()
3927 else if (qib_cfgctxts <= nchipctxts) in qib_7322_config_ctxts()
3930 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()