Lines Matching defs:ctrl
40 struct v4l2_ctrl *ctrl; member
1201 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event()
1223 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event()
1238 static bool std_equal(const struct v4l2_ctrl *ctrl, u32 idx, in std_equal()
1265 static void std_init(const struct v4l2_ctrl *ctrl, u32 idx, in std_init()
1300 static void std_log(const struct v4l2_ctrl *ctrl) in std_log()
1354 #define ROUND_TO_RANGE(val, offset_type, ctrl) \ argument
1371 static int std_validate(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate()
1450 struct v4l2_ctrl *ctrl, in ptr_to_user()
1480 struct v4l2_ctrl *ctrl) in cur_to_user()
1487 struct v4l2_ctrl *ctrl) in new_to_user()
1494 struct v4l2_ctrl *ctrl, in user_to_ptr()
1542 struct v4l2_ctrl *ctrl) in user_to_new()
1548 static void ptr_to_ptr(struct v4l2_ctrl *ctrl, in ptr_to_ptr()
1557 static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in new_to_cur()
1593 static void cur_to_new(struct v4l2_ctrl *ctrl) in cur_to_new()
1609 struct v4l2_ctrl *ctrl = master->cluster[i]; in cluster_changed() local
1676 static int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new()
1736 struct v4l2_ctrl *ctrl, *next_ctrl; in v4l2_ctrl_handler_free() local
1842 struct v4l2_ctrl *ctrl) in handler_new_ref()
1921 struct v4l2_ctrl *ctrl; in v4l2_ctrl_new() local
2064 struct v4l2_ctrl *ctrl; in v4l2_ctrl_new_custom() local
2218 struct v4l2_ctrl *ctrl) in v4l2_ctrl_add_ctrl()
2235 bool (*filter)(const struct v4l2_ctrl *ctrl)) in v4l2_ctrl_add_handler()
2247 struct v4l2_ctrl *ctrl = ref->ctrl; in v4l2_ctrl_add_handler() local
2267 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl) in v4l2_ctrl_radio_filter()
2337 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active) in v4l2_ctrl_activate()
2363 void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) in v4l2_ctrl_grab()
2384 static void log_ctrl(const struct v4l2_ctrl *ctrl, in log_ctrl()
2413 struct v4l2_ctrl *ctrl; in v4l2_ctrl_handler_log_status() local
2442 struct v4l2_ctrl *ctrl; in v4l2_ctrl_handler_setup() local
2483 struct v4l2_ctrl *ctrl; in v4l2_query_ext_ctrl() local
2620 struct v4l2_ctrl *ctrl; in v4l2_querymenu() local
2721 struct v4l2_ctrl *ctrl; in prepare_ext_ctrls() local
2892 static int get_ctrl(struct v4l2_ctrl *ctrl, struct v4l2_ext_control *c) in get_ctrl()
2924 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(hdl, control->id); in v4l2_g_ctrl() local
2942 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl) in v4l2_ctrl_g_ctrl()
2954 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl) in v4l2_ctrl_g_ctrl_int64()
2982 struct v4l2_ctrl *ctrl = master->cluster[i]; in try_or_set_cluster() local
3023 struct v4l2_ctrl *ctrl = helpers[i].ctrl; in validate_ctrls() local
3143 struct v4l2_ctrl *ctrl = helpers[idx].ctrl; in try_set_ext_ctrls() local
3197 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl()
3224 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock()
3241 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(hdl, control->id); in v4l2_s_ctrl() local
3264 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in __v4l2_ctrl_s_ctrl()
3275 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in __v4l2_ctrl_s_ctrl_int64()
3286 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) in __v4l2_ctrl_s_ctrl_string()
3297 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify, void *priv) in v4l2_ctrl_notify()
3313 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, in __v4l2_ctrl_modify_range()
3366 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() local
3392 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event() local