Lines Matching refs:v4l2_ctrl
32 struct v4l2_ctrl;
71 int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
72 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
73 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
83 bool (*equal)(const struct v4l2_ctrl *ctrl, u32 idx,
86 void (*init)(const struct v4l2_ctrl *ctrl, u32 idx,
88 void (*log)(const struct v4l2_ctrl *ctrl);
89 int (*validate)(const struct v4l2_ctrl *ctrl, u32 idx,
93 typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
163 struct v4l2_ctrl { struct
168 struct v4l2_ctrl **cluster; argument
226 struct v4l2_ctrl *ctrl; argument
376 static inline void v4l2_ctrl_lock(struct v4l2_ctrl *ctrl) in v4l2_ctrl_lock()
385 static inline void v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl) in v4l2_ctrl_unlock()
423 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl,
443 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl,
465 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl,
488 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
505 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
517 struct v4l2_ctrl *v4l2_ctrl_add_ctrl(struct v4l2_ctrl_handler *hdl,
518 struct v4l2_ctrl *ctrl);
535 bool (*filter)(const struct v4l2_ctrl *ctrl));
546 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl);
552 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls);
584 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls,
595 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id);
608 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active);
623 void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed);
627 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
647 static inline int v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, in v4l2_ctrl_modify_range()
671 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify, void *priv);
707 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
710 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val);
721 static inline int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in v4l2_ctrl_s_ctrl()
741 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl);
744 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val);
756 static inline int v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in v4l2_ctrl_s_ctrl_int64()
768 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s);
780 static inline int v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) in v4l2_ctrl_s_ctrl_string()