• Home
  • Raw
  • Download

Lines Matching refs:ctrl

121 	int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
122 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
123 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
139 bool (*equal)(const struct v4l2_ctrl *ctrl, u32 idx,
142 void (*init)(const struct v4l2_ctrl *ctrl, u32 idx,
144 void (*log)(const struct v4l2_ctrl *ctrl);
145 int (*validate)(const struct v4l2_ctrl *ctrl, u32 idx,
161 typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
334 struct v4l2_ctrl *ctrl; member
555 static inline void v4l2_ctrl_lock(struct v4l2_ctrl *ctrl) in v4l2_ctrl_lock() argument
557 mutex_lock(ctrl->handler->lock); in v4l2_ctrl_lock()
565 static inline void v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl) in v4l2_ctrl_unlock() argument
567 mutex_unlock(ctrl->handler->lock); in v4l2_ctrl_unlock()
749 typedef bool (*v4l2_ctrl_filter)(const struct v4l2_ctrl *ctrl);
784 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl);
855 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active);
871 void __v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed);
888 static inline void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) in v4l2_ctrl_grab() argument
890 if (!ctrl) in v4l2_ctrl_grab()
893 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_grab()
894 __v4l2_ctrl_grab(ctrl, grabbed); in v4l2_ctrl_grab()
895 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_grab()
917 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
939 static inline int v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, in v4l2_ctrl_modify_range() argument
944 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_modify_range()
945 rval = __v4l2_ctrl_modify_range(ctrl, min, max, step, def); in v4l2_ctrl_modify_range()
946 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_modify_range()
965 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify,
1011 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
1025 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val);
1039 static inline int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in v4l2_ctrl_s_ctrl() argument
1043 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl()
1044 rval = __v4l2_ctrl_s_ctrl(ctrl, val); in v4l2_ctrl_s_ctrl()
1045 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl()
1062 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl);
1076 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val);
1091 static inline int v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in v4l2_ctrl_s_ctrl_int64() argument
1095 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl_int64()
1096 rval = __v4l2_ctrl_s_ctrl_int64(ctrl, val); in v4l2_ctrl_s_ctrl_int64()
1097 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl_int64()
1114 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s);
1129 static inline int v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) in v4l2_ctrl_s_ctrl_string() argument
1133 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl_string()
1134 rval = __v4l2_ctrl_s_ctrl_string(ctrl, s); in v4l2_ctrl_s_ctrl_string()
1135 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl_string()
1153 int __v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl,
1170 static inline int v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl, in v4l2_ctrl_s_ctrl_compound() argument
1176 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl_compound()
1177 rval = __v4l2_ctrl_s_ctrl_compound(ctrl, type, p); in v4l2_ctrl_s_ctrl_compound()
1178 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl_compound()
1184 #define __v4l2_ctrl_s_ctrl_area(ctrl, area) \ argument
1185 __v4l2_ctrl_s_ctrl_compound((ctrl), V4L2_CTRL_TYPE_AREA, (area))
1186 #define v4l2_ctrl_s_ctrl_area(ctrl, area) \ argument
1187 v4l2_ctrl_s_ctrl_compound((ctrl), V4L2_CTRL_TYPE_AREA, (area))
1371 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1385 struct v4l2_control *ctrl);