Lines Matching refs:addr

251 	void __iomem *addr;
294 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & ~BIT(offset);
295 bfunc = readl(nmk_chip->addr + NMK_GPIO_AFSLB) & ~BIT(offset);
300 writel(afunc, nmk_chip->addr + NMK_GPIO_AFSLA);
301 writel(bfunc, nmk_chip->addr + NMK_GPIO_AFSLB);
309 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC);
314 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC);
322 pdis = readl(nmk_chip->addr + NMK_GPIO_PDIS);
330 writel(pdis, nmk_chip->addr + NMK_GPIO_PDIS);
334 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATS);
337 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATC);
355 nmk_chip->addr + NMK_GPIO_LOWEMI);
361 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DIRC);
368 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATS);
370 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATC);
376 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DIRS);
391 writel(rwimsc & ~bit, nmk_chip->addr + NMK_GPIO_RWIMSC);
392 writel(fwimsc & ~bit, nmk_chip->addr + NMK_GPIO_FWIMSC);
402 writel(rwimsc, nmk_chip->addr + NMK_GPIO_RWIMSC);
403 writel(fwimsc, nmk_chip->addr + NMK_GPIO_FWIMSC);
425 nmk_chip->addr + NMK_GPIO_RIMSC);
431 nmk_chip->addr + NMK_GPIO_FIMSC);
557 slpm[i] = readl(chip->addr + NMK_GPIO_SLPC);
558 writel(temp, chip->addr + NMK_GPIO_SLPC);
572 writel(slpm[i], chip->addr + NMK_GPIO_SLPC);
618 writel(BIT(d->hwirq), nmk_chip->addr + NMK_GPIO_IC);
654 writel(*rimscval, nmk_chip->addr + rimscreg);
661 writel(*fimscval, nmk_chip->addr + fimscreg);
814 status = readl(nmk_chip->addr + NMK_GPIO_IS);
836 dir = readl(nmk_chip->addr + NMK_GPIO_DIR) & BIT(offset);
852 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DIRC);
866 value = !!(readl(nmk_chip->addr + NMK_GPIO_DAT) & BIT(offset));
906 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & BIT(offset);
907 bfunc = readl(nmk_chip->addr + NMK_GPIO_AFSLB) & BIT(offset);
936 is_out = !!(readl(nmk_chip->addr + NMK_GPIO_DIR) & BIT(offset));
937 pull = !(readl(nmk_chip->addr + NMK_GPIO_PDIS) & BIT(offset));
938 data_out = !!(readl(nmk_chip->addr + NMK_GPIO_DAT) & BIT(offset));
1066 nmk_chip->addr = base;
1130 * The virt address in nmk_chip->addr is in the nomadik register space,
1163 nmk_chip->lowemi = readl_relaxed(nmk_chip->addr + NMK_GPIO_LOWEMI);