static void owl_gpio_free(struct gpio_chip *chip, unsigned offset) { #ifdef CONFIG_PINCTRL_OWL int gpio = chip->base + offset; pinctrl_free_gpio(gpio); #endif }
static void tz1090_gpio_free(struct gpio_chip *chip, unsigned int offset) { struct tz1090_gpio_bank *bank = to_bank(chip); pinctrl_free_gpio(chip->base + offset); tz1090_gpio_clear_bit(bank, REG_GPIO_BIT_EN, offset); }
static void em_gio_free(struct gpio_chip *chip, unsigned offset) { pinctrl_free_gpio(chip->base + offset); /* Set the GPIO as an input to ensure that the next GPIO request won't * drive the GPIO pin as an output. */ em_gio_direction_input(chip, offset); }
static void gpio_rcar_free(struct gpio_chip *chip, unsigned offset) { pinctrl_free_gpio(chip->base + offset); /* Set the GPIO as an input to ensure that the next GPIO request won't * drive the GPIO pin as an output. */ gpio_rcar_config_general_input_output_mode(chip, offset, false); }
static void gpio_rcar_free(struct gpio_chip *chip, unsigned offset) { struct gpio_rcar_priv *p = gpio_to_priv(chip); pinctrl_free_gpio(chip->base + offset); /* Set the GPIO as an input to ensure that the next GPIO request won't * drive the GPIO pin as an output. */ gpio_rcar_config_general_input_output_mode(chip, offset, false); pm_runtime_put(&p->pdev->dev); }
static void moxart_gpio_free(struct gpio_chip *chip, unsigned offset) { pinctrl_free_gpio(offset); }
static void tz1090_pdc_gpio_free(struct gpio_chip *chip, unsigned int offset) { pinctrl_free_gpio(chip->base + offset); }
static void pl061_gpio_free(struct gpio_chip *chip, unsigned offset) { int gpio = chip->base + offset; pinctrl_free_gpio(gpio); }
static void as3722_gpio_free(struct gpio_chip *chip, unsigned offset) { pinctrl_free_gpio(chip->base + offset); }
static void meson_gpio_free(struct gpio_chip *chip, unsigned gpio) { struct meson_pinctrl *pc = gpiochip_get_data(chip); pinctrl_free_gpio(pc->data->pin_base + gpio); }
static void meson_gpio_free(struct gpio_chip *chip, unsigned gpio) { pinctrl_free_gpio(chip->base + gpio); }
static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) { return pinctrl_free_gpio(offset); }
void gpio_amlogic_free(struct gpio_chip *chip,unsigned offset) { pinctrl_free_gpio(offset); return; }