Lines Matching refs:console
25 struct console console; member
146 static void tegra_tcu_console_write(struct console *cons, const char *s, in tegra_tcu_console_write()
149 struct tegra_tcu *tcu = container_of(cons, struct tegra_tcu, console); in tegra_tcu_console_write()
154 static int tegra_tcu_console_setup(struct console *cons, char *options) in tegra_tcu_console_setup()
199 strcpy(tcu->console.name, "ttyTCU"); in tegra_tcu_probe()
200 tcu->console.device = uart_console_device; in tegra_tcu_probe()
201 tcu->console.flags = CON_PRINTBUFFER | CON_ANYTIME; in tegra_tcu_probe()
202 tcu->console.index = -1; in tegra_tcu_probe()
203 tcu->console.write = tegra_tcu_console_write; in tegra_tcu_probe()
204 tcu->console.setup = tegra_tcu_console_setup; in tegra_tcu_probe()
205 tcu->console.data = &tcu->driver; in tegra_tcu_probe()
213 tcu->driver.cons = &tcu->console; in tegra_tcu_probe()
254 register_console(&tcu->console); in tegra_tcu_probe()
274 unregister_console(&tcu->console); in tegra_tcu_remove()