Lines Matching refs:lock
169 struct k_sem lock; member
924 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_pin_configure()
1027 k_sem_give(&data->lock); in gpio_pca_series_pin_configure()
1063 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_port_read_standard()
1073 k_sem_give(&data->lock); in gpio_pca_series_port_read_standard()
1121 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_port_read_extended()
1132 k_sem_give(&data->lock); in gpio_pca_series_port_read_extended()
1153 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_port_write()
1179 k_sem_give(&data->lock); in gpio_pca_series_port_write()
1242 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_pin_interrupt_configure_standard()
1333 k_sem_give(&data->lock); in gpio_pca_series_pin_interrupt_configure_standard()
1393 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_pin_interrupt_configure_extended()
1460 k_sem_give(&data->lock); in gpio_pca_series_pin_interrupt_configure_extended()
1482 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_interrupt_handler_standard()
1541 k_sem_give(&data->lock); in gpio_pca_series_interrupt_handler_standard()
1578 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_interrupt_handler_extended()
1595 k_sem_give(&data->lock); in gpio_pca_series_interrupt_handler_extended()
2205 .lock = Z_SEM_INITIALIZER(gpio_##part_no##_##inst##_data.lock, 1, 1), \