Searched refs:device_state_mutex (Results 1 – 4 of 4) sorted by relevance
171 mutex_lock(&persist->device_state_mutex); in mlx4_enter_error_state()194 mutex_unlock(&persist->device_state_mutex); in mlx4_enter_error_state()202 mutex_unlock(&persist->device_state_mutex); in mlx4_enter_error_state()
273 mutex_lock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post()276 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post()284 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_comm_cmd_post()441 mutex_lock(&dev->persist->device_state_mutex); in mlx4_cmd_post()506 mutex_unlock(&dev->persist->device_state_mutex); in mlx4_cmd_post()
4020 mutex_init(&dev->persist->device_state_mutex); in mlx4_init_one()
864 struct mutex device_state_mutex; /* protect HW state */ member