Home
last modified time | relevance | path

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

/Linux-v6.6/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.c3877 u32 nchipctxts; in qib_7322_config_ctxts() local
3879 nchipctxts = qib_read_kreg32(dd, kr_contextcnt); in qib_7322_config_ctxts()
3880 dd->cspec->numctxts = nchipctxts; in qib_7322_config_ctxts()
3884 if (dd->first_user_ctxt > nchipctxts) in qib_7322_config_ctxts()
3885 dd->first_user_ctxt = nchipctxts; in qib_7322_config_ctxts()
3899 else if (nctxts <= nchipctxts) in qib_7322_config_ctxts()
3900 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()
3903 else if (qib_cfgctxts <= nchipctxts) in qib_7322_config_ctxts()
3906 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()