Searched refs:gpcr (Results 1 – 1 of 1) sorted by relevance
94 unsigned short gpcr; in scoop_gpio_direction_input() local98 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()99 gpcr &= ~(1 << (offset + 1)); in scoop_gpio_direction_input()100 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()112 unsigned short gpcr; in scoop_gpio_direction_output() local118 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()119 gpcr |= 1 << (offset + 1); in scoop_gpio_direction_output()120 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()