• Home
  • Raw
  • Download

Lines Matching refs:ctrl

129 	int (*g_volatile_ctrl)(struct v4l2_ctrl *ctrl);
130 int (*try_ctrl)(struct v4l2_ctrl *ctrl);
131 int (*s_ctrl)(struct v4l2_ctrl *ctrl);
149 bool (*equal)(const struct v4l2_ctrl *ctrl,
151 void (*init)(const struct v4l2_ctrl *ctrl, u32 from_idx,
153 void (*minimum)(const struct v4l2_ctrl *ctrl, u32 idx,
155 void (*maximum)(const struct v4l2_ctrl *ctrl, u32 idx,
157 void (*log)(const struct v4l2_ctrl *ctrl);
158 int (*validate)(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr ptr);
173 typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
378 struct v4l2_ctrl *ctrl; member
606 static inline void v4l2_ctrl_lock(struct v4l2_ctrl *ctrl) in v4l2_ctrl_lock() argument
608 mutex_lock(ctrl->handler->lock); in v4l2_ctrl_lock()
616 static inline void v4l2_ctrl_unlock(struct v4l2_ctrl *ctrl) in v4l2_ctrl_unlock() argument
618 mutex_unlock(ctrl->handler->lock); in v4l2_ctrl_unlock()
808 typedef bool (*v4l2_ctrl_filter)(const struct v4l2_ctrl *ctrl);
843 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl);
914 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active);
930 void __v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed);
947 static inline void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) in v4l2_ctrl_grab() argument
949 if (!ctrl) in v4l2_ctrl_grab()
952 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_grab()
953 __v4l2_ctrl_grab(ctrl, grabbed); in v4l2_ctrl_grab()
954 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_grab()
976 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl,
998 static inline int v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, in v4l2_ctrl_modify_range() argument
1003 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_modify_range()
1004 rval = __v4l2_ctrl_modify_range(ctrl, min, max, step, def); in v4l2_ctrl_modify_range()
1005 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_modify_range()
1029 int __v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl,
1051 static inline int v4l2_ctrl_modify_dimensions(struct v4l2_ctrl *ctrl, in v4l2_ctrl_modify_dimensions() argument
1056 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_modify_dimensions()
1057 rval = __v4l2_ctrl_modify_dimensions(ctrl, dims); in v4l2_ctrl_modify_dimensions()
1058 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_modify_dimensions()
1077 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify,
1123 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
1137 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val);
1151 static inline int v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in v4l2_ctrl_s_ctrl() argument
1155 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl()
1156 rval = __v4l2_ctrl_s_ctrl(ctrl, val); in v4l2_ctrl_s_ctrl()
1157 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl()
1174 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl);
1188 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val);
1203 static inline int v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in v4l2_ctrl_s_ctrl_int64() argument
1207 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl_int64()
1208 rval = __v4l2_ctrl_s_ctrl_int64(ctrl, val); in v4l2_ctrl_s_ctrl_int64()
1209 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl_int64()
1226 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s);
1241 static inline int v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) in v4l2_ctrl_s_ctrl_string() argument
1245 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl_string()
1246 rval = __v4l2_ctrl_s_ctrl_string(ctrl, s); in v4l2_ctrl_s_ctrl_string()
1247 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl_string()
1265 int __v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl,
1282 static inline int v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl, in v4l2_ctrl_s_ctrl_compound() argument
1288 v4l2_ctrl_lock(ctrl); in v4l2_ctrl_s_ctrl_compound()
1289 rval = __v4l2_ctrl_s_ctrl_compound(ctrl, type, p); in v4l2_ctrl_s_ctrl_compound()
1290 v4l2_ctrl_unlock(ctrl); in v4l2_ctrl_s_ctrl_compound()
1296 #define __v4l2_ctrl_s_ctrl_area(ctrl, area) \ argument
1297 __v4l2_ctrl_s_ctrl_compound((ctrl), V4L2_CTRL_TYPE_AREA, (area))
1298 #define v4l2_ctrl_s_ctrl_area(ctrl, area) \ argument
1299 v4l2_ctrl_s_ctrl_compound((ctrl), V4L2_CTRL_TYPE_AREA, (area))
1483 int v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *ctrl);
1497 struct v4l2_control *ctrl);
1601 bool v4l2_ctrl_type_op_equal(const struct v4l2_ctrl *ctrl,
1613 void v4l2_ctrl_type_op_init(const struct v4l2_ctrl *ctrl, u32 from_idx,
1623 void v4l2_ctrl_type_op_log(const struct v4l2_ctrl *ctrl);
1633 int v4l2_ctrl_type_op_validate(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr ptr);