Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/44x/
H A Dgpio.c22 #define GPIO_MASK(gpio) (0x80000000 >> (gpio)) macro
64 return !!(in_be32(&regs->ir) & GPIO_MASK(gpio)); in ppc4xx_gpio_get()
74 setbits32(&regs->or, GPIO_MASK(gpio)); in __ppc4xx_gpio_set()
76 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()
136 clrbits32(&regs->odr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_out()
139 setbits32(&regs->tcr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_out()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c2849 GPIO_MASK); in xgbe_phy_sfp_gpio_setup()