Lines Matching refs:v4l2_ctrl
29 struct v4l2_ctrl;
46 int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
47 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
48 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
51 /** struct v4l2_ctrl - The control structure.
94 struct v4l2_ctrl {
98 struct v4l2_ctrl **cluster;
142 struct v4l2_ctrl *ctrl;
282 * If the &v4l2_ctrl struct could not be allocated then NULL is returned
285 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
297 * If the &v4l2_ctrl struct could not be allocated, or the control
305 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
327 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
339 struct v4l2_ctrl *v4l2_ctrl_add_ctrl(struct v4l2_ctrl_handler *hdl,
340 struct v4l2_ctrl *ctrl);
360 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls);
370 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
383 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active);
397 void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed);
403 static inline void v4l2_ctrl_lock(struct v4l2_ctrl *ctrl)
412 static inline void v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl)
426 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
438 int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val);