Searched refs:uniphier_gpio_offset_write (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | gpio-uniphier.c | 71 static void uniphier_gpio_offset_write(struct udevice *dev, unsigned int offset, in uniphier_gpio_offset_write() function 104 uniphier_gpio_offset_write(dev, offset, UNIPHIER_GPIO_PORT_DIR, 1); in uniphier_gpio_direction_input() 112 uniphier_gpio_offset_write(dev, offset, UNIPHIER_GPIO_PORT_DATA, value); in uniphier_gpio_direction_output() 113 uniphier_gpio_offset_write(dev, offset, UNIPHIER_GPIO_PORT_DIR, 0); in uniphier_gpio_direction_output() 126 uniphier_gpio_offset_write(dev, offset, UNIPHIER_GPIO_PORT_DATA, value); in uniphier_gpio_set_value()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-uniphier.c | 84 static void uniphier_gpio_offset_write(struct gpio_chip *chip, in uniphier_gpio_offset_write() function 121 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DIR, 1); in uniphier_gpio_direction_input() 129 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DATA, val); in uniphier_gpio_direction_output() 130 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DIR, 0); in uniphier_gpio_direction_output() 143 uniphier_gpio_offset_write(chip, offset, UNIPHIER_GPIO_PORT_DATA, val); in uniphier_gpio_set()
|