Searched refs:UNIPHIER_GPIO_PORT_DIR (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-uniphier.c | 21 #define UNIPHIER_GPIO_PORT_DIR 0x4 /* direction (1:in, 0:out) */ macro 113 if (uniphier_gpio_offset_read(chip, offset, UNIPHIER_GPIO_PORT_DIR)) in uniphier_gpio_get_direction() 122 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DIR, 1); in uniphier_gpio_direction_input() 131 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DIR, 0); in uniphier_gpio_direction_output() 437 *val++ = readl(priv->regs + reg + UNIPHIER_GPIO_PORT_DIR); in uniphier_gpio_suspend() 459 writel(*val++, priv->regs + reg + UNIPHIER_GPIO_PORT_DIR); in uniphier_gpio_resume()
|