Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Power Management Service Unit (PMSU) support for Armada 370/XP platforms.
0004  *
0005  * Copyright (C) 2012 Marvell
0006  */
0007 
0008 #ifndef __MACH_MVEBU_PMSU_H
0009 #define __MACH_MVEBU_PMSU_H
0010 
0011 int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr);
0012 int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target,
0013                              unsigned int crypto_eng_attribute,
0014                              phys_addr_t resume_addr_reg);
0015 
0016 void mvebu_v7_pmsu_idle_exit(void);
0017 void armada_370_xp_cpu_resume(void);
0018 
0019 int armada_370_xp_pmsu_idle_enter(unsigned long deepidle);
0020 int armada_38x_do_cpu_suspend(unsigned long deepidle);
0021 #endif  /* __MACH_370_XP_PMSU_H */