Searched refs:gpdr (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-sa1100.c | 55 void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; in sa1100_get_direction() local 57 if (readl_relaxed(gpdr) & BIT(offset)) in sa1100_get_direction() 65 void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; in sa1100_direction_input() local 69 writel_relaxed(readl_relaxed(gpdr) & ~BIT(offset), gpdr); in sa1100_direction_input() 77 void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; in sa1100_direction_output() local 82 writel_relaxed(readl_relaxed(gpdr) | BIT(offset), gpdr); in sa1100_direction_output()
|
H A D | gpio-tangier.c | 56 u32 gpdr; member 109 void __iomem *gpdr; in tng_gpio_direction_input() local 113 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_input() 117 value = readl(gpdr); in tng_gpio_direction_input() 119 writel(value, gpdr); in tng_gpio_direction_input() 128 void __iomem *gpdr; in tng_gpio_direction_output() local 131 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_output() 136 value = readl(gpdr); in tng_gpio_direction_output() 138 writel(value, gpdr); in tng_gpio_direction_output() 145 void __iomem *gpdr; in tng_gpio_get_direction() local [all …]
|
H A D | gpio-pxa.c | 197 unsigned long gafr = 0, gpdr = 0; in __gpio_is_occupied() local 201 gpdr = readl_relaxed(base + GPDR_OFFSET); in __gpio_is_occupied() 209 dir = gpdr & GPIO_bit(gpio); in __gpio_is_occupied() 217 ret = gpdr & GPIO_bit(gpio); in __gpio_is_occupied() 395 unsigned long gpdr, mask = GPIO_bit(gpio); in pxa_gpio_irq_type() local 410 gpdr = readl_relaxed(c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type() 413 writel_relaxed(gpdr | mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type() 415 writel_relaxed(gpdr & ~mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
|
/linux/arch/arm/mach-sa1100/ |
H A D | assabet.c | 170 unsigned gpdr = GPDR; in adv7171_write() local 192 GPDR = gpdr; in adv7171_write()
|
/linux/arch/mips/include/asm/sn/ |
H A D | ioc3.h | 130 u32 gpdr; /* 0x0003c */ member
|