Lines Matching refs:fh

1223 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes)  in send_event()  argument
1233 if (sev->fh != fh || in send_event()
1235 v4l2_event_queue_fh(sev->fh, &ev); in send_event()
1557 static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in new_to_cur() argument
1578 fh = NULL; in new_to_cur()
1584 fh = NULL; in new_to_cur()
1585 send_event(fh, ctrl, in new_to_cur()
2970 static int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master, in try_or_set_cluster() argument
3009 new_to_cur(fh, master->cluster[i], ch_flags | in try_or_set_cluster()
3070 static int try_set_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in try_set_ext_ctrls() argument
3152 ret = try_or_set_cluster(fh, master, set, 0); in try_set_ext_ctrls()
3177 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in v4l2_s_ext_ctrls() argument
3180 return try_set_ext_ctrls(fh, hdl, cs, true); in v4l2_s_ext_ctrls()
3197 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl() argument
3220 return try_or_set_cluster(fh, master, true, ch_flags); in set_ctrl()
3224 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock() argument
3231 ret = set_ctrl(fh, ctrl, 0); in set_ctrl_lock()
3238 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in v4l2_s_ctrl() argument
3252 ret = set_ctrl_lock(fh, ctrl, &c); in v4l2_s_ctrl()
3366 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
3384 v4l2_event_queue_fh(sev->fh, &ev); in v4l2_ctrl_add_event()
3392 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event()
3422 int v4l2_ctrl_log_status(struct file *file, void *fh) in v4l2_ctrl_log_status() argument
3434 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, in v4l2_ctrl_subscribe_event() argument
3438 return v4l2_event_subscribe(fh, sub, 0, &v4l2_ctrl_sub_ev_ops); in v4l2_ctrl_subscribe_event()
3443 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, in v4l2_ctrl_subdev_subscribe_event() argument
3448 return v4l2_ctrl_subscribe_event(fh, sub); in v4l2_ctrl_subdev_subscribe_event()
3454 struct v4l2_fh *fh = file->private_data; in v4l2_ctrl_poll() local
3456 if (v4l2_event_pending(fh)) in v4l2_ctrl_poll()
3458 poll_wait(file, &fh->wait, wait); in v4l2_ctrl_poll()