Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c57 #define STM32_GPIO_SEMCR(x) (0x54 + (0x8 * (x))) macro
308 sem = readl_relaxed(bank->base + STM32_GPIO_SEMCR(gpio_nr)); in stm32_gpio_rif_acquire_semaphore()
316 writel_relaxed(STM32_GPIO_SEMCR_SEM_MUTEX, bank->base + STM32_GPIO_SEMCR(gpio_nr)); in stm32_gpio_rif_acquire_semaphore()
318 sem = readl_relaxed(bank->base + STM32_GPIO_SEMCR(gpio_nr)); in stm32_gpio_rif_acquire_semaphore()
336 writel_relaxed(0, bank->base + STM32_GPIO_SEMCR(gpio_nr)); in stm32_gpio_rif_release_semaphore()