Searched refs:MAX_NR_HVC_CONSOLES (Results 1 – 4 of 4) sorted by relevance
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()[all …]
25 #define MAX_NR_HVC_CONSOLES 16 macro
46 static struct hvc_opal_priv *hvc_opal_privs[MAX_NR_HVC_CONSOLES];367 if (index >= MAX_NR_HVC_CONSOLES) in hvc_opal_init_early()
65 static struct hvterm_priv *hvterm_privs[MAX_NR_HVC_CONSOLES];333 for (i = 0; i < MAX_NR_HVC_CONSOLES && termno < 0; i++) in hvc_vio_probe()