This repository has been archived on 2025-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
android-g900/kernel-2.6.33/arch/arm/mach-pxa/g900/gf5500/inc/GFDefScr.h
2010-10-16 00:02:07 +06:00

82 lines
2.6 KiB
C
Executable File

/* Copyright (c) 2006 NVIDIA Corporation. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an
* express license agreement from NVIDIA Corporation is strictly prohibited.
*/
#if !defined (__GFDEFSCR_INC__)
#define __GFDEFSCR_INC__
/* GPIO Operations (Set, Clear, Get) */
/** GPIO Operation: Input enable set to 1.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_SET_INPUT_ENABLE 0x00000001
/** GPIO Operation: Input enable clr to 0.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_CLR_INPUT_ENABLE 0x00000002
/** GPIO Operation: Get input enable.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_GET_INPUT_ENABLE 0x00000004
/** GPIO Operation: Output enable set to 1.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_SET_OUTPUT_ENABLE 0x00000010
/** GPIO Operation: Output enable clr to 0.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_CLR_OUTPUT_ENABLE 0x00000020
/** GPIO Operation: Get output enable.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_GET_OUTPUT_ENABLE 0x00000040
/** GPIO Operation: Output data set to 1.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_SET_DATA 0x00000100
/** GPIO Operation: Output data clr to 0.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_CLR_DATA 0x00000200
/** GPIO Operation: Get input data.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_GET_DATA 0x00000400
/** GPIO Operation: Get output data.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_GET_OUTPUT_DATA 0x00001000
/** GPIO Operation: Output select set to 1.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_SET_OUTPUT_SELECT 0x00100000
/** GPIO Operation: Output select clr to 0.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_CLR_OUTPUT_SELECT 0x00200000
/** GPIO Operation: Output select get.
@see GFGPIOSTATUS, GFDxFPGPIO(), GFVxVIPGPIO(), GFIxSDGPIO()
*/
#define GF_GPIO_GET_OUTPUT_SELECT 0x00400000
#endif