Lines Matching defs:handle

1388  * table for the controls that can be mapped directly, and handle the others
1486 * default the subscriber that generated the event, as identified by @handle,
1488 * @handle can be NULL for asynchronous events related to auto-update controls,
1492 struct uvc_fh *handle, struct uvc_control *ctrl,
1495 struct v4l2_fh *originator = handle ? &handle->vfh : NULL;
1514 * by the V4L2 ID @slave_id. The @handle identifies the event subscriber that
1518 struct uvc_fh *handle, struct uvc_control *master, u32 slave_id)
1532 uvc_ctrl_send_event(chain, handle, ctrl, mapping, val, changes);
1539 struct uvc_fh *handle;
1544 handle = ctrl->handle;
1545 ctrl->handle = NULL;
1551 * handle may be NULL here if the device sends auto-update
1558 uvc_ctrl_send_slave_event(chain, handle, ctrl,
1562 uvc_ctrl_send_event(chain, handle, ctrl, mapping, value,
1597 ctrl->handle = NULL;
1624 static void uvc_ctrl_send_events(struct uvc_fh *handle,
1634 ctrl = uvc_find_control(handle->chain, xctrls[i].id, &mapping);
1654 uvc_ctrl_send_slave_event(handle->chain, handle, ctrl,
1667 uvc_ctrl_send_event(handle->chain, handle, ctrl, mapping,
1674 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh);
1679 ret = mutex_lock_interruptible(&handle->chain->ctrl_mutex);
1683 if (__uvc_query_v4l2_class(handle->chain, sev->id, 0) >= 0) {
1688 ctrl = uvc_find_control(handle->chain, sev->id, &mapping);
1700 if (__uvc_ctrl_get(handle->chain, ctrl, mapping, &val) == 0)
1703 uvc_ctrl_fill_event(handle->chain, &ev, ctrl, mapping, val,
1714 mutex_unlock(&handle->chain->ctrl_mutex);
1720 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh);
1722 mutex_lock(&handle->chain->ctrl_mutex);
1723 if (__uvc_query_v4l2_class(handle->chain, sev->id, 0) >= 0)
1727 mutex_unlock(&handle->chain->ctrl_mutex);
1841 int __uvc_ctrl_commit(struct uvc_fh *handle, int rollback,
1844 struct uvc_video_chain *chain = handle->chain;
1858 uvc_ctrl_send_events(handle, ctrls->controls, ctrls->count);
1883 int uvc_ctrl_set(struct uvc_fh *handle,
1886 struct uvc_video_chain *chain = handle->chain;
2001 ctrl->handle = handle;