Lines Matching defs:v4l2_ctrl
29 struct v4l2_ctrl;
115 int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
116 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
117 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
131 bool (*equal)(const struct v4l2_ctrl *ctrl, u32 idx,
134 void (*init)(const struct v4l2_ctrl *ctrl, u32 idx,
136 void (*log)(const struct v4l2_ctrl *ctrl);
137 int (*validate)(const struct v4l2_ctrl *ctrl, u32 idx,
145 * @ctrl: pointer to struct &v4l2_ctrl
151 typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
154 * struct v4l2_ctrl - The control structure.
239 struct v4l2_ctrl {
244 struct v4l2_ctrl **cluster;
322 struct v4l2_ctrl *ctrl;
348 * @notify_priv: Passed as argument to the v4l2_ctrl notify callback.
537 static inline void v4l2_ctrl_lock(struct v4l2_ctrl *ctrl)
547 static inline void v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl)
599 * If the &v4l2_ctrl struct could not be allocated then NULL is returned
602 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
618 * If the &v4l2_ctrl struct could not be allocated, or the control
626 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
652 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
677 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
698 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
719 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
728 * @ctrl: pointer to struct &v4l2_ctrl.
731 typedef bool (*v4l2_ctrl_filter)(const struct v4l2_ctrl *ctrl);
766 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl);
775 void v4l2_ctrl_cluster(unsigned int ncontrols, struct v4l2_ctrl **controls);
810 struct v4l2_ctrl **controls,
823 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
837 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active);
853 void __v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed);
870 static inline void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed)
899 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
921 static inline int v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
947 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify,
993 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
1007 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val);
1021 static inline int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val)
1044 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl);
1058 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val);
1073 static inline int v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val)
1096 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s);
1111 static inline int v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s)
1135 int __v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl,
1152 static inline int v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl,
1305 struct v4l2_ctrl *