Lines Matching full:hwlock
112 struct hwspinlock *hwlock; member
426 if (pctl->hwlock) { in stm32_gpio_domain_activate()
427 ret = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_gpio_domain_activate()
439 if (pctl->hwlock) in stm32_gpio_domain_activate()
440 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_gpio_domain_activate()
448 if (pctl->hwlock) in stm32_gpio_domain_activate()
449 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_gpio_domain_activate()
757 if (pctl->hwlock) { in stm32_pmx_set_mode()
758 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pmx_set_mode()
776 if (pctl->hwlock) in stm32_pmx_set_mode()
777 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pmx_set_mode()
877 if (pctl->hwlock) { in stm32_pconf_set_driving()
878 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pconf_set_driving()
891 if (pctl->hwlock) in stm32_pconf_set_driving()
892 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pconf_set_driving()
932 if (pctl->hwlock) { in stm32_pconf_set_speed()
933 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pconf_set_speed()
946 if (pctl->hwlock) in stm32_pconf_set_speed()
947 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pconf_set_speed()
987 if (pctl->hwlock) { in stm32_pconf_set_bias()
988 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pconf_set_bias()
1001 if (pctl->hwlock) in stm32_pconf_set_bias()
1002 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pconf_set_bias()
1467 pctl->hwlock = hwspin_lock_request_specific(hwlock_id); in stm32_pctl_probe()