Lines Matching defs:scontext
1875 static void set_threshold(struct hfi1_devdata *dd, int scontext, int i)
1879 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext],
1881 sc_mtu_to_threshold(dd->kernel_send_context[scontext],
1884 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres);
1919 int scontext = 1;
1949 int first_scontext = scontext;
1967 if (dd->kernel_send_context[scontext]) {
1969 dd->kernel_send_context[scontext];
1970 set_threshold(dd, scontext, i);
1972 if (++scontext >= first_scontext +
1975 scontext = first_scontext;
1981 scontext = first_scontext + vl_scontexts[i];