Searched refs:ctxtcnt (Results 1 – 5 of 5) sorted by relevance
106 if (dd->cfgctxts > dd->ctxtcnt) in qib_set_ctxtcnt()107 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()109 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()110 else if (qib_cfgctxts <= dd->ctxtcnt) in qib_set_ctxtcnt()113 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()134 dd->rcd = kcalloc(dd->ctxtcnt, sizeof(*dd->rcd), GFP_KERNEL); in qib_create_ctxts()1361 for (ctxt = 0; tmp && ctxt < dd->ctxtcnt; ctxt++) { in cleanup_device_data()
2287 dd->ctxtcnt = 5; in qib_7220_config_ctxts()2289 dd->ctxtcnt = 9; in qib_7220_config_ctxts()2291 dd->ctxtcnt = nchipctxts; in qib_7220_config_ctxts()2293 dd->ctxtcnt = qib_cfgctxts; in qib_7220_config_ctxts()2294 if (!dd->ctxtcnt) /* none of the above, set to max */ in qib_7220_config_ctxts()2295 dd->ctxtcnt = nchipctxts; in qib_7220_config_ctxts()2303 if (dd->ctxtcnt > 9) in qib_7220_config_ctxts()2305 else if (dd->ctxtcnt > 5) in qib_7220_config_ctxts()2745 mask = (1ULL << dd->ctxtcnt) - 1; in rcvctrl_7220_mod()
3896 dd->ctxtcnt = 6; in qib_7322_config_ctxts()3898 dd->ctxtcnt = 10; in qib_7322_config_ctxts()3900 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()3902 dd->ctxtcnt = dd->num_pports; in qib_7322_config_ctxts()3904 dd->ctxtcnt = qib_cfgctxts; in qib_7322_config_ctxts()3905 if (!dd->ctxtcnt) /* none of the above, set to max */ in qib_7322_config_ctxts()3906 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()3914 if (dd->ctxtcnt > 10) in qib_7322_config_ctxts()3916 else if (dd->ctxtcnt > 6) in qib_7322_config_ctxts()4480 mask = (1ULL << dd->ctxtcnt) - 1; in rcvctrl_7322_mod()[all …]
2034 dd->ctxtcnt = qib_read_kreg32(dd, kr_portcnt); in qib_6120_config_ctxts()2037 if (dd->first_user_ctxt > dd->ctxtcnt) in qib_6120_config_ctxts()2038 dd->first_user_ctxt = dd->ctxtcnt; in qib_6120_config_ctxts()2108 mask = (1ULL << dd->ctxtcnt) - 1; in rcvctrl_6120_mod()
977 u32 ctxtcnt; member