Lines Matching refs:v4l2_lock
137 struct mutex v4l2_lock; /* Protects everything else */ member
722 mutex_lock(&dev->v4l2_lock); in hackrf_disconnect()
728 mutex_unlock(&dev->v4l2_lock); in hackrf_disconnect()
808 mutex_lock(&dev->v4l2_lock); in hackrf_start_streaming()
852 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
863 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
875 mutex_lock(&dev->v4l2_lock); in hackrf_stop_streaming()
891 mutex_unlock(&dev->v4l2_lock); in hackrf_stop_streaming()
1376 mutex_init(&dev->v4l2_lock); in hackrf_probe()
1497 dev->rx_vdev.lock = &dev->v4l2_lock; in hackrf_probe()
1515 dev->tx_vdev.lock = &dev->v4l2_lock; in hackrf_probe()