Lines Matching refs:lock
37 struct k_spinlock lock; member
91 key = k_spin_lock(&data->lock); in gpio_altera_configure()
101 k_spin_unlock(&data->lock, key); in gpio_altera_configure()
141 key = k_spin_lock(&data->lock); in gpio_altera_port_set_bits_raw()
151 k_spin_unlock(&data->lock, key); in gpio_altera_port_set_bits_raw()
175 key = k_spin_lock(&data->lock); in gpio_altera_port_clear_bits_raw()
185 k_spin_unlock(&data->lock, key); in gpio_altera_port_clear_bits_raw()
225 key = k_spin_lock(&data->lock); in gpio_altera_pin_interrupt_configure()
243 k_spin_unlock(&data->lock, key); in gpio_altera_pin_interrupt_configure()
269 key = k_spin_lock(&data->lock); in gpio_altera_irq_handler()
275 k_spin_unlock(&data->lock, key); in gpio_altera_irq_handler()