1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * nomadik.h 3 * nomadik.h 4 * 4 * 5 * Copyright (C) ST-Ericsson SA 2013 5 * Copyright (C) ST-Ericsson SA 2013 6 * Author: Gabriel Fernandez <gabriel.fernande 6 * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson. 7 */ 7 */ 8 8 9 #define INPUT_NOPULL 0 9 #define INPUT_NOPULL 0 10 #define INPUT_PULLUP 1 10 #define INPUT_PULLUP 1 11 #define INPUT_PULLDOWN 2 11 #define INPUT_PULLDOWN 2 12 12 13 #define OUTPUT_LOW 0 13 #define OUTPUT_LOW 0 14 #define OUTPUT_HIGH 1 14 #define OUTPUT_HIGH 1 15 #define DIR_OUTPUT 2 15 #define DIR_OUTPUT 2 16 16 17 #define SLPM_DISABLED 0 17 #define SLPM_DISABLED 0 18 #define SLPM_ENABLED 1 18 #define SLPM_ENABLED 1 19 19 20 #define SLPM_INPUT_NOPULL 0 20 #define SLPM_INPUT_NOPULL 0 21 #define SLPM_INPUT_PULLUP 1 21 #define SLPM_INPUT_PULLUP 1 22 #define SLPM_INPUT_PULLDOWN 2 22 #define SLPM_INPUT_PULLDOWN 2 23 #define SLPM_DIR_INPUT 3 23 #define SLPM_DIR_INPUT 3 24 24 25 #define SLPM_OUTPUT_LOW 0 25 #define SLPM_OUTPUT_LOW 0 26 #define SLPM_OUTPUT_HIGH 1 26 #define SLPM_OUTPUT_HIGH 1 27 #define SLPM_DIR_OUTPUT 2 27 #define SLPM_DIR_OUTPUT 2 28 28 29 #define SLPM_WAKEUP_DISABLE 0 29 #define SLPM_WAKEUP_DISABLE 0 30 #define SLPM_WAKEUP_ENABLE 1 30 #define SLPM_WAKEUP_ENABLE 1 31 31 32 #define GPIOMODE_DISABLED 0 32 #define GPIOMODE_DISABLED 0 33 #define GPIOMODE_ENABLED 1 33 #define GPIOMODE_ENABLED 1 34 34 35 #define SLPM_PDIS_DISABLED 0 35 #define SLPM_PDIS_DISABLED 0 36 #define SLPM_PDIS_ENABLED 1 36 #define SLPM_PDIS_ENABLED 1 37 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.