Lines Matching +full:master +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl>
12 if (!WARN_ON(!(vdev)) && ((vdev)->dev_debug & V4L2_DEV_DEBUG_CTRL)) \
17 #define has_op(master, op) \ argument
18 ((master)->ops && (master)->ops->op)
19 #define call_op(master, op) \ argument
20 (has_op(master, op) ? (master)->ops->op(master) : 0)
24 return list_entry(node, struct v4l2_ctrl_ref, node)->ctrl->id; in node2id()
29 * mode.
31 static inline bool is_cur_manual(const struct v4l2_ctrl *master) in is_cur_manual() argument
33 return master->is_auto && master->cur.val == master->manual_mode_value; in is_cur_manual()
38 * mode.
40 static inline bool is_new_manual(const struct v4l2_ctrl *master) in is_new_manual() argument
42 return master->is_auto && master->val == master->manual_mode_value; in is_new_manual()
47 u32 flags = ctrl->flags; in user_flags()
49 if (ctrl->is_ptr) in user_flags()
55 /* v4l2-ctrls-core.c */
71 void update_from_auto_cluster(struct v4l2_ctrl *master);
72 int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master,
75 /* v4l2-ctrls-api.c */
84 /* v4l2-ctrls-request.c */