Lines Matching defs:v4l2_ctrl

19 struct v4l2_ctrl;
123 int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
124 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
125 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
139 bool (*equal)(const struct v4l2_ctrl *ctrl,
141 void (*init)(const struct v4l2_ctrl *ctrl, u32 from_idx,
143 void (*log)(const struct v4l2_ctrl *ctrl);
144 int (*validate)(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr ptr);
151 * @ctrl: pointer to struct &v4l2_ctrl
157 typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
160 * struct v4l2_ctrl - The control structure.
255 struct v4l2_ctrl {
260 struct v4l2_ctrl **cluster;
352 struct v4l2_ctrl *ctrl;
381 * @notify_priv: Passed as argument to the v4l2_ctrl notify callback.
570 static inline void v4l2_ctrl_lock(struct v4l2_ctrl *ctrl)
580 static inline void v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl)
632 * If the &v4l2_ctrl struct could not be allocated then NULL is returned
635 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
651 * If the &v4l2_ctrl struct could not be allocated, or the control
659 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
685 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
710 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
731 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl,
752 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
761 * @ctrl: pointer to struct &v4l2_ctrl.
764 typedef bool (*v4l2_ctrl_filter)(const struct v4l2_ctrl *ctrl);
799 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl);
808 void v4l2_ctrl_cluster(unsigned int ncontrols, struct v4l2_ctrl **controls);
843 struct v4l2_ctrl **controls,
856 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
870 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active);
886 void __v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed);
903 static inline void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed)
932 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
954 static inline int v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
985 int __v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl,
1007 static inline int v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl,
1033 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify,
1079 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
1093 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val);
1107 static inline int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val)
1130 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl);
1144 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val);
1159 static inline int v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val)
1182 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s);
1197 static inline int v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s)
1221 int __v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl,
1238 static inline int v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl,
1391 struct v4l2_ctrl *
1551 * @ctrl: The v4l2_ctrl pointer.
1557 bool v4l2_ctrl_type_op_equal(const struct v4l2_ctrl *ctrl,
1563 * @ctrl: The v4l2_ctrl pointer.
1569 void v4l2_ctrl_type_op_init(const struct v4l2_ctrl *ctrl, u32 from_idx,
1575 * @ctrl: The v4l2_ctrl pointer.
1579 void v4l2_ctrl_type_op_log(const struct v4l2_ctrl *ctrl);
1584 * @ctrl: The v4l2_ctrl pointer.
1589 int v4l2_ctrl_type_op_validate(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr ptr);