Lines Matching full:console
6 #include <linux/console.h>
26 struct console console; member
147 static void tegra_tcu_console_write(struct console *cons, const char *s, in tegra_tcu_console_write()
150 struct tegra_tcu *tcu = container_of(cons, struct tegra_tcu, console); in tegra_tcu_console_write()
155 static int tegra_tcu_console_setup(struct console *cons, char *options) in tegra_tcu_console_setup()
206 /* setup the console */ in tegra_tcu_probe()
207 strcpy(tcu->console.name, "ttyTCU"); in tegra_tcu_probe()
208 tcu->console.device = uart_console_device; in tegra_tcu_probe()
209 tcu->console.flags = CON_PRINTBUFFER | CON_ANYTIME; in tegra_tcu_probe()
210 tcu->console.index = -1; in tegra_tcu_probe()
211 tcu->console.write = tegra_tcu_console_write; in tegra_tcu_probe()
212 tcu->console.setup = tegra_tcu_console_setup; in tegra_tcu_probe()
213 tcu->console.data = &tcu->driver; in tegra_tcu_probe()
221 tcu->driver.cons = &tcu->console; in tegra_tcu_probe()
251 register_console(&tcu->console); in tegra_tcu_probe()
271 unregister_console(&tcu->console); in tegra_tcu_remove()