/* * include/linux/serial.h * * Copyright (C) 1992 by Theodore Ts'o. * * Redistribution of this file is permitted under the terms of the GNU * Public License (GPL) */ #ifndef _LINUX_SERIAL_H #define _LINUX_SERIAL_H #include <uapi/linux/serial.h> #include <uapi/linux/serial_reg.h> #define UART_IER_ALL_INTR … /* Helper for dealing with UART_LCR_WLEN* defines */ #define UART_LCR_WLEN(x) … /* FIFO and shifting register empty */ #define UART_LSR_BOTH_EMPTY … static inline bool uart_lsr_tx_empty(u16 lsr) { … } #define UART_MSR_STATUS_BITS … /* * Counters of the input lines (CTS, DSR, RI, CD) interrupts */ struct async_icount { … }; #include <linux/compiler.h> #endif /* _LINUX_SERIAL_H */