Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmt7621_gpio.c38 static void __iomem *mediatek_gpio_membase; variable
55 return !!(ioread32(mediatek_gpio_membase + in mediatek_gpio_get_value()
64 iowrite32(BIT(offset), mediatek_gpio_membase + in mediatek_gpio_set_value()
74 clrbits_le32(mediatek_gpio_membase + reg_offs(plat, GPIO_REG_CTRL), in mediatek_gpio_direction_input()
85 setbits_le32(mediatek_gpio_membase + reg_offs(plat, GPIO_REG_CTRL), in mediatek_gpio_direction_output()
97 t = ioread32(mediatek_gpio_membase + reg_offs(plat, GPIO_REG_CTRL)); in mediatek_gpio_get_function()
141 mediatek_gpio_membase = dev_remap_addr(parent); in gpio_mediatek_bind()
142 if (!mediatek_gpio_membase) in gpio_mediatek_bind()