Lines Matching refs:cons
147 if (kgdboc_earlycon_io_ops.cons) in cleanup_earlycon()
173 struct console *cons; in configure_kgdboc() local
181 kgdboc_io_ops.cons = NULL; in configure_kgdboc()
205 for_each_console_srcu(cons) { in configure_kgdboc()
207 if (cons->device && cons->device(cons, &idx) == p && in configure_kgdboc()
209 kgdboc_io_ops.cons = cons; in configure_kgdboc()
447 if (!kgdboc_earlycon_io_ops.cons->read(kgdboc_earlycon_io_ops.cons, in kgdboc_earlycon_get_char()
456 kgdboc_earlycon_io_ops.cons->write(kgdboc_earlycon_io_ops.cons, &chr, in kgdboc_earlycon_put_char()
479 if (con == kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_pre_exp_handler()
506 if (!kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_deinit()
509 if (kgdboc_earlycon_io_ops.cons->exit == kgdboc_earlycon_deferred_exit) in kgdboc_earlycon_deinit()
515 kgdboc_earlycon_io_ops.cons->exit = earlycon_orig_exit; in kgdboc_earlycon_deinit()
516 else if (kgdboc_earlycon_io_ops.cons->exit) in kgdboc_earlycon_deinit()
522 kgdboc_earlycon_io_ops.cons->exit(kgdboc_earlycon_io_ops.cons); in kgdboc_earlycon_deinit()
524 kgdboc_earlycon_io_ops.cons = NULL; in kgdboc_earlycon_deinit()
587 kgdboc_earlycon_io_ops.cons = con; in kgdboc_earlycon_init()
590 kgdboc_earlycon_io_ops.cons = NULL; in kgdboc_earlycon_init()