Lines Matching refs:hwlock
116 struct hwspinlock *hwlock; member
433 if (pctl->hwlock) { in stm32_gpio_domain_activate()
434 ret = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_gpio_domain_activate()
444 if (pctl->hwlock) in stm32_gpio_domain_activate()
445 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_gpio_domain_activate()
767 if (pctl->hwlock) { in stm32_pmx_set_mode()
768 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pmx_set_mode()
786 if (pctl->hwlock) in stm32_pmx_set_mode()
787 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pmx_set_mode()
900 if (pctl->hwlock) { in stm32_pconf_set_driving()
901 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pconf_set_driving()
914 if (pctl->hwlock) in stm32_pconf_set_driving()
915 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pconf_set_driving()
951 if (pctl->hwlock) { in stm32_pconf_set_speed()
952 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pconf_set_speed()
965 if (pctl->hwlock) in stm32_pconf_set_speed()
966 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pconf_set_speed()
1002 if (pctl->hwlock) { in stm32_pconf_set_bias()
1003 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pconf_set_bias()
1016 if (pctl->hwlock) in stm32_pconf_set_bias()
1017 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pconf_set_bias()
1555 pctl->hwlock = hwspin_lock_request_specific(hwlock_id); in stm32_pctl_probe()