Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OMAP44xx and OMAP54xx PRCM MPU function prototypes
0004  *
0005  * Copyright (C) 2010, 2013 Texas Instruments, Inc.
0006  * Copyright (C) 2010 Nokia Corporation
0007  *
0008  * Paul Walmsley (paul@pwsan.com)
0009  * Rajendra Nayak (rnayak@ti.com)
0010  * Benoit Cousson (b-cousson@ti.com)
0011  *
0012  * This file is automatically generated from the OMAP hardware databases.
0013  * We respectfully ask that any modifications to this file be coordinated
0014  * with the public linux-omap@vger.kernel.org mailing list and the
0015  * authors above to ensure that the autogeneration scripts are kept
0016  * up-to-date with the file contents.
0017  */
0018 
0019 #ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
0020 #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
0021 
0022 #ifndef __ASSEMBLER__
0023 #include "prcm-common.h"
0024 
0025 extern struct omap_domain_base prcm_mpu_base;
0026 
0027 extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
0028 extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
0029 extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
0030                         s16 idx);
0031 extern void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu);
0032 #endif
0033 
0034 #endif