Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/hvc/
H A Dhvc_console.c143 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()
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()
[all …]
H A Dhvc_console.h25 #define MAX_NR_HVC_CONSOLES 16 macro
H A 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()
H A Dhvc_vio.c65 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()