Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-uniphier.c33 #define UNIPHIER_GPIO_PORT_DIR 0x4 /* direction (1:in, 0:out) */ macro
125 return uniphier_gpio_offset_read(chip, offset, UNIPHIER_GPIO_PORT_DIR); in uniphier_gpio_get_direction()
131 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DIR, 1); in uniphier_gpio_direction_input()
140 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DIR, 0); in uniphier_gpio_direction_output()
452 *val++ = readl(priv->regs + reg + UNIPHIER_GPIO_PORT_DIR); in uniphier_gpio_suspend()
474 writel(*val++, priv->regs + reg + UNIPHIER_GPIO_PORT_DIR); in uniphier_gpio_resume()