Lines Matching refs:tty_handler
30 struct tty_handler { struct
40 static struct tty_handler *to_tty_handler(struct handler *handler) in to_tty_handler() argument
42 return container_of(handler, struct tty_handler, handler); in to_tty_handler()
45 static void tty_set_fd_blocking(struct tty_handler *th, bool fd_blocking) in tty_set_fd_blocking()
69 static void tty_set_blocked(struct tty_handler *th, bool blocked) in tty_set_blocked()
87 static int tty_drain_queue(struct tty_handler *th, size_t force_len) in tty_drain_queue()
148 struct tty_handler *th = arg; in tty_ringbuffer_poll()
163 struct tty_handler *th = to_tty_handler(handler); in tty_poll()
194 static int set_terminal_baud(struct tty_handler *th, const char *tty_name, in set_terminal_baud()
217 static int make_terminal_raw(struct tty_handler *th, const char *tty_name) in make_terminal_raw()
245 struct tty_handler *th; in tty_init()
309 struct tty_handler *th = to_tty_handler(handler); in tty_fini()
320 struct tty_handler *th = to_tty_handler(handler); in tty_baudrate()
334 static const struct handler_type tty_handler = { variable
341 console_handler_register(&tty_handler);