Home
last modified time | relevance | path

Searched refs:base_gpio (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dtegra_gpio.c33 int base_gpio; /* Port number for this port (0, 1,.., n-1) */ member
39 int base_gpio; /* Port number for this port (0, 1,.., n-1) */ member
140 set_direction(state->base_gpio + offset, DIRECTION_INPUT); in tegra_gpio_direction_input()
143 set_config(state->base_gpio + offset, 1); in tegra_gpio_direction_input()
153 int gpio = state->base_gpio + offset; in tegra_gpio_direction_output()
162 set_config(state->base_gpio + offset, 1); in tegra_gpio_direction_output()
171 int gpio = state->base_gpio + offset; in tegra_gpio_get_value()
189 int gpio = state->base_gpio + offset; in tegra_gpio_set_value()
225 int gpio = state->base_gpio + offset; in tegra_gpio_get_function()
301 priv->base_gpio = plat->base_gpio; in gpio_tegra_probe()
[all …]