Server IP : 15.235.198.142 / Your IP : 216.73.216.168 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/modules/6.8.0-45-generic/build/arch/mips/include/asm/mach-tx49xx/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm-mips/mach-tx49xx/ioremap.h */ #ifndef __ASM_MACH_TX49XX_IOREMAP_H #define __ASM_MACH_TX49XX_IOREMAP_H #include <linux/types.h> static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, unsigned long flags) { #ifdef CONFIG_64BIT #define TXX9_DIRECTMAP_BASE 0xfff000000ul #else #define TXX9_DIRECTMAP_BASE 0xff000000ul #endif if (offset >= TXX9_DIRECTMAP_BASE && offset < TXX9_DIRECTMAP_BASE + 0x400000) return (void __iomem *)(unsigned long)(int)offset; return NULL; } static inline int plat_iounmap(const volatile void __iomem *addr) { return (unsigned long)addr >= (unsigned long)(int)(TXX9_DIRECTMAP_BASE & 0xffffffff); } #endif /* __ASM_MACH_TX49XX_IOREMAP_H */