Home
last modified time | relevance | path

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

/linux/arch/arm/common/
H A Dscoop.c91 unsigned short gpcr; in scoop_gpio_direction_input() local
95 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()
96 gpcr &= ~(1 << (offset + 1)); in scoop_gpio_direction_input()
97 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()
109 unsigned short gpcr; in scoop_gpio_direction_output() local
115 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()
116 gpcr |= 1 << (offset + 1); in scoop_gpio_direction_output()
117 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()