Lines Matching refs:vdev
44 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue()
47 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue()
62 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue()
76 if (fh->vdev->lock) in v4l2_event_dequeue()
77 mutex_unlock(fh->vdev->lock); in v4l2_event_dequeue()
88 if (fh->vdev->lock) in v4l2_event_dequeue()
89 mutex_lock(fh->vdev->lock); in v4l2_event_dequeue()
101 assert_spin_locked(&fh->vdev->fh_lock); in v4l2_event_subscribed()
169 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev) in v4l2_event_queue() argument
177 spin_lock_irqsave(&vdev->fh_lock, flags); in v4l2_event_queue()
179 list_for_each_entry(fh, &vdev->fh_list, list) in v4l2_event_queue()
182 spin_unlock_irqrestore(&vdev->fh_lock, flags); in v4l2_event_queue()
193 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_queue_fh()
195 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_queue_fh()
230 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_subscribe()
234 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_subscribe()
266 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe_all()
273 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe_all()
292 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe()
304 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe()