Server IP : 15.235.198.142 / Your IP : 216.73.216.154 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/src/linux-headers-6.8.0-60/arch/mips/include/asm/dec/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/asm-mips/dec/ioasic.h * * DEC I/O ASIC access operations. * * Copyright (C) 2000, 2002, 2003 Maciej W. Rozycki */ #ifndef __ASM_DEC_IOASIC_H #define __ASM_DEC_IOASIC_H #include <linux/spinlock.h> #include <linux/types.h> extern spinlock_t ioasic_ssr_lock; extern volatile u32 *ioasic_base; static inline void ioasic_write(unsigned int reg, u32 v) { ioasic_base[reg / 4] = v; } static inline u32 ioasic_read(unsigned int reg) { return ioasic_base[reg / 4]; } extern void init_ioasic_irqs(int base); extern int dec_ioasic_clocksource_init(void); #endif /* __ASM_DEC_IOASIC_H */