Searched refs:nchipctxts (Results 1 – 2 of 2) sorted by relevance
2270 u32 nchipctxts; in qib_7220_config_ctxts() local2272 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()
3901 u32 nchipctxts; in qib_7322_config_ctxts() local3903 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()