Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/4xx/
H A Dgpio.c23 #define GPIO_MASK2(gpio) (0xc0000000 >> ((gpio) * 2)) macro
110 clrbits32(&regs->osrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
111 clrbits32(&regs->tsrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
113 clrbits32(&regs->osrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
114 clrbits32(&regs->tsrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
143 clrbits32(&regs->osrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()
144 clrbits32(&regs->tsrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()
146 clrbits32(&regs->osrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()
147 clrbits32(&regs->tsrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()