Lines Matching refs:early_console_dev
35 static struct earlycon_device early_console_dev = { variable
71 earlycon->data = &early_console_dev; in earlycon_init()
141 struct uart_port *port = &early_console_dev.port; in register_earlycon()
144 if (buf && !parse_options(&early_console_dev, buf)) in register_earlycon()
153 earlycon_init(&early_console_dev, match->name); in register_earlycon()
154 err = match->setup(&early_console_dev, buf); in register_earlycon()
155 earlycon_print_info(&early_console_dev); in register_earlycon()
158 if (!early_console_dev.con->write) in register_earlycon()
161 register_console(early_console_dev.con); in register_earlycon()
258 struct uart_port *port = &early_console_dev.port; in of_setup_earlycon()
306 early_console_dev.baud = be32_to_cpu(*val); in of_setup_earlycon()
313 early_console_dev.baud = simple_strtoul(options, NULL, 0); in of_setup_earlycon()
314 strscpy(early_console_dev.options, options, in of_setup_earlycon()
315 sizeof(early_console_dev.options)); in of_setup_earlycon()
317 earlycon_init(&early_console_dev, match->name); in of_setup_earlycon()
318 err = match->setup(&early_console_dev, options); in of_setup_earlycon()
319 earlycon_print_info(&early_console_dev); in of_setup_earlycon()
322 if (!early_console_dev.con->write) in of_setup_earlycon()
326 register_console(early_console_dev.con); in of_setup_earlycon()