Home
last modified time | relevance | path

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

/Linux-v5.10/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-intel-mid.c123 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in intel_gpio_direction_input() local
131 value = readl(gpdr); in intel_gpio_direction_input()
133 writel(value, gpdr); in intel_gpio_direction_input()
146 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in intel_gpio_direction_output() local
155 value = readl(gpdr); in intel_gpio_direction_output()
157 writel(value, gpdr); in intel_gpio_direction_output()
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()
401 unsigned long gpdr, mask = GPIO_bit(gpio); in pxa_gpio_irq_type() local
416 gpdr = readl_relaxed(c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
419 writel_relaxed(gpdr | mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
421 writel_relaxed(gpdr & ~mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type()
/Linux-v5.10/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-v5.10/arch/arm/mach-sa1100/
Dassabet.c172 unsigned gpdr = GPDR; in adv7171_write() local
194 GPDR = gpdr; in adv7171_write()
/Linux-v5.10/arch/mips/include/asm/sn/
Dioc3.h130 u32 gpdr; /* 0x0003c */ member