Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/4xx/
Dgpio.c35 #define GPIO_MASK2(gpio) (0xc0000000 >> ((gpio) * 2)) macro
122 clrbits32(&regs->osrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
123 clrbits32(&regs->tsrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
125 clrbits32(&regs->osrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
126 clrbits32(&regs->tsrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_in()
155 clrbits32(&regs->osrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()
156 clrbits32(&regs->tsrl, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()
158 clrbits32(&regs->osrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()
159 clrbits32(&regs->tsrh, GPIO_MASK2(gpio)); in ppc4xx_gpio_dir_out()