drm/panel-edp: Add BOE NV140FHM-NZ panel entry
[drm/drm-misc.git] / arch / mips / include / asm / dec / ioasic.h
blob6d912f0958e2039f12da031b4acc1ea6e3a0c338
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * include/asm-mips/dec/ioasic.h
5 * DEC I/O ASIC access operations.
7 * Copyright (C) 2000, 2002, 2003 Maciej W. Rozycki
8 */
10 #ifndef __ASM_DEC_IOASIC_H
11 #define __ASM_DEC_IOASIC_H
13 #include <linux/spinlock.h>
14 #include <linux/types.h>
16 extern spinlock_t ioasic_ssr_lock;
18 extern volatile u32 *ioasic_base;
20 static inline void ioasic_write(unsigned int reg, u32 v)
22 ioasic_base[reg / 4] = v;
25 static inline u32 ioasic_read(unsigned int reg)
27 return ioasic_base[reg / 4];
30 extern void init_ioasic_irqs(int base);
32 extern int dec_ioasic_clocksource_init(void);
34 #endif /* __ASM_DEC_IOASIC_H */