Lines Matching refs:lock
53 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_exit_sleep_mode()
94 k_mutex_unlock(&data->lock); in can_mcan_exit_sleep_mode()
106 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_enter_init_mode()
146 k_mutex_unlock(&data->lock); in can_mcan_enter_init_mode()
158 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_leave_init_mode()
192 k_mutex_unlock(&data->lock); in can_mcan_leave_init_mode()
207 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_set_timing()
220 k_mutex_unlock(&data->lock); in can_mcan_set_timing()
238 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_set_timing_data()
268 k_mutex_unlock(&data->lock); in can_mcan_set_timing_data()
399 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_set_mode()
447 k_mutex_unlock(&data->lock); in can_mcan_set_mode()
1080 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_add_rx_filter_std()
1091 k_mutex_unlock(&data->lock); in can_mcan_add_rx_filter_std()
1106 k_mutex_unlock(&data->lock); in can_mcan_add_rx_filter_std()
1132 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_add_rx_filter_ext()
1143 k_mutex_unlock(&data->lock); in can_mcan_add_rx_filter_ext()
1158 k_mutex_unlock(&data->lock); in can_mcan_add_rx_filter_ext()
1205 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_remove_rx_filter()
1211 k_mutex_unlock(&data->lock); in can_mcan_remove_rx_filter()
1236 k_mutex_unlock(&data->lock); in can_mcan_remove_rx_filter()
1258 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_enable_configuration_change()
1273 k_mutex_unlock(&data->lock); in can_mcan_enable_configuration_change()
1392 k_mutex_init(&data->lock); in can_mcan_init()