Lines Matching refs:fh
1225 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event() argument
1235 if (sev->fh != fh || in send_event()
1237 v4l2_event_queue_fh(sev->fh, &ev); in send_event()
1559 static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in new_to_cur() argument
1580 fh = NULL; in new_to_cur()
1586 fh = NULL; in new_to_cur()
1587 send_event(fh, ctrl, in new_to_cur()
2957 static int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master, in try_or_set_cluster() argument
2996 new_to_cur(fh, master->cluster[i], ch_flags | in try_or_set_cluster()
3057 static int try_set_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in try_set_ext_ctrls() argument
3139 ret = try_or_set_cluster(fh, master, set, 0); in try_set_ext_ctrls()
3164 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in v4l2_s_ext_ctrls() argument
3167 return try_set_ext_ctrls(fh, hdl, cs, true); in v4l2_s_ext_ctrls()
3184 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl() argument
3207 return try_or_set_cluster(fh, master, true, ch_flags); in set_ctrl()
3211 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock() argument
3218 ret = set_ctrl(fh, ctrl, 0); in set_ctrl_lock()
3225 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in v4l2_s_ctrl() argument
3239 ret = set_ctrl_lock(fh, ctrl, &c); in v4l2_s_ctrl()
3353 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
3371 v4l2_event_queue_fh(sev->fh, &ev); in v4l2_ctrl_add_event()
3379 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event()
3409 int v4l2_ctrl_log_status(struct file *file, void *fh) in v4l2_ctrl_log_status() argument
3421 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, in v4l2_ctrl_subscribe_event() argument
3425 return v4l2_event_subscribe(fh, sub, 0, &v4l2_ctrl_sub_ev_ops); in v4l2_ctrl_subscribe_event()
3430 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, in v4l2_ctrl_subdev_subscribe_event() argument
3435 return v4l2_ctrl_subscribe_event(fh, sub); in v4l2_ctrl_subdev_subscribe_event()
3441 struct v4l2_fh *fh = file->private_data; in v4l2_ctrl_poll() local
3443 if (v4l2_event_pending(fh)) in v4l2_ctrl_poll()
3445 poll_wait(file, &fh->wait, wait); in v4l2_ctrl_poll()