Lines Matching defs:scontext
1833 static void set_threshold(struct hfi1_devdata *dd, int scontext, int i)
1837 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext],
1839 sc_mtu_to_threshold(dd->kernel_send_context[scontext],
1842 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres);
1877 int scontext = 1;
1905 int first_scontext = scontext;
1922 if (dd->kernel_send_context[scontext]) {
1924 dd->kernel_send_context[scontext];
1925 set_threshold(dd, scontext, i);
1927 if (++scontext >= first_scontext +
1930 scontext = first_scontext;
1936 scontext = first_scontext + vl_scontexts[i];