Lines Matching refs:slpm
307 u32 slpm;
309 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC);
311 slpm |= BIT(offset);
313 slpm &= ~BIT(offset);
314 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC);
544 static void nmk_gpio_glitch_slpm_init(unsigned int *slpm)
550 unsigned int temp = slpm[i];
557 slpm[i] = readl(chip->addr + NMK_GPIO_SLPC);
562 static void nmk_gpio_glitch_slpm_restore(unsigned int *slpm)
572 writel(slpm[i], chip->addr + NMK_GPIO_SLPC);
1530 static unsigned int slpm[NUM_BANKS];
1560 * We REALLY need to save ALL slpm registers, because the external
1570 memset(slpm, 0xff, sizeof(slpm));
1578 slpm[g->grp.pins[i] / NMK_GPIO_PER_CHIP] &= ~BIT(bit);
1580 nmk_gpio_glitch_slpm_init(slpm);
1629 nmk_gpio_glitch_slpm_restore(slpm);
1711 int pull, slpm, output, val, i;
1729 slpm = PIN_SLPM(cfg);
1765 "pin %d [%#lx]: pull %s, slpm %s (%s%s), lowemi %s\n",
1766 pin, cfg, pullnames[pull], slpmnames[slpm],
1785 __nmk_gpio_set_slpm(nmk_chip, bit, slpm);