Lines Matching refs:base
33 void __iomem *base;
120 return pinctrl_gpio_direction_input(chip->base + gpio);
138 return pinctrl_gpio_direction_output(chip->base + gpio);
151 irq_isfr = vf610_gpio_readl(port->base + PORT_ISFR);
154 vf610_gpio_writel(BIT(pin), port->base + PORT_ISFR);
168 vf610_gpio_writel(BIT(gpio), port->base + PORT_ISFR);
211 void __iomem *pcr_base = port->base + PORT_PCR(d->hwirq);
220 void __iomem *pcr_base = port->base + PORT_PCR(d->hwirq);
260 port->base = devm_platform_ioremap_resource(pdev, 0);
261 if (IS_ERR(port->base))
262 return PTR_ERR(port->base);
309 gc->base = of_alias_get_id(np, "gpio") * VF610_GPIO_PER_PORT;
328 vf610_gpio_writel(0, port->base + PORT_PCR(i));
331 vf610_gpio_writel(~0, port->base + PORT_ISFR);