Lines Matching defs:sub
224 const struct v4l2_event_subscription *sub, unsigned int elems,
232 if (sub->type == V4L2_EVENT_ALL)
244 sev->type = sub->type;
245 sev->id = sub->id;
246 sev->flags = sub->flags;
253 found_ev = v4l2_event_subscribed(fh, sub->type, sub->id);
279 struct v4l2_event_subscription sub;
290 sub.type = sev->type;
291 sub.id = sev->id;
295 v4l2_event_unsubscribe(fh, &sub);
301 const struct v4l2_event_subscription *sub)
306 if (sub->type == V4L2_EVENT_ALL) {
315 sev = v4l2_event_subscribed(fh, sub->type, sub->id);
333 struct v4l2_event_subscription *sub)
335 return v4l2_event_unsubscribe(fh, sub);
360 const struct v4l2_event_subscription *sub)
362 if (sub->type == V4L2_EVENT_SOURCE_CHANGE)
363 return v4l2_event_subscribe(fh, sub, 0, &v4l2_event_src_ch_ops);
369 struct v4l2_fh *fh, struct v4l2_event_subscription *sub)
371 return v4l2_src_change_event_subscribe(fh, sub);