Searched refs:slpm (Results 1 – 2 of 2) sorted by relevance
441 static void nmk_gpio_glitch_slpm_init(unsigned int *slpm) in nmk_gpio_glitch_slpm_init() argument447 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() argument469 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() local906 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()[all …]
44 u32 slpm; in __nmk_gpio_set_slpm() local50 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm()52 slpm |= BIT(offset); in __nmk_gpio_set_slpm()54 slpm &= ~BIT(offset); in __nmk_gpio_set_slpm()55 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm()