Lines Matching refs:index
2391 if (strcmp(c->name, name) == 0 && c->index == idx) { in __add_preferred_console()
2407 c->index = idx; in __add_preferred_console()
2977 struct tty_driver *console_device(int *index) in console_device() argument
2986 driver = c->device(c, index); in console_device()
3050 newcon->match(newcon, c->name, c->index, c->options) != 0) { in try_enable_preferred_console()
3055 if (newcon->index >= 0 && in try_enable_preferred_console()
3056 newcon->index != c->index) in try_enable_preferred_console()
3058 if (newcon->index < 0) in try_enable_preferred_console()
3059 newcon->index = c->index; in try_enable_preferred_console()
3088 if (newcon->index < 0) in try_enable_default_console()
3089 newcon->index = 0; in try_enable_default_console()
3103 con->name, con->index, ##__VA_ARGS__)
3133 con->name, con->index)) in register_console()
3147 newcon->name, newcon->index); in register_console()
3360 con->name, con->index); in printk_late_init()