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()
1896 newmap = kzalloc(struct_size(newmap, map, roundup_pow_of_two(num_vls)), in pio_map_init()
1900 newmap->actual_vls = num_vls; in pio_map_init()
1901 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init()
1934 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init()
1995 for (i = 0; i < num_vls; i++) { in init_pervl_scs()
2012 for (i = num_vls; i < INIT_SC_PER_VL * num_vls; i++) { in init_pervl_scs()
2028 for (i = 0; i < num_vls; i++) { in init_pervl_scs()
2034 for (i = num_vls; i < INIT_SC_PER_VL * num_vls; i++) { in init_pervl_scs()
2041 if (pio_map_init(dd, ppd->port - 1, num_vls, NULL)) in init_pervl_scs()
2046 for (i = 0; i < num_vls; i++) { in init_pervl_scs()
2051 for (i = num_vls; i < INIT_SC_PER_VL * num_vls; i++) in init_pervl_scs()