Server IP : 172.67.216.182 / Your IP : 162.158.163.251 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/arm/mach-s3c/include/mach/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/mach-s3c2410/include/mach/io.h * from arch/arm/mach-rpc/include/mach/io.h * * Copyright (C) 1997 Russell King * (C) 2003 Simtec Electronics */ #ifndef __ASM_ARM_ARCH_IO_S3C24XX_H #define __ASM_ARM_ARCH_IO_S3C24XX_H #include <mach/map-base.h> /* * ISA style IO, for each machine to sort out mappings for, * if it implements it. We reserve two 16M regions for ISA, * so the PC/104 can use separate addresses for 8-bit and * 16-bit port I/O. */ #define PCIO_BASE S3C_ADDR(0x02000000) #define IO_SPACE_LIMIT 0x00ffffff #define S3C24XX_VA_ISA_WORD (PCIO_BASE) #define S3C24XX_VA_ISA_BYTE (PCIO_BASE + 0x01000000) #ifdef CONFIG_ISA #define inb(p) readb(S3C24XX_VA_ISA_BYTE + (p)) #define inw(p) readw(S3C24XX_VA_ISA_WORD + (p)) #define inl(p) readl(S3C24XX_VA_ISA_WORD + (p)) #define outb(v,p) writeb((v), S3C24XX_VA_ISA_BYTE + (p)) #define outw(v,p) writew((v), S3C24XX_VA_ISA_WORD + (p)) #define outl(v,p) writel((v), S3C24XX_VA_ISA_WORD + (p)) #define insb(p,d,l) readsb(S3C24XX_VA_ISA_BYTE + (p),d,l) #define insw(p,d,l) readsw(S3C24XX_VA_ISA_WORD + (p),d,l) #define insl(p,d,l) readsl(S3C24XX_VA_ISA_WORD + (p),d,l) #define outsb(p,d,l) writesb(S3C24XX_VA_ISA_BYTE + (p),d,l) #define outsw(p,d,l) writesw(S3C24XX_VA_ISA_WORD + (p),d,l) #define outsl(p,d,l) writesl(S3C24XX_VA_ISA_WORD + (p),d,l) #else #define __io(x) (PCIO_BASE + (x)) #endif #endif