Home
last modified time | relevance | path

Searched refs:first_user_ctxt (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_debugfs.c111 for (j = 0; j < dd->first_user_ctxt; j++) { in _opcode_stats_seq_show()
135 if (*pos >= dd->first_user_ctxt) in DEBUGFS_FILE()
149 if (*pos >= dd->first_user_ctxt) in _ctx_stats_seq_next()
Dqib_init.c106 dd->cfgctxts = dd->first_user_ctxt + num_online_cpus(); in qib_set_ctxtcnt()
115 dd->freectxts = (dd->first_user_ctxt > dd->cfgctxts) ? 0 : in qib_set_ctxtcnt()
116 dd->cfgctxts - dd->first_user_ctxt; in qib_set_ctxtcnt()
140 for (i = 0; i < dd->first_user_ctxt; ++i) { in qib_create_ctxts()
182 if (ctxt < dd->first_user_ctxt) { /* N/A for PSM contexts */ in qib_create_ctxtdata()
488 for (i = 0; dd->rcd && i < dd->first_user_ctxt; ++i) { in enable_chip()
541 uctxts = dd->cfgctxts - dd->first_user_ctxt; in init_piobuf_state()
669 for (i = 0; dd->rcd && i < dd->first_user_ctxt; ++i) { in qib_init()
1587 gfp_flags = (rcd->ctxt >= dd->first_user_ctxt) ? in qib_create_rcvhdrq()
1604 if (rcd->ctxt >= dd->first_user_ctxt) { in qib_create_rcvhdrq()
Dqib_tx.c139 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in find_ctxt()
470 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in qib_cancel_sends()
Dqib_intr.c196 for (i = dd->first_user_ctxt; dd->rcd && i < dd->cfgctxts; i++) { in qib_handle_urcv()
Dqib_iba6120.c1643 for (i = 0; i < dd->first_user_ctxt; i++) { in qib_6120intr()
2042 dd->first_user_ctxt = qib_n_krcv_queues * dd->num_pports; 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()
2045 dd->qpn_mask = dd->first_user_ctxt <= 2 ? 2 : 6; in qib_6120_config_ctxts()
2047 dd->first_user_ctxt = dd->num_pports; in qib_6120_config_ctxts()
2048 dd->n_krcv_queues = dd->first_user_ctxt; in qib_6120_config_ctxts()
2159 if (ctxt < dd->first_user_ctxt) in rcvctrl_6120_mod()
2340 for (i = 0; i < dd->first_user_ctxt; i++) in qib_portcntr_6120()
3281 (dd->cfgctxts - dd->first_user_ctxt); in init_6120_variables()
Dqib_iba7220.c1975 for (i = 0; i < dd->first_user_ctxt; i++) { in qib_7220intr()
2277 dd->first_user_ctxt = qib_n_krcv_queues * dd->num_pports; in qib_7220_config_ctxts()
2278 if (dd->first_user_ctxt > nchipctxts) in qib_7220_config_ctxts()
2279 dd->first_user_ctxt = nchipctxts; in qib_7220_config_ctxts()
2281 dd->first_user_ctxt = dd->num_pports; in qib_7220_config_ctxts()
2282 dd->n_krcv_queues = dd->first_user_ctxt; in qib_7220_config_ctxts()
2285 int nctxts = dd->first_user_ctxt + num_online_cpus(); in qib_7220_config_ctxts()
2789 if (ctxt < dd->first_user_ctxt) in rcvctrl_7220_mod()
2959 for (i = 0; i < dd->first_user_ctxt; i++) in qib_portcntr_7220()
4113 (dd->cfgctxts - dd->first_user_ctxt); in qib_init_7220_variables()
[all …]
Dqib_file_ops.c1367 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts && dd->rcd[ctxt]; in choose_port_ctxt()
1441 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; in get_a_ctxt()
1489 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in find_shared_ctxt()
1668 uctxt = rcd->ctxt - dd->first_user_ctxt; in qib_do_user_init()
1896 info.num_ctxts = rcd->dd->cfgctxts - rcd->dd->first_user_ctxt; in qib_ctxt_info()
1986 for (ctxt = ppd->dd->first_user_ctxt; ctxt < ppd->dd->cfgctxts; in qib_set_uevent_bits()
Dqib_sysfs.c620 (dd->first_user_ctxt > dd->cfgctxts) ? 0 : in show_nctxts()
621 (dd->cfgctxts - dd->first_user_ctxt)); in show_nctxts()
Dqib_iba7322.c3131 for (i = 0; i < dd->first_user_ctxt; i++) { in qib_7322intr()
3908 dd->first_user_ctxt = NUM_IB_PORTS + in qib_7322_config_ctxts()
3910 if (dd->first_user_ctxt > nchipctxts) in qib_7322_config_ctxts()
3911 dd->first_user_ctxt = nchipctxts; in qib_7322_config_ctxts()
3912 dd->n_krcv_queues = dd->first_user_ctxt / dd->num_pports; in qib_7322_config_ctxts()
3914 dd->first_user_ctxt = NUM_IB_PORTS; in qib_7322_config_ctxts()
3919 int nctxts = dd->first_user_ctxt + num_online_cpus(); in qib_7322_config_ctxts()
4563 if (ctxt < dd->first_user_ctxt) in rcvctrl_7322_mod()
4796 for (i = 0; dd->rcd && i < dd->first_user_ctxt; i++) { in qib_portcntr_7322()
6315 n = dd->first_user_ctxt / dd->num_pports; in write_7322_initregs()
[all …]
Dqib_driver.c767 for (i = dd->first_user_ctxt; i < dd->cfgctxts; i++) { in qib_reset_device()
Dqib.h1046 u8 first_user_ctxt; member