Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpio/
A 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()
A Dgpio-merrifield.c127 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_direction_input() local
133 value = readl(gpdr); in mrfld_gpio_direction_input()
135 writel(value, gpdr); in mrfld_gpio_direction_input()
146 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_direction_output() local
153 value = readl(gpdr); in mrfld_gpio_direction_output()
155 writel(value, gpdr); in mrfld_gpio_direction_output()
164 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_get_direction() local
166 if (readl(gpdr) & BIT(offset % 32)) in mrfld_gpio_get_direction()
A 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.3-rc2/drivers/pinctrl/pxa/
A 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.3-rc2/arch/arm/mach-sa1100/
A Dassabet.c169 unsigned gpdr = GPDR; in adv7171_write() local
191 GPDR = gpdr; in adv7171_write()
/linux-6.3-rc2/arch/mips/include/asm/sn/
A Dioc3.h130 u32 gpdr; /* 0x0003c */ member

Completed in 196 milliseconds