Lines Matching refs:mutex

83 	struct mutex mutex;  member
193 mutex_lock(&tw9900->mutex); in tw9900_get_fmt()
195 mutex_unlock(&tw9900->mutex); in tw9900_get_fmt()
207 mutex_lock(&tw9900->mutex); in tw9900_set_fmt()
210 mutex_unlock(&tw9900->mutex); in tw9900_set_fmt()
216 mutex_unlock(&tw9900->mutex); in tw9900_set_fmt()
265 mutex_lock(&tw9900->mutex); in tw9900_s_stream()
268 mutex_unlock(&tw9900->mutex); in tw9900_s_stream()
272 mutex_unlock(&tw9900->mutex); in tw9900_s_stream()
279 mutex_lock(&tw9900->mutex); in tw9900_s_stream()
298 mutex_unlock(&tw9900->mutex); in tw9900_s_stream()
301 mutex_lock(&tw9900->mutex); in tw9900_s_stream()
310 mutex_unlock(&tw9900->mutex); in tw9900_s_stream()
318 mutex_unlock(&tw9900->mutex); in tw9900_s_stream()
353 mutex_lock(&tw9900->mutex); in tw9900_s_std()
355 mutex_unlock(&tw9900->mutex); in tw9900_s_std()
365 lockdep_assert_held(&tw9900->mutex); in tw9900_get_stream_std()
396 mutex_lock(&tw9900->mutex); in tw9900_g_std()
398 mutex_unlock(&tw9900->mutex); in tw9900_g_std()
407 lockdep_assert_held(&tw9900->mutex); in tw9900_start_autodetect()
440 lockdep_assert_held(&tw9900->mutex); in tw9900_detect_done()
457 mutex_lock(&tw9900->mutex); in tw9900_querystd()
460 mutex_unlock(&tw9900->mutex); in tw9900_querystd()
464 mutex_unlock(&tw9900->mutex); in tw9900_querystd()
470 mutex_lock(&tw9900->mutex); in tw9900_querystd()
495 mutex_unlock(&tw9900->mutex); in tw9900_querystd()
513 mutex_lock(&tw9900->mutex); in tw9900_g_input_status()
516 mutex_unlock(&tw9900->mutex); in tw9900_g_input_status()
520 mutex_unlock(&tw9900->mutex); in tw9900_g_input_status()
528 mutex_lock(&tw9900->mutex); in tw9900_g_input_status()
530 mutex_unlock(&tw9900->mutex); in tw9900_g_input_status()
582 mutex_lock(&tw9900->mutex); in tw9900_check_id()
584 mutex_unlock(&tw9900->mutex); in tw9900_check_id()
606 mutex_lock(&tw9900->mutex); in tw9900_runtime_resume()
613 mutex_unlock(&tw9900->mutex); in tw9900_runtime_resume()
627 mutex_unlock(&tw9900->mutex); in tw9900_runtime_resume()
641 mutex_lock(&tw9900->mutex); in tw9900_runtime_suspend()
648 mutex_unlock(&tw9900->mutex); in tw9900_runtime_suspend()
682 mutex_init(&tw9900->mutex); in tw9900_probe()
690 hdl->lock = &tw9900->mutex; in tw9900_probe()
731 mutex_destroy(&tw9900->mutex); in tw9900_probe()
747 mutex_destroy(&tw9900->mutex); in tw9900_remove()