Searched refs:GPIO_PORT (Results 1 – 4 of 4) sorted by relevance
53 u = readl(&bank->gpio_config[GPIO_PORT(gpio)]); in get_config()72 u = readl(&bank->gpio_config[GPIO_PORT(gpio)]); in set_config()77 writel(u, &bank->gpio_config[GPIO_PORT(gpio)]); in set_config()88 u = readl(&bank->gpio_dir_out[GPIO_PORT(gpio)]); in get_direction()107 u = readl(&bank->gpio_dir_out[GPIO_PORT(gpio)]); in set_direction()112 writel(u, &bank->gpio_dir_out[GPIO_PORT(gpio)]); in set_direction()125 u = readl(&bank->gpio_out[GPIO_PORT(gpio)]); in set_level()130 writel(u, &bank->gpio_out[GPIO_PORT(gpio)]); in set_level()181 val = readl(&state->bank->gpio_in[GPIO_PORT(gpio)]); in tegra_gpio_get_value()183 val = readl(&state->bank->gpio_out[GPIO_PORT(gpio)]); in tegra_gpio_get_value()
27 #define GPIO_PORT(x) (((x) >> 3) & 0x3) macro31 GPIO_PORT(x) * 4)240 port = GPIO_PORT(offset); in tegra_gpio_set_debounce()305 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; in tegra_gpio_irq_set_type()501 port = GPIO_PORT(gpio); in tegra_gpio_irq_set_wake()
17 #define GPIO_PORT(x) (((x) >> 3) & 0x3) macro
135 #define _GPIO_PORT(pfx, sfx) PINMUX_GPIO(GPIO_PORT##pfx, PORT##pfx##_DATA)