mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 03:15:23 +07:00
a636cd6c42
Based on 1 normalized pattern(s): licensed under gplv2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 118 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190519154040.961286471@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 lines
705 B
C
29 lines
705 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* arch/arm/mach-prima2/pm.h
|
|
*
|
|
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
|
|
*/
|
|
|
|
#ifndef _MACH_PRIMA2_PM_H_
|
|
#define _MACH_PRIMA2_PM_H_
|
|
|
|
#define SIRFSOC_PWR_SLEEPFORCE 0x01
|
|
|
|
#define SIRFSOC_SLEEP_MODE_MASK 0x3
|
|
#define SIRFSOC_DEEP_SLEEP_MODE 0x1
|
|
|
|
#define SIRFSOC_PWRC_PDN_CTRL 0x0
|
|
#define SIRFSOC_PWRC_PON_OFF 0x4
|
|
#define SIRFSOC_PWRC_TRIGGER_EN 0x8
|
|
#define SIRFSOC_PWRC_PIN_STATUS 0x14
|
|
#define SIRFSOC_PWRC_SCRATCH_PAD1 0x18
|
|
#define SIRFSOC_PWRC_SCRATCH_PAD2 0x1C
|
|
|
|
#ifndef __ASSEMBLY__
|
|
extern int sirfsoc_finish_suspend(unsigned long);
|
|
#endif
|
|
|
|
#endif
|
|
|