Lines Matching refs:index
2169 if (strcmp(c->name, name) == 0 && c->index == idx) { in __add_preferred_console()
2183 c->index = idx; in __add_preferred_console()
2628 struct tty_driver *console_device(int *index) in console_device() argument
2637 driver = c->device(c, index); in console_device()
2709 bcon->name, bcon->index)) in register_console()
2721 newcon->name, newcon->index); in register_console()
2739 if (newcon->index < 0) in register_console()
2740 newcon->index = 0; in register_console()
2759 newcon->match(newcon, c->name, c->index, c->options) != 0) { in register_console()
2764 if (newcon->index >= 0 && in register_console()
2765 newcon->index != c->index) in register_console()
2767 if (newcon->index < 0) in register_console()
2768 newcon->index = c->index; in register_console()
2849 newcon->name, newcon->index); in register_console()
2870 console->name, console->index); in unregister_console()
2974 con->name, con->index); in printk_late_init()