Lines Matching refs:lock
50 struct k_sem lock; member
190 k_sem_take(&drv_data->lock, K_FOREVER); in tca6424a_handle_interrupt()
194 k_sem_give(&drv_data->lock); in tca6424a_handle_interrupt()
202 k_sem_give(&drv_data->lock); in tca6424a_handle_interrupt()
212 k_sem_give(&drv_data->lock); in tca6424a_handle_interrupt()
308 k_sem_take(&drv_data->lock, K_FOREVER); in tca6424a_pin_config()
315 k_sem_give(&drv_data->lock); in tca6424a_pin_config()
330 k_sem_take(&drv_data->lock, K_FOREVER); in tca6424a_port_get_raw()
337 k_sem_give(&drv_data->lock); in tca6424a_port_get_raw()
353 k_sem_take(&drv_data->lock, K_FOREVER); in tca6424a_port_set_masked_raw()
360 k_sem_give(&drv_data->lock); in tca6424a_port_set_masked_raw()
386 k_sem_take(&drv_data->lock, K_FOREVER); in tca6424a_port_toggle_bits()
393 k_sem_give(&drv_data->lock); in tca6424a_port_toggle_bits()
409 k_sem_take(&drv_data->lock, K_FOREVER); in tca6424a_pin_interrupt_configure()
427 k_sem_give(&drv_data->lock); in tca6424a_pin_interrupt_configure()
569 .lock = Z_SEM_INITIALIZER(tca6424a_data##idx.lock, 1, 1), \