Lines Matching defs:con
48 static int (*earlycon_orig_exit)(struct console *con);
462 struct console *con;
478 for_each_console_srcu(con) {
479 if (con == kgdboc_earlycon_io_ops.cons)
483 if (con)
490 static int kgdboc_earlycon_deferred_exit(struct console *con)
499 con->exit = earlycon_orig_exit;
541 struct console *con;
558 for_each_console(con) {
559 if (con->write && con->read &&
560 (con->flags & (CON_BOOT | CON_ENABLED)) &&
561 (!opt || !opt[0] || strcmp(con->name, opt) == 0))
565 if (!con) {
587 kgdboc_earlycon_io_ops.cons = con;
588 pr_info("Going to register kgdb with earlycon '%s'\n", con->name);
594 earlycon_orig_exit = con->exit;
595 con->exit = kgdboc_earlycon_deferred_exit;