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

/linux-4.1.27/arch/powerpc/sysdev/
H A Dppc4xx_gpio.c34 #define GPIO_MASK(gpio) (0x80000000 >> (gpio)) macro
81 return in_be32(&regs->ir) & GPIO_MASK(gpio); ppc4xx_gpio_get()
91 setbits32(&regs->or, GPIO_MASK(gpio)); __ppc4xx_gpio_set()
93 clrbits32(&regs->or, GPIO_MASK(gpio)); __ppc4xx_gpio_set()
122 clrbits32(&regs->odr, GPIO_MASK(gpio)); ppc4xx_gpio_dir_in()
125 clrbits32(&regs->tcr, GPIO_MASK(gpio)); ppc4xx_gpio_dir_in()
155 clrbits32(&regs->odr, GPIO_MASK(gpio)); ppc4xx_gpio_dir_out()
158 setbits32(&regs->tcr, GPIO_MASK(gpio)); ppc4xx_gpio_dir_out()
/linux-4.1.27/arch/unicore32/kernel/
H A Dirq.c42 #define GPIO_MASK(irq) (1 << (irq - IRQ_GPIO0)) macro
51 mask = GPIO_MASK(d->irq); puv3_gpio_type()
146 unsigned int mask = GPIO_MASK(d->irq); puv3_high_gpio_ack()
153 unsigned int mask = GPIO_MASK(d->irq); puv3_high_gpio_mask()
163 unsigned int mask = GPIO_MASK(d->irq); puv3_high_gpio_unmask()
/linux-4.1.27/drivers/gpio/
H A Dgpio-xgene-sb.c33 #define GPIO_MASK(x) (1U << ((x) % 32)) macro
66 data |= GPIO_MASK(gpio); xgene_gpio_set_bit()
68 data &= ~GPIO_MASK(gpio); xgene_gpio_set_bit()
/linux-4.1.27/sound/pci/
H A Dmaestro3.c309 #define GPIO_MASK 0x64 macro
1998 outw(~GPO_PRIMARY_AC97 , io + GPIO_MASK); snd_m3_ac97_reset()
2008 outw(~0, io + GPIO_MASK); snd_m3_ac97_reset()
2236 outw(~gpo, io + GPIO_MASK); snd_m3_amp_enable()
2244 outw(0xffff, io + GPIO_MASK); snd_m3_amp_enable()
2260 outw(0xffff, io + GPIO_MASK); snd_m3_hv_init()
2263 outw(~val, io + GPIO_MASK); snd_m3_hv_init()
2265 outw(val, io + GPIO_MASK); snd_m3_hv_init()
2267 outw(0xffff, io + GPIO_MASK); snd_m3_hv_init()
/linux-4.1.27/sound/pci/ice1712/
H A Dprodigy_hifi.c1155 0x00, /* GPIO_MASK */
1171 0x00, /* GPIO_MASK */
1187 0x00, /* GPIO_MASK */
/linux-4.1.27/sound/pci/hda/
H A Dpatch_realtek.c45 #define GPIO_MASK 0x03 macro

Completed in 811 milliseconds