Lines Matching refs:console
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()
200 strcpy(tcu->console.name, "ttyTCU"); in tegra_tcu_probe()
201 tcu->console.device = uart_console_device; in tegra_tcu_probe()
202 tcu->console.flags = CON_PRINTBUFFER | CON_ANYTIME; in tegra_tcu_probe()
203 tcu->console.index = -1; in tegra_tcu_probe()
204 tcu->console.write = tegra_tcu_console_write; in tegra_tcu_probe()
205 tcu->console.setup = tegra_tcu_console_setup; in tegra_tcu_probe()
206 tcu->console.data = &tcu->driver; in tegra_tcu_probe()
214 tcu->driver.cons = &tcu->console; in tegra_tcu_probe()
255 register_console(&tcu->console); in tegra_tcu_probe()
275 unregister_console(&tcu->console); in tegra_tcu_remove()