Lines Matching refs:scontext
1833 static void set_threshold(struct hfi1_devdata *dd, int scontext, int i) in set_threshold() argument
1837 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext], in set_threshold()
1839 sc_mtu_to_threshold(dd->kernel_send_context[scontext], in set_threshold()
1842 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres); in set_threshold()
1877 int scontext = 1; in pio_map_init() local
1907 int first_scontext = scontext; in pio_map_init()
1925 if (dd->kernel_send_context[scontext]) { in pio_map_init()
1927 dd->kernel_send_context[scontext]; in pio_map_init()
1928 set_threshold(dd, scontext, i); in pio_map_init()
1930 if (++scontext >= first_scontext + in pio_map_init()
1933 scontext = first_scontext; in pio_map_init()
1939 scontext = first_scontext + vl_scontexts[i]; in pio_map_init()