Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-nomadik.c72 static void __nmk_gpio_set_mode(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_mode() argument
78 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & ~bit; in __nmk_gpio_set_mode()
79 bfunc = readl(nmk_chip->addr + NMK_GPIO_AFSLB) & ~bit; in __nmk_gpio_set_mode()
84 writel(afunc, nmk_chip->addr + NMK_GPIO_AFSLA); in __nmk_gpio_set_mode()
85 writel(bfunc, nmk_chip->addr + NMK_GPIO_AFSLB); in __nmk_gpio_set_mode()
88 static void __nmk_gpio_set_slpm(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_slpm() argument
94 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm()
99 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm()
102 static void __nmk_gpio_set_pull(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_pull() argument
108 pdis = readl(nmk_chip->addr + NMK_GPIO_PDIS); in __nmk_gpio_set_pull()
[all …]