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

/linux-master/arch/powerpc/platforms/4xx/
H A Dgpio.c22 #define GPIO_MASK(gpio) (0x80000000 >> (gpio)) macro
63 return !!(in_be32(&regs->ir) & GPIO_MASK(gpio));
73 setbits32(&regs->or, GPIO_MASK(gpio));
75 clrbits32(&regs->or, GPIO_MASK(gpio));
103 clrbits32(&regs->odr, GPIO_MASK(gpio));
106 clrbits32(&regs->tcr, GPIO_MASK(gpio));
136 clrbits32(&regs->odr, GPIO_MASK(gpio));
139 setbits32(&regs->tcr, GPIO_MASK(gpio));
/linux-master/drivers/gpio/
H A Dgpio-xgene-sb.c28 #define GPIO_MASK(x) (1U << ((x) % 32)) macro
67 data |= GPIO_MASK(gpio);
69 data &= ~GPIO_MASK(gpio);
/linux-master/sound/pci/
H A Dmaestro3.c289 #define GPIO_MASK 0x64 macro
1989 outw(~GPO_PRIMARY_AC97 , io + GPIO_MASK);
1999 outw(~0, io + GPIO_MASK);
2222 outw(~gpo, io + GPIO_MASK);
2230 outw(0xffff, io + GPIO_MASK);
2246 outw(0xffff, io + GPIO_MASK);
2249 outw(~val, io + GPIO_MASK);
2251 outw(val, io + GPIO_MASK);
2253 outw(0xffff, io + GPIO_MASK);
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c2964 GPIO_MASK);

Completed in 123 milliseconds