Lines Matching refs:lock

94 	struct k_spinlock lock;  member
280 key = k_spin_lock(&drv_data->lock); in gpio_emul_pend_interrupt()
284 k_spin_unlock(&drv_data->lock, key); in gpio_emul_pend_interrupt()
286 key = k_spin_lock(&drv_data->lock); in gpio_emul_pend_interrupt()
293 k_spin_unlock(&drv_data->lock, key); in gpio_emul_pend_interrupt()
341 key = k_spin_lock(&drv_data->lock); in gpio_emul_input_set_masked()
345 k_spin_unlock(&drv_data->lock, key); in gpio_emul_input_set_masked()
372 key = k_spin_lock(&drv_data->lock); in gpio_emul_output_get_masked()
374 k_spin_unlock(&drv_data->lock, key); in gpio_emul_output_get_masked()
396 key = k_spin_lock(&drv_data->lock); in gpio_emul_flags_get()
398 k_spin_unlock(&drv_data->lock, key); in gpio_emul_flags_get()
431 key = k_spin_lock(&drv_data->lock); in gpio_emul_pin_configure()
462 k_spin_unlock(&drv_data->lock, key); in gpio_emul_pin_configure()
478 key = k_spin_lock(&drv_data->lock); in gpio_emul_pin_get_config()
491 k_spin_unlock(&drv_data->lock, key); in gpio_emul_pin_get_config()
507 key = k_spin_lock(&drv_data->lock); in gpio_emul_port_get_raw()
509 k_spin_unlock(&drv_data->lock, key); in gpio_emul_port_get_raw()
528 key = k_spin_lock(&drv_data->lock); in gpio_emul_port_set_masked_raw()
542 k_spin_unlock(&drv_data->lock, key); in gpio_emul_port_set_masked_raw()
565 key = k_spin_lock(&drv_data->lock); in gpio_emul_port_set_bits_raw()
573 k_spin_unlock(&drv_data->lock, key); in gpio_emul_port_set_bits_raw()
593 key = k_spin_lock(&drv_data->lock); in gpio_emul_port_clear_bits_raw()
600 k_spin_unlock(&drv_data->lock, key); in gpio_emul_port_clear_bits_raw()
616 key = k_spin_lock(&drv_data->lock); in gpio_emul_port_toggle_bits()
621 k_spin_unlock(&drv_data->lock, key); in gpio_emul_port_toggle_bits()
703 key = k_spin_lock(&drv_data->lock);
745 k_spin_unlock(&drv_data->lock, key);