/* SPDX-License-Identifier: GPL-2.0 */ /* * (C) COPYRIGHT 2018 ARM Limited. All rights reserved. * Author: James.Qian.Wang <[email protected]> * */ #ifndef _MALIDP_IO_H_ #define _MALIDP_IO_H_ #include <linux/io.h> static inline u32 malidp_read32(u32 __iomem *base, u32 offset) { … } static inline void malidp_write32(u32 __iomem *base, u32 offset, u32 v) { … } static inline void malidp_write64(u32 __iomem *base, u32 offset, u64 v) { … } static inline void malidp_write32_mask(u32 __iomem *base, u32 offset, u32 m, u32 v) { … } static inline void malidp_write_group(u32 __iomem *base, u32 offset, int num, const u32 *values) { … } #endif /*_MALIDP_IO_H_*/