Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/4xx/
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()
103 clrbits32(&regs->odr, GPIO_MASK(gpio)); in ppc4xx_gpio_dir_in()
106 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/gpio/
A Dgpio-xgene-sb.c29 #define GPIO_MASK(x) (1U << ((x) % 32)) macro
68 data |= GPIO_MASK(gpio); in xgene_gpio_set_bit()
70 data &= ~GPIO_MASK(gpio); in xgene_gpio_set_bit()
/linux/sound/pci/
A Dmaestro3.c289 #define GPIO_MASK 0x64 macro
1991 outw(~GPO_PRIMARY_AC97 , io + GPIO_MASK); in snd_m3_ac97_reset()
2001 outw(~0, io + GPIO_MASK); in snd_m3_ac97_reset()
2231 outw(~gpo, io + GPIO_MASK); in snd_m3_amp_enable()
2239 outw(0xffff, io + GPIO_MASK); in snd_m3_amp_enable()
2255 outw(0xffff, io + GPIO_MASK); in snd_m3_hv_init()
2258 outw(~val, io + GPIO_MASK); in snd_m3_hv_init()
2260 outw(val, io + GPIO_MASK); in snd_m3_hv_init()
2262 outw(0xffff, io + GPIO_MASK); in snd_m3_hv_init()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-phy-v2.c2660 GPIO_MASK); in xgbe_phy_sfp_gpio_setup()

Completed in 20 milliseconds