| H A D | gpio-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-tegra/gpio.c 6 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved. 28 #define GPIO_BANK(x) ((x) >> 5) argument 29 #define GPIO_PORT(x) (((x) >> argument 30 GPIO_BIT(x) global() argument 32 GPIO_REG(tgi,x) global() argument 35 GPIO_CNF(t,x) global() argument 36 GPIO_OE(t,x) global() argument 37 GPIO_OUT(t,x) global() argument 38 GPIO_IN(t,x) global() argument 39 GPIO_INT_STA(t,x) global() argument 40 GPIO_INT_ENB(t,x) global() argument 41 GPIO_INT_LVL(t,x) global() argument 42 GPIO_INT_CLR(t,x) global() argument 43 GPIO_DBC_CNT(t,x) global() argument 46 GPIO_MSK_CNF(t,x) global() argument 47 GPIO_MSK_OE(t,x) global() argument 48 GPIO_MSK_OUT(t,x) global() argument 49 GPIO_MSK_DBC_EN(t,x) global() argument 50 GPIO_MSK_INT_STA(t,x) global() argument 51 GPIO_MSK_INT_ENB(t,x) global() argument 52 GPIO_MSK_INT_LVL(t,x) global() argument 141 tegra_gpio_free(struct gpio_chip * chip,unsigned int offset) tegra_gpio_free() argument 149 tegra_gpio_set(struct gpio_chip * chip,unsigned int offset,int value) tegra_gpio_set() argument 159 tegra_gpio_get(struct gpio_chip * chip,unsigned int offset) tegra_gpio_get() argument 172 tegra_gpio_direction_input(struct gpio_chip * chip,unsigned int offset) tegra_gpio_direction_input() argument 190 tegra_gpio_direction_output(struct gpio_chip * chip,unsigned int offset,int value) tegra_gpio_direction_output() argument 210 tegra_gpio_get_direction(struct gpio_chip * chip,unsigned int offset) tegra_gpio_get_direction() argument 228 tegra_gpio_set_debounce(struct gpio_chip * chip,unsigned int offset,unsigned int debounce) tegra_gpio_set_debounce() argument 261 tegra_gpio_set_config(struct gpio_chip * chip,unsigned int offset,unsigned long config) tegra_gpio_set_config() argument [all...] |