Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dkw_gpio.c28 u = readl(GPIO_IO_CONF(pin)); in __set_direction()
33 writel(u, GPIO_IO_CONF(pin)); in __set_direction()
35 u = readl(GPIO_IO_CONF(pin)); in __set_direction()
128 if (readl(GPIO_IO_CONF(pin)) & (1 << (pin & 31))) in kw_gpio_get_value()
/openbmc/linux/arch/arm/plat-orion/
H A Dgpio.c57 static void __iomem *GPIO_IO_CONF(struct orion_gpio_chip *ochip) in GPIO_IO_CONF() function
101 u = readl(GPIO_IO_CONF(ochip)); in __set_direction()
106 writel(u, GPIO_IO_CONF(ochip)); in __set_direction()
187 if (readl(GPIO_IO_CONF(ochip)) & (1 << pin)) { in orion_gpio_get()
362 u = readl(GPIO_IO_CONF(ochip)) & (1 << pin); in gpio_irq_set_type()
450 io_conf = readl_relaxed(GPIO_IO_CONF(ochip)); in orion_gpio_dbg_show()
/openbmc/u-boot/arch/arm/mach-kirkwood/include/mach/
H A Dgpio.h20 #define GPIO_IO_CONF(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x04) macro