Lines Matching refs:lock
94 struct k_spinlock lock; member
124 key = k_spin_lock(&data->lock); in gpio_atcgpio100_config()
130 k_spin_unlock(&data->lock, key); in gpio_atcgpio100_config()
138 key = k_spin_lock(&data->lock); in gpio_atcgpio100_config()
154 k_spin_unlock(&data->lock, key); in gpio_atcgpio100_config()
177 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_atcgpio100_set_masked_raw()
182 k_spin_unlock(&data->lock, key); in gpio_atcgpio100_set_masked_raw()
207 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_atcgpio100_toggle_bits()
212 k_spin_unlock(&data->lock, key); in gpio_atcgpio100_toggle_bits()
251 key = k_spin_lock(&data->lock); in gpio_atcgpio100_pin_interrupt_configure()
272 k_spin_unlock(&data->lock, key); in gpio_atcgpio100_pin_interrupt_configure()