Home
last modified time | relevance | path

Searched refs:gpdr (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpio/
Dgpio-sa1100.c54 void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; in sa1100_get_direction() local
56 if (readl_relaxed(gpdr) & BIT(offset)) in sa1100_get_direction()
64 void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; in sa1100_direction_input() local
68 writel_relaxed(readl_relaxed(gpdr) & ~BIT(offset), gpdr); in sa1100_direction_input()
76 void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; in sa1100_direction_output() local
81 writel_relaxed(readl_relaxed(gpdr) | BIT(offset), gpdr); in sa1100_direction_output()
Dgpio-merrifield.c126 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_direction_input() local
132 value = readl(gpdr); in mrfld_gpio_direction_input()
134 writel(value, gpdr); in mrfld_gpio_direction_input()
145 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_direction_output() local
152 value = readl(gpdr); in mrfld_gpio_direction_output()
154 writel(value, gpdr); in mrfld_gpio_direction_output()
163 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_get_direction() local
165 if (readl(gpdr) & BIT(offset % 32)) in mrfld_gpio_get_direction()
Dgpio-pxa.c203 unsigned long gafr = 0, gpdr = 0; in __gpio_is_occupied() local
207 gpdr = readl_relaxed(base + GPDR_OFFSET); in __gpio_is_occupied()
215 dir = gpdr & GPIO_bit(gpio); in __gpio_is_occupied()
223 ret = gpdr & GPIO_bit(gpio); in __gpio_is_occupied()
400 unsigned long gpdr, mask = GPIO_bit(gpio); in pxa_gpio_irq_type() local
415 gpdr = readl_relaxed(c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
418 writel_relaxed(gpdr | mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
420 writel_relaxed(gpdr & ~mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
/linux-6.1.9/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.c91 void __iomem *gpdr; in pxa2xx_pmx_gpio_set_direction() local
93 gpdr = pctl->base_gpdr[pin / 32]; in pxa2xx_pmx_gpio_set_direction()
99 val = readl_relaxed(gpdr); in pxa2xx_pmx_gpio_set_direction()
101 writel_relaxed(val, gpdr); in pxa2xx_pmx_gpio_set_direction()
146 void __iomem *gafr, *gpdr; in pxa2xx_pmx_set_mux() local
157 gpdr = pctl->base_gpdr[pin / 32]; in pxa2xx_pmx_set_mux()
168 val = readl_relaxed(gpdr); in pxa2xx_pmx_set_mux()
170 writel_relaxed(val, gpdr); in pxa2xx_pmx_set_mux()
/linux-6.1.9/arch/arm/mach-sa1100/
Dassabet.c170 unsigned gpdr = GPDR; in adv7171_write() local
192 GPDR = gpdr; in adv7171_write()
/linux-6.1.9/arch/mips/include/asm/sn/
Dioc3.h130 u32 gpdr; /* 0x0003c */ member