Home
last modified time | relevance | path

Searched refs:MAX_NR_HVC_CONSOLES (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/tty/hvc/
Dhvc_console.c142 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()
958 for (i=0; i < MAX_NR_HVC_CONSOLES; i++) in hvc_alloc()
964 if (i >= MAX_NR_HVC_CONSOLES) in hvc_alloc()
990 if (hp->index < MAX_NR_HVC_CONSOLES) { in hvc_remove()
Dhvc_console.h25 #define MAX_NR_HVC_CONSOLES 16 macro
Dhvc_vio.c65 static struct hvterm_priv *hvterm_privs[MAX_NR_HVC_CONSOLES];
319 for (i = 0; i < MAX_NR_HVC_CONSOLES && termno < 0; i++) in hvc_vio_probe()
Dhvc_opal.c46 static struct hvc_opal_priv *hvc_opal_privs[MAX_NR_HVC_CONSOLES];
367 if (index >= MAX_NR_HVC_CONSOLES) in hvc_opal_init_early()