Home
last modified time | relevance | path

Searched refs:slpm (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c441 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()
[all …]
/linux/drivers/gpio/
H A Dgpio-nomadik.c44 u32 slpm; in __nmk_gpio_set_slpm() local
50 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()