OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
arch
/
h8300
/
include
/
asm
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:12 AM
rwxr-xr-x
📄
Kbuild
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
atomic.h
2.47 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bitops.h
4.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bug.h
263 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
byteorder.h
148 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📄
cache.h
281 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cmpxchg.h
1.49 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma-mapping.h
269 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
elf.h
2.66 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
flat.h
1.1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hash.h
1.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
io.h
1.44 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq.h
555 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
irqflags.h
1.88 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kgdb.h
1.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
page.h
485 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
page_offset.h
37 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pci.h
421 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pgtable.h
1.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
processor.h
3.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace.h
1.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
segment.h
886 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
signal.h
520 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
smp.h
32 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
string.h
389 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
switch_to.h
1.72 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
syscall.h
1.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
thread_info.h
3.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tlb.h
166 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
traps.h
1.06 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
uaccess.h
1.02 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
user.h
3.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: io.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _H8300_IO_H #define _H8300_IO_H #ifdef __KERNEL__ #include <linux/types.h> /* H8/300 internal I/O functions */ #define __raw_readb __raw_readb static inline u8 __raw_readb(const volatile void __iomem *addr) { return *(volatile u8 *)addr; } #define __raw_readw __raw_readw static inline u16 __raw_readw(const volatile void __iomem *addr) { return *(volatile u16 *)addr; } #define __raw_readl __raw_readl static inline u32 __raw_readl(const volatile void __iomem *addr) { return *(volatile u32 *)addr; } #define __raw_writeb __raw_writeb static inline void __raw_writeb(u8 b, const volatile void __iomem *addr) { *(volatile u8 *)addr = b; } #define __raw_writew __raw_writew static inline void __raw_writew(u16 b, const volatile void __iomem *addr) { *(volatile u16 *)addr = b; } #define __raw_writel __raw_writel static inline void __raw_writel(u32 b, const volatile void __iomem *addr) { *(volatile u32 *)addr = b; } static inline void ctrl_bclr(int b, void __iomem *addr) { if (__builtin_constant_p(b)) __asm__("bclr %1,%0" : "+WU"(*(u8 *)addr): "i"(b)); else __asm__("bclr %w1,%0" : "+WU"(*(u8 *)addr): "r"(b)); } static inline void ctrl_bset(int b, void __iomem *addr) { if (__builtin_constant_p(b)) __asm__("bset %1,%0" : "+WU"(*(u8 *)addr): "i"(b)); else __asm__("bset %w1,%0" : "+WU"(*(u8 *)addr): "r"(b)); } #include <asm-generic/io.h> #endif /* __KERNEL__ */ #endif /* _H8300_IO_H */