Server IP : 172.67.216.182 / Your IP : 172.68.242.117 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142/arch/sh/include/mach-common/mach/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 * * include/asm-sh/snapgear.h * * Modified version of io_se.h for the snapgear-specific functions. * * IO functions for a SnapGear */ #ifndef _ASM_SH_IO_SNAPGEAR_H #define _ASM_SH_IO_SNAPGEAR_H #define __IO_PREFIX snapgear #include <asm/io_generic.h> /* * We need to remember what was written to the ioport as some bits * are shared with other functions and you cannot read back what was * written :-| * * Bit Read Write * ----------------------------------------------- * D0 DCD on ttySC1 power * D1 Reset Switch heatbeat * D2 ttySC0 CTS (7100) LAN * D3 - WAN * D4 ttySC0 DCD (7100) CONSOLE * D5 - ONLINE * D6 - VPN * D7 - DTR on ttySC1 * D8 - ttySC0 RTS (7100) * D9 - ttySC0 DTR (7100) * D10 - RTC SCLK * D11 RTC DATA RTC DATA * D12 - RTS RESET */ #define SECUREEDGE_IOPORT_ADDR ((volatile short *) 0xb0000000) extern unsigned short secureedge5410_ioport; #define SECUREEDGE_WRITE_IOPORT(val, mask) (*SECUREEDGE_IOPORT_ADDR = \ (secureedge5410_ioport = \ ((secureedge5410_ioport & ~(mask)) | ((val) & (mask))))) #define SECUREEDGE_READ_IOPORT() \ ((*SECUREEDGE_IOPORT_ADDR&0x0817) | (secureedge5410_ioport&~0x0817)) #endif /* _ASM_SH_IO_SNAPGEAR_H */