Lines Matching defs:con
48 static int (*earlycon_orig_exit)(struct console *con);
450 struct console *con;
464 for_each_console(con)
465 if (con == kgdboc_earlycon_io_ops.cons)
472 static int kgdboc_earlycon_deferred_exit(struct console *con)
481 con->exit = earlycon_orig_exit;
523 struct console *con;
532 for_each_console(con) {
533 if (con->write && con->read &&
534 (con->flags & (CON_BOOT | CON_ENABLED)) &&
535 (!opt || !opt[0] || strcmp(con->name, opt) == 0))
539 if (!con) {
561 kgdboc_earlycon_io_ops.cons = con;
562 pr_info("Going to register kgdb with earlycon '%s'\n", con->name);
568 earlycon_orig_exit = con->exit;
569 con->exit = kgdboc_earlycon_deferred_exit;