mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:51:00 +07:00
af873fcece
Based on 1 normalized pattern(s): license terms gnu general public license gpl version 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 161 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
739 B
C
37 lines
739 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* nomadik.h
|
|
*
|
|
* Copyright (C) ST-Ericsson SA 2013
|
|
* Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson.
|
|
*/
|
|
|
|
#define INPUT_NOPULL 0
|
|
#define INPUT_PULLUP 1
|
|
#define INPUT_PULLDOWN 2
|
|
|
|
#define OUTPUT_LOW 0
|
|
#define OUTPUT_HIGH 1
|
|
#define DIR_OUTPUT 2
|
|
|
|
#define SLPM_DISABLED 0
|
|
#define SLPM_ENABLED 1
|
|
|
|
#define SLPM_INPUT_NOPULL 0
|
|
#define SLPM_INPUT_PULLUP 1
|
|
#define SLPM_INPUT_PULLDOWN 2
|
|
#define SLPM_DIR_INPUT 3
|
|
|
|
#define SLPM_OUTPUT_LOW 0
|
|
#define SLPM_OUTPUT_HIGH 1
|
|
#define SLPM_DIR_OUTPUT 2
|
|
|
|
#define SLPM_WAKEUP_DISABLE 0
|
|
#define SLPM_WAKEUP_ENABLE 1
|
|
|
|
#define GPIOMODE_DISABLED 0
|
|
#define GPIOMODE_ENABLED 1
|
|
|
|
#define SLPM_PDIS_DISABLED 0
|
|
#define SLPM_PDIS_ENABLED 1
|