Lines Matching full:console
3 * Simple kernel console driver for STM devices
6 * STM console will send kernel messages over STM devices to a trace host.
11 #include <linux/console.h>
20 struct console console; member
23 .name = "console",
31 stm_console_write(struct console *con, const char *buf, unsigned len) in stm_console_write()
33 struct stm_console *sc = container_of(con, struct stm_console, console); in stm_console_write()
42 strcpy(sc->console.name, "stm_console"); in stm_console_link()
43 sc->console.write = stm_console_write; in stm_console_link()
44 sc->console.flags = CON_ENABLED | CON_PRINTBUFFER; in stm_console_link()
45 register_console(&sc->console); in stm_console_link()
54 unregister_console(&sc->console); in stm_console_unlink()