Lines Matching refs:base
48 void __iomem *base;
87 val = readl(port->base + PINCTRL_DIN(port)) & pin_mask;
111 pin_addr = port->base + PINCTRL_IRQLEV(port);
114 writel(pin_mask, port->base + PINCTRL_IRQEN(port) + MXS_SET);
117 writel(pin_mask, port->base + PINCTRL_PIN2IRQ(port) + MXS_SET);
121 pin_addr = port->base + PINCTRL_IRQPOL(port);
127 writel(pin_mask, port->base + PINCTRL_IRQSTAT(port) + MXS_CLR);
139 pin_addr = port->base + PINCTRL_IRQPOL(port);
157 irq_stat = readl(port->base + PINCTRL_IRQSTAT(port)) &
158 readl(port->base + PINCTRL_IRQEN(port));
199 port->base, handle_level_irq);
250 dir = readl(port->base + PINCTRL_DOE(port));
281 static void __iomem *base;
303 if (!base) {
305 base = of_iomap(parent, 0);
307 if (!base)
310 port->base = base;
313 writel(0, port->base + PINCTRL_PIN2IRQ(port));
314 writel(0, port->base + PINCTRL_IRQEN(port));
317 writel(~0U, port->base + PINCTRL_IRQSTAT(port) + MXS_CLR);
342 port->base + PINCTRL_DIN(port),
343 port->base + PINCTRL_DOUT(port) + MXS_SET,
344 port->base + PINCTRL_DOUT(port) + MXS_CLR,
345 port->base + PINCTRL_DOE(port), NULL, 0);
351 port->gc.base = port->id * 32;
362 iounmap(port->base);