NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gpio.h File Reference

Detailed Description

NVIDIA Quickboot Interface: GPIO Access

Description: This file declares APIs for accessing GPIO.

Definition in file gpio.h.

Go to the source code of this file.

Data Structures

struct  QbGpioIoctlRec
 Holds configurations for the GPIO pin. More...
 
struct  QbGpioDriverPrivInfo
 

Macros

#define GPIO_VAL_SET   1
 Defines GPIO value in case it is in set state. More...
 
#define GPIO_VAL_RESET   0
 Defines GPIO value in case it is in reset state. More...
 
#define GPIO_IOCTL_SET_VAL   1
 
#define GPIO_IOCTL_RESET_VAL   2
 Defines GPIO reset Ioctl operation. More...
 
#define GPIO_IOCTL_GET_INPUT_VAL   3
 Defines get GPIO i/p value Ioctl operation. More...
 
#define PIN0   0
 
#define PIN1   1
 
#define PIN2   2
 
#define PIN3   3
 
#define PIN4   4
 
#define PIN5   5
 
#define PIN6   6
 
#define PIN7   7
 
#define TEGRA_GPIO_PORT_N   0
 
#define TEGRA_GPIO_PORT_O   1
 
#define TEGRA_GPIO_PORT_Q   2
 
#define TEGRA_GPIO_PORT_T   3
 
#define TEGRA_GPIO_PORT_I   4
 
#define TEGRA_GPIO_PORT_R   5
 
#define TEGRA_GPIO_PORT_H   6
 
#define TEGRA_GPIO_PORT_L   7
 
#define TEGRA_GPIO_PORT_X   8
 
#define TEGRA_GPIO_PORT_Y   9
 
#define TEGRA_GPIO_PORT_A   10
 
#define TEGRA_GPIO_PORT_E   11
 
#define TEGRA_GPIO_PORT_F   12
 
#define TEGRA_GPIO_PORT_BB   13
 
#define TEGRA_GPIO_PORT_B   14
 
#define TEGRA_GPIO_PORT_C   15
 
#define TEGRA_GPIO_PORT_D   16
 
#define TEGRA_GPIO_PORT_P   17
 
#define TEGRA_GPIO_PORT_G   18
 
#define TEGRA_GPIO_PORT_J   19
 
#define TEGRA_GPIO_PORT_K   20
 
#define TEGRA_GPIO_PORT_CC   21
 
#define TEGRA_GPIO_PORT_M   22
 
#define TEGRA_GPIO_PORT_S   23
 
#define TEGRA_GPIO_PORT_U   24
 
#define TEGRA_GPIO_PORT_V   25
 
#define TEGRA_GPIO_PORT_W   26
 
#define TEGRA_GPIO_PORT_Z   27
 
#define TEGRA_GPIO_PORT_AA   28
 
#define TEGRA_GPIO_PORT_EE   29
 
#define TEGRA_GPIO_PORT_FF   30
 
#define TEGRA_GPIO_PORT_GG   31
 

Typedefs

typedef struct QbGpioIoctlRec QbGpioIoctl
 Holds configurations for the GPIO pin. More...
 

Functions

NvError QbGpioInit (void)
 Registers the GPIO driver to driver framework. More...