18 #ifndef INCLUDED_GPIO_H
19 #define INCLUDED_GPIO_H
50 #define GPIO_VAL_SET 1
51 #define GPIO_VAL_RESET 0
59 #define GPIO_IOCTL_SET_VAL 1
61 #define GPIO_IOCTL_RESET_VAL 2
63 #define GPIO_IOCTL_GET_INPUT_VAL 3
79 #define TEGRA_GPIO_PORT_N 0
80 #define TEGRA_GPIO_PORT_O 1
81 #define TEGRA_GPIO_PORT_Q 2
82 #define TEGRA_GPIO_PORT_T 3
83 #define TEGRA_GPIO_PORT_I 4
84 #define TEGRA_GPIO_PORT_R 5
87 #define TEGRA_GPIO_PORT_H 6
88 #define TEGRA_GPIO_PORT_L 7
89 #define TEGRA_GPIO_PORT_X 8
90 #define TEGRA_GPIO_PORT_Y 9
93 #define TEGRA_GPIO_PORT_A 10
94 #define TEGRA_GPIO_PORT_E 11
95 #define TEGRA_GPIO_PORT_F 12
96 #define TEGRA_GPIO_PORT_BB 13
99 #define TEGRA_GPIO_PORT_B 14
100 #define TEGRA_GPIO_PORT_C 15
101 #define TEGRA_GPIO_PORT_D 16
104 #define TEGRA_GPIO_PORT_P 17
105 #define TEGRA_GPIO_PORT_G 18
108 #define TEGRA_GPIO_PORT_J 19
109 #define TEGRA_GPIO_PORT_K 20
110 #define TEGRA_GPIO_PORT_CC 21
111 #define TEGRA_GPIO_PORT_M 22
114 #define TEGRA_GPIO_PORT_S 23
115 #define TEGRA_GPIO_PORT_U 24
116 #define TEGRA_GPIO_PORT_V 25
117 #define TEGRA_GPIO_PORT_W 26
118 #define TEGRA_GPIO_PORT_Z 27
119 #define TEGRA_GPIO_PORT_AA 28
120 #define TEGRA_GPIO_PORT_EE 29
121 #define TEGRA_GPIO_PORT_FF 30
122 #define TEGRA_GPIO_PORT_GG 31
132 #endif // INCLUDED_GPIO_H
struct QbGpioIoctlRec QbGpioIoctl
Holds configurations for the GPIO pin.
NvError QbGpioInit(void)
Registers the GPIO driver to driver framework.
NvU32 Val
Holds the GPIO operation value.
NvU32 Pin
Holds the GPIO pin.
NvU32 Port
Holds the GPIO port.
Holds configurations for the GPIO pin.