Lines Matching refs:kgdboc_earlycon_io_ops
48 static struct kgdb_io kgdboc_earlycon_io_ops; variable
175 if (kgdboc_earlycon_io_ops.cons) in cleanup_earlycon()
176 kgdb_unregister_io_module(&kgdboc_earlycon_io_ops); in cleanup_earlycon()
475 if (!kgdboc_earlycon_io_ops.cons->read(kgdboc_earlycon_io_ops.cons, in kgdboc_earlycon_get_char()
484 kgdboc_earlycon_io_ops.cons->write(kgdboc_earlycon_io_ops.cons, &chr, in kgdboc_earlycon_put_char()
507 if (con == kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_pre_exp_handler()
534 if (!kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_deinit()
537 if (kgdboc_earlycon_io_ops.cons->exit == kgdboc_earlycon_deferred_exit) in kgdboc_earlycon_deinit()
543 kgdboc_earlycon_io_ops.cons->exit = earlycon_orig_exit; in kgdboc_earlycon_deinit()
544 else if (kgdboc_earlycon_io_ops.cons->exit) in kgdboc_earlycon_deinit()
550 kgdboc_earlycon_io_ops.cons->exit(kgdboc_earlycon_io_ops.cons); in kgdboc_earlycon_deinit()
552 kgdboc_earlycon_io_ops.cons = NULL; in kgdboc_earlycon_deinit()
555 static struct kgdb_io kgdboc_earlycon_io_ops = { variable
615 kgdboc_earlycon_io_ops.cons = con; in kgdboc_earlycon_init()
617 if (kgdb_register_io_module(&kgdboc_earlycon_io_ops) != 0) { in kgdboc_earlycon_init()
618 kgdboc_earlycon_io_ops.cons = NULL; in kgdboc_earlycon_init()