Lines Matching refs:MAX_NR_HVC_CONSOLES
142 static const struct hv_ops *cons_ops[MAX_NR_HVC_CONSOLES];
143 static uint32_t vtermnos[MAX_NR_HVC_CONSOLES] =
144 {[0 ... MAX_NR_HVC_CONSOLES - 1] = -1};
159 if (index >= MAX_NR_HVC_CONSOLES) in hvc_console_print()
208 if (co->index < 0 || co->index >= MAX_NR_HVC_CONSOLES) in hvc_console_setup()
289 if (index < 0 || index >= MAX_NR_HVC_CONSOLES) in hvc_instantiate()
947 for (i=0; i < MAX_NR_HVC_CONSOLES; i++) in hvc_alloc()
952 if (i >= MAX_NR_HVC_CONSOLES) { in hvc_alloc()
955 for (i = 0; i < MAX_NR_HVC_CONSOLES && vtermnos[i] != -1; i++) { in hvc_alloc()
959 if (i == MAX_NR_HVC_CONSOLES) in hvc_alloc()
960 i = ++last_hvc + MAX_NR_HVC_CONSOLES; in hvc_alloc()
964 if (i < MAX_NR_HVC_CONSOLES) { in hvc_alloc()
988 if (hp->index < MAX_NR_HVC_CONSOLES) { in hvc_remove()