Server IP : 127.0.0.2 / Your IP : 3.141.202.216 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/modules/4.4.0-1049-aws/build/include/linux/ |
Upload File : |
/* * Embedded Alley Solutions, source@embeddedalley.com. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_SERIAL_PNX8XXX_H #define _LINUX_SERIAL_PNX8XXX_H #include <linux/serial_core.h> #define PNX8XXX_NR_PORTS 2 struct pnx8xxx_port { struct uart_port port; struct timer_list timer; unsigned int old_status; }; /* register offsets */ #define PNX8XXX_LCR 0 #define PNX8XXX_MCR 0x004 #define PNX8XXX_BAUD 0x008 #define PNX8XXX_CFG 0x00c #define PNX8XXX_FIFO 0x028 #define PNX8XXX_ISTAT 0xfe0 #define PNX8XXX_IEN 0xfe4 #define PNX8XXX_ICLR 0xfe8 #define PNX8XXX_ISET 0xfec #define PNX8XXX_PD 0xff4 #define PNX8XXX_MID 0xffc #define PNX8XXX_UART_LCR_TXBREAK (1<<30) #define PNX8XXX_UART_LCR_PAREVN 0x10000000 #define PNX8XXX_UART_LCR_PAREN 0x08000000 #define PNX8XXX_UART_LCR_2STOPB 0x04000000 #define PNX8XXX_UART_LCR_8BIT 0x01000000 #define PNX8XXX_UART_LCR_TX_RST 0x00040000 #define PNX8XXX_UART_LCR_RX_RST 0x00020000 #define PNX8XXX_UART_LCR_RX_NEXT 0x00010000 #define PNX8XXX_UART_MCR_SCR 0xFF000000 #define PNX8XXX_UART_MCR_DCD 0x00800000 #define PNX8XXX_UART_MCR_CTS 0x00100000 #define PNX8XXX_UART_MCR_LOOP 0x00000010 #define PNX8XXX_UART_MCR_RTS 0x00000002 #define PNX8XXX_UART_MCR_DTR 0x00000001 #define PNX8XXX_UART_INT_TX 0x00000080 #define PNX8XXX_UART_INT_EMPTY 0x00000040 #define PNX8XXX_UART_INT_RCVTO 0x00000020 #define PNX8XXX_UART_INT_RX 0x00000010 #define PNX8XXX_UART_INT_RXOVRN 0x00000008 #define PNX8XXX_UART_INT_FRERR 0x00000004 #define PNX8XXX_UART_INT_BREAK 0x00000002 #define PNX8XXX_UART_INT_PARITY 0x00000001 #define PNX8XXX_UART_INT_ALLRX 0x0000003F #define PNX8XXX_UART_INT_ALLTX 0x000000C0 #define PNX8XXX_UART_FIFO_TXFIFO 0x001F0000 #define PNX8XXX_UART_FIFO_TXFIFO_STA (0x1f<<16) #define PNX8XXX_UART_FIFO_RXBRK 0x00008000 #define PNX8XXX_UART_FIFO_RXFE 0x00004000 #define PNX8XXX_UART_FIFO_RXPAR 0x00002000 #define PNX8XXX_UART_FIFO_RXFIFO 0x00001F00 #define PNX8XXX_UART_FIFO_RBRTHR 0x000000FF #endif