Lines Matching refs:num_vls
291 count = INIT_SC_PER_VL * num_vls; in init_sc_pools_and_sizes()
1772 if (unlikely(vl >= num_vls)) { in pio_select_send_context_vl()
1873 int pio_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls, u8 *vl_scontexts) in pio_map_init() argument
1887 sc_per_vl = num_kernel_send_contexts / num_vls; in pio_map_init()
1889 extra = num_kernel_send_contexts % num_vls; in pio_map_init()
1892 for (i = num_vls - 1; i >= 0; i--, extra--) in pio_map_init()
1897 roundup_pow_of_two(num_vls) * in pio_map_init()
1902 newmap->actual_vls = num_vls; in pio_map_init()
1903 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init()
1937 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init()
1998 for (i = 0; i < num_vls; i++) { in init_pervl_scs()
2015 for (i = num_vls; i < INIT_SC_PER_VL * num_vls; i++) { in init_pervl_scs()
2031 for (i = 0; i < num_vls; i++) { in init_pervl_scs()
2037 for (i = num_vls; i < INIT_SC_PER_VL * num_vls; i++) { in init_pervl_scs()
2044 if (pio_map_init(dd, ppd->port - 1, num_vls, NULL)) in init_pervl_scs()
2049 for (i = 0; i < num_vls; i++) { in init_pervl_scs()
2054 for (i = num_vls; i < INIT_SC_PER_VL * num_vls; i++) in init_pervl_scs()