Searched refs:ctxtcnt (Results 1 – 5 of 5) sorted by relevance
107 if (dd->cfgctxts > dd->ctxtcnt) in qib_set_ctxtcnt()108 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()110 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()111 else if (qib_cfgctxts <= dd->ctxtcnt) in qib_set_ctxtcnt()114 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt()135 dd->rcd = kcalloc(dd->ctxtcnt, sizeof(*dd->rcd), GFP_KERNEL); in qib_create_ctxts()1395 for (ctxt = 0; tmp && ctxt < dd->ctxtcnt; ctxt++) { in cleanup_device_data()
2288 dd->ctxtcnt = 5; in qib_7220_config_ctxts()2290 dd->ctxtcnt = 9; in qib_7220_config_ctxts()2292 dd->ctxtcnt = nchipctxts; in qib_7220_config_ctxts()2294 dd->ctxtcnt = qib_cfgctxts; in qib_7220_config_ctxts()2295 if (!dd->ctxtcnt) /* none of the above, set to max */ in qib_7220_config_ctxts()2296 dd->ctxtcnt = nchipctxts; in qib_7220_config_ctxts()2304 if (dd->ctxtcnt > 9) in qib_7220_config_ctxts()2306 else if (dd->ctxtcnt > 5) in qib_7220_config_ctxts()2748 mask = (1ULL << dd->ctxtcnt) - 1; in rcvctrl_7220_mod()
3922 dd->ctxtcnt = 6; in qib_7322_config_ctxts()3924 dd->ctxtcnt = 10; in qib_7322_config_ctxts()3926 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()3928 dd->ctxtcnt = dd->num_pports; in qib_7322_config_ctxts()3930 dd->ctxtcnt = qib_cfgctxts; in qib_7322_config_ctxts()3931 if (!dd->ctxtcnt) /* none of the above, set to max */ in qib_7322_config_ctxts()3932 dd->ctxtcnt = nchipctxts; in qib_7322_config_ctxts()3940 if (dd->ctxtcnt > 10) in qib_7322_config_ctxts()3942 else if (dd->ctxtcnt > 6) in qib_7322_config_ctxts()4508 mask = (1ULL << dd->ctxtcnt) - 1; in rcvctrl_7322_mod()[all …]
2040 dd->ctxtcnt = qib_read_kreg32(dd, kr_portcnt); in qib_6120_config_ctxts()2043 if (dd->first_user_ctxt > dd->ctxtcnt) in qib_6120_config_ctxts()2044 dd->first_user_ctxt = dd->ctxtcnt; in qib_6120_config_ctxts()2116 mask = (1ULL << dd->ctxtcnt) - 1; in rcvctrl_6120_mod()
980 u32 ctxtcnt; member