Lines Matching refs:early_console_dev
35 static struct earlycon_device early_console_dev = { variable
71 earlycon->data = &early_console_dev; in earlycon_init()
135 struct uart_port *port = &early_console_dev.port; in register_earlycon()
138 if (buf && !parse_options(&early_console_dev, buf)) in register_earlycon()
146 earlycon_init(&early_console_dev, match->name); in register_earlycon()
147 err = match->setup(&early_console_dev, buf); in register_earlycon()
148 earlycon_print_info(&early_console_dev); in register_earlycon()
151 if (!early_console_dev.con->write) in register_earlycon()
154 register_console(early_console_dev.con); in register_earlycon()
251 struct uart_port *port = &early_console_dev.port; in of_setup_earlycon()
296 early_console_dev.baud = be32_to_cpu(*val); in of_setup_earlycon()
303 early_console_dev.baud = simple_strtoul(options, NULL, 0); in of_setup_earlycon()
304 strlcpy(early_console_dev.options, options, in of_setup_earlycon()
305 sizeof(early_console_dev.options)); in of_setup_earlycon()
307 earlycon_init(&early_console_dev, match->name); in of_setup_earlycon()
308 err = match->setup(&early_console_dev, options); in of_setup_earlycon()
309 earlycon_print_info(&early_console_dev); in of_setup_earlycon()
312 if (!early_console_dev.con->write) in of_setup_earlycon()
316 register_console(early_console_dev.con); in of_setup_earlycon()