Lines Matching refs:slpm
441 static void nmk_gpio_glitch_slpm_init(unsigned int *slpm) in nmk_gpio_glitch_slpm_init() argument
447 unsigned int temp = slpm[i]; in nmk_gpio_glitch_slpm_init()
454 slpm[i] = readl(chip->addr + NMK_GPIO_SLPC); in nmk_gpio_glitch_slpm_init()
459 static void nmk_gpio_glitch_slpm_restore(unsigned int *slpm) in nmk_gpio_glitch_slpm_restore() argument
469 writel(slpm[i], chip->addr + NMK_GPIO_SLPC); in nmk_gpio_glitch_slpm_restore()
866 static unsigned int slpm[NMK_MAX_BANKS]; in nmk_pmx_set() local
906 memset(slpm, 0xff, sizeof(slpm)); in nmk_pmx_set()
924 slpm[nmk_chip->bank] &= ~BIT(bit); in nmk_pmx_set()
926 nmk_gpio_glitch_slpm_init(slpm); in nmk_pmx_set()
975 nmk_gpio_glitch_slpm_restore(slpm); in nmk_pmx_set()
1059 int pull, slpm, output, val, i; in nmk_pin_config_set() local
1077 slpm = PIN_SLPM(cfg); in nmk_pin_config_set()
1114 pin, cfg, pullnames[pull], slpmnames[slpm], in nmk_pin_config_set()
1132 __nmk_gpio_set_slpm(nmk_chip, bit, slpm); in nmk_pin_config_set()