Lines Matching refs:sev
1222 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local
1230 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event()
1231 if (sev->fh && (sev->fh != &handle->vfh || in uvc_ctrl_send_event()
1232 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event()
1234 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event()
1305 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument
1307 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1316 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event()
1322 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event()
1323 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event()
1335 sev->elems = elems; in uvc_ctrl_add_event()
1336 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_add_event()
1344 static void uvc_ctrl_del_event(struct v4l2_subscribed_event *sev) in uvc_ctrl_del_event() argument
1346 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
1349 list_del(&sev->node); in uvc_ctrl_del_event()