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
175 if (vdev == NULL) in v4l2_event_queue()
180 spin_lock_irqsave(&vdev->fh_lock, flags); in v4l2_event_queue()
182 list_for_each_entry(fh, &vdev->fh_list, list) in v4l2_event_queue()
185 spin_unlock_irqrestore(&vdev->fh_lock, flags); in v4l2_event_queue()
196 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_queue_fh()
198 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_queue_fh()
233 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_subscribe()
237 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_subscribe()
269 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe_all()
276 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe_all()
295 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe()
307 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in v4l2_event_unsubscribe()