Lines Matching refs:addr
248 void __iomem *addr;
291 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & ~BIT(offset);
292 bfunc = readl(nmk_chip->addr + NMK_GPIO_AFSLB) & ~BIT(offset);
297 writel(afunc, nmk_chip->addr + NMK_GPIO_AFSLA);
298 writel(bfunc, nmk_chip->addr + NMK_GPIO_AFSLB);
306 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC);
311 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC);
319 pdis = readl(nmk_chip->addr + NMK_GPIO_PDIS);
327 writel(pdis, nmk_chip->addr + NMK_GPIO_PDIS);
331 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATS);
334 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATC);
352 nmk_chip->addr + NMK_GPIO_LOWEMI);
358 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DIRC);
365 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATS);
367 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DATC);
373 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DIRS);
388 writel(rwimsc & ~bit, nmk_chip->addr + NMK_GPIO_RWIMSC);
389 writel(fwimsc & ~bit, nmk_chip->addr + NMK_GPIO_FWIMSC);
399 writel(rwimsc, nmk_chip->addr + NMK_GPIO_RWIMSC);
400 writel(fwimsc, nmk_chip->addr + NMK_GPIO_FWIMSC);
422 nmk_chip->addr + NMK_GPIO_RIMSC);
428 nmk_chip->addr + NMK_GPIO_FIMSC);
554 slpm[i] = readl(chip->addr + NMK_GPIO_SLPC);
555 writel(temp, chip->addr + NMK_GPIO_SLPC);
569 writel(slpm[i], chip->addr + NMK_GPIO_SLPC);
615 writel(BIT(d->hwirq), nmk_chip->addr + NMK_GPIO_IC);
651 writel(*rimscval, nmk_chip->addr + rimscreg);
658 writel(*fimscval, nmk_chip->addr + fimscreg);
812 status = readl(nmk_chip->addr + NMK_GPIO_IS);
834 dir = readl(nmk_chip->addr + NMK_GPIO_DIR) & BIT(offset);
850 writel(BIT(offset), nmk_chip->addr + NMK_GPIO_DIRC);
864 value = !!(readl(nmk_chip->addr + NMK_GPIO_DAT) & BIT(offset));
904 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & BIT(offset);
905 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;
1109 * The virt address in nmk_chip->addr is in the nomadik register space,
1155 nmk_chip->lowemi = readl_relaxed(nmk_chip->addr + NMK_GPIO_LOWEMI);