Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmsm_gpio.c17 #define GPIO_CONFIG_OFF(no) ((no) * 0x1000) macro
36 phys_addr_t reg = priv->base + GPIO_CONFIG_OFF(gpio); in msm_gpio_direction_input()
59 phys_addr_t reg = priv->base + GPIO_CONFIG_OFF(gpio); in msm_gpio_direction_output()
81 if (readl(priv->base + GPIO_CONFIG_OFF(offset)) & GPIO_OE_ENABLE) in msm_gpio_get_function()