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