Searched refs:gpdr (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/gpio/ |
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()
|
D | gpio-tangier.c | 54 u32 gpdr; member 111 void __iomem *gpdr; in tng_gpio_direction_input() local 115 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_input() 119 value = readl(gpdr); in tng_gpio_direction_input() 121 writel(value, gpdr); in tng_gpio_direction_input() 133 void __iomem *gpdr; in tng_gpio_direction_output() local 136 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_output() 141 value = readl(gpdr); in tng_gpio_direction_output() 143 writel(value, gpdr); in tng_gpio_direction_output() 152 void __iomem *gpdr; in tng_gpio_get_direction() local [all …]
|
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-6.6.21/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 91 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.6.21/arch/arm/mach-sa1100/ |
D | assabet.c | 170 unsigned gpdr = GPDR; in adv7171_write() local 192 GPDR = gpdr; in adv7171_write()
|
/linux-6.6.21/arch/mips/include/asm/sn/ |
D | ioc3.h | 130 u32 gpdr; /* 0x0003c */ member
|