Home
last modified time | relevance | path

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

/arch/powerpc/platforms/44x/
A Dgpio.c22 #define GPIO_MASK(gpio) (0x80000000 >> (gpio)) macro
63 return !!(in_be32(&regs->ir) & GPIO_MASK(gpio)); in ppc4xx_gpio_get()
73 setbits32(&regs->or, GPIO_MASK(gpio)); in __ppc4xx_gpio_set()
75 clrbits32(&regs->or, GPIO_MASK(gpio)); in __ppc4xx_gpio_set()
104 clrbits32(&regs->odr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_in()
107 clrbits32(&regs->tcr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_in()
137 clrbits32(&regs->odr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_out()
140 setbits32(&regs->tcr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_out()

Completed in 4 milliseconds