Linux Kernel
3.7.1
|
#include <pinctrl-tegra.h>
Data Fields | |
const char * | name |
const unsigned * | pins |
unsigned | npins |
unsigned | funcs [4] |
unsigned | func_safe |
s16 | mux_reg |
s16 | pupd_reg |
s16 | tri_reg |
s16 | einput_reg |
s16 | odrain_reg |
s16 | lock_reg |
s16 | ioreset_reg |
s16 | drv_reg |
u32 | mux_bank:2 |
u32 | pupd_bank:2 |
u32 | tri_bank:2 |
u32 | einput_bank:2 |
u32 | odrain_bank:2 |
u32 | ioreset_bank:2 |
u32 | lock_bank:2 |
u32 | drv_bank:2 |
u32 | mux_bit:5 |
u32 | pupd_bit:5 |
u32 | tri_bit:5 |
u32 | einput_bit:5 |
u32 | odrain_bit:5 |
u32 | lock_bit:5 |
u32 | ioreset_bit:5 |
u32 | hsm_bit:5 |
u32 | schmitt_bit:5 |
u32 | lpmd_bit:5 |
u32 | drvdn_bit:5 |
u32 | drvup_bit:5 |
u32 | slwr_bit:5 |
u32 | slwf_bit:5 |
u32 | drvdn_width:6 |
u32 | drvup_width:6 |
u32 | slwr_width:6 |
u32 | slwf_width:6 |
struct tegra_pingroup - Tegra pin group : Mux register offset. -1 if unsupported. : Mux register bank. 0 if unsupported. : Mux register bit. 0 if unsupported. : Pull-up/down register offset. -1 if unsupported. : Pull-up/down register bank. 0 if unsupported. : Pull-up/down register bit. 0 if unsupported. : Tri-state register offset. -1 if unsupported. : Tri-state register bank. 0 if unsupported. : Tri-state register bit. 0 if unsupported. : Enable-input register offset. -1 if unsupported. : Enable-input register bank. 0 if unsupported. : Enable-input register bit. 0 if unsupported. : Open-drain register offset. -1 if unsupported. : Open-drain register bank. 0 if unsupported. : Open-drain register bit. 0 if unsupported. : Lock register offset. -1 if unsupported. : Lock register bank. 0 if unsupported. : Lock register bit. 0 if unsupported. : IO reset register offset. -1 if unsupported. : IO reset register bank. 0 if unsupported. : IO reset register bit. 0 if unsupported. : Drive fields register offset. -1 if unsupported. This register contains the hsm, schmitt, lpmd, drvdn, drvup, slwr, and slwf parameters. : Drive fields register bank. 0 if unsupported. : High Speed Mode register bit. 0 if unsupported. : Scmitt register bit. 0 if unsupported. : Low Power Mode register bit. 0 if unsupported. : Drive Down register bit. 0 if unsupported. : Drive Down field width. 0 if unsupported. : Drive Up register bit. 0 if unsupported. : Drive Up field width. 0 if unsupported. : Slew Rising register bit. 0 if unsupported. : Slew Rising field width. 0 if unsupported. : Slew Falling register bit. 0 if unsupported. : Slew Falling field width. 0 if unsupported.
A representation of a group of pins (possibly just one pin) in the Tegra pin controller. Each group allows some parameter or parameters to be configured. The most common is mux function selection. Many others exist such as pull-up/down, tri-state, etc. Tegra's pin controller is complex; certain groups may only support configuring certain parameters, hence each parameter is optional, represented by a -1 "reg" value.
Definition at line 121 of file pinctrl-tegra.h.
u32 drv_bank |
Definition at line 142 of file pinctrl-tegra.h.
s16 drv_reg |
Definition at line 134 of file pinctrl-tegra.h.
u32 drvdn_bit |
Definition at line 153 of file pinctrl-tegra.h.
u32 drvdn_width |
Definition at line 157 of file pinctrl-tegra.h.
u32 drvup_bit |
Definition at line 154 of file pinctrl-tegra.h.
u32 drvup_width |
Definition at line 158 of file pinctrl-tegra.h.
u32 einput_bank |
Definition at line 138 of file pinctrl-tegra.h.
u32 einput_bit |
Definition at line 146 of file pinctrl-tegra.h.
s16 einput_reg |
Definition at line 130 of file pinctrl-tegra.h.
unsigned func_safe |
Definition at line 126 of file pinctrl-tegra.h.
unsigned funcs[4] |
Definition at line 125 of file pinctrl-tegra.h.
u32 hsm_bit |
Definition at line 150 of file pinctrl-tegra.h.
u32 ioreset_bank |
Definition at line 140 of file pinctrl-tegra.h.
u32 ioreset_bit |
Definition at line 149 of file pinctrl-tegra.h.
s16 ioreset_reg |
Definition at line 133 of file pinctrl-tegra.h.
u32 lock_bank |
Definition at line 141 of file pinctrl-tegra.h.
u32 lock_bit |
Definition at line 148 of file pinctrl-tegra.h.
s16 lock_reg |
Definition at line 132 of file pinctrl-tegra.h.
u32 lpmd_bit |
Definition at line 152 of file pinctrl-tegra.h.
u32 mux_bank |
Definition at line 135 of file pinctrl-tegra.h.
u32 mux_bit |
Definition at line 143 of file pinctrl-tegra.h.
s16 mux_reg |
Definition at line 127 of file pinctrl-tegra.h.
Definition at line 122 of file pinctrl-tegra.h.
unsigned npins |
Definition at line 124 of file pinctrl-tegra.h.
u32 odrain_bank |
Definition at line 139 of file pinctrl-tegra.h.
u32 odrain_bit |
Definition at line 147 of file pinctrl-tegra.h.
s16 odrain_reg |
Definition at line 131 of file pinctrl-tegra.h.
const unsigned* pins |
Definition at line 123 of file pinctrl-tegra.h.
u32 pupd_bank |
Definition at line 136 of file pinctrl-tegra.h.
u32 pupd_bit |
Definition at line 144 of file pinctrl-tegra.h.
s16 pupd_reg |
Definition at line 128 of file pinctrl-tegra.h.
u32 schmitt_bit |
Definition at line 151 of file pinctrl-tegra.h.
u32 slwf_bit |
Definition at line 156 of file pinctrl-tegra.h.
u32 slwf_width |
Definition at line 160 of file pinctrl-tegra.h.
u32 slwr_bit |
Definition at line 155 of file pinctrl-tegra.h.
u32 slwr_width |
Definition at line 159 of file pinctrl-tegra.h.
u32 tri_bank |
Definition at line 137 of file pinctrl-tegra.h.
u32 tri_bit |
Definition at line 145 of file pinctrl-tegra.h.
s16 tri_reg |
Definition at line 129 of file pinctrl-tegra.h.