Lines Matching refs:v4l2_ctrl

48 static bool is_cur_manual(const struct v4l2_ctrl *master)  in is_cur_manual()
55 static bool is_new_manual(const struct v4l2_ctrl *master) in is_new_manual()
1545 static u32 user_flags(const struct v4l2_ctrl *ctrl) in user_flags()
1555 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event()
1577 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event()
1592 static bool std_equal(const struct v4l2_ctrl *ctrl, u32 idx, in std_equal()
1620 static void std_init_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_init_compound()
1649 static void std_init(const struct v4l2_ctrl *ctrl, u32 idx, in std_init()
1687 static void std_log(const struct v4l2_ctrl *ctrl) in std_log()
1768 static int std_validate_compound(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate_compound()
1950 static int std_validate(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate()
2029 struct v4l2_ctrl *ctrl, in ptr_to_user()
2059 struct v4l2_ctrl *ctrl) in cur_to_user()
2066 struct v4l2_ctrl *ctrl) in new_to_user()
2079 static int def_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in def_to_user()
2091 struct v4l2_ctrl *ctrl, in user_to_ptr()
2139 struct v4l2_ctrl *ctrl) in user_to_new()
2145 static void ptr_to_ptr(struct v4l2_ctrl *ctrl, in ptr_to_ptr()
2154 static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in new_to_cur()
2190 static void cur_to_new(struct v4l2_ctrl *ctrl) in cur_to_new()
2219 static int cluster_changed(struct v4l2_ctrl *master) in cluster_changed()
2226 struct v4l2_ctrl *ctrl = master->cluster[i]; in cluster_changed()
2293 static int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new()
2343 struct v4l2_ctrl *ctrl, *next_ctrl; in v4l2_ctrl_handler_free()
2448 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) in v4l2_ctrl_find()
2458 struct v4l2_ctrl *ctrl, in handler_new_ref()
2542 static struct v4l2_ctrl *v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new()
2552 struct v4l2_ctrl *ctrl; in v4l2_ctrl_new()
2738 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_custom()
2742 struct v4l2_ctrl *ctrl; in v4l2_ctrl_new_custom()
2782 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std()
2804 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std_menu()
2837 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std_menu_items()
2870 struct v4l2_ctrl *v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std_compound()
2891 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_int_menu()
2917 bool (*filter)(const struct v4l2_ctrl *ctrl), in v4l2_ctrl_add_handler()
2930 struct v4l2_ctrl *ctrl = ref->ctrl; in v4l2_ctrl_add_handler()
2950 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl) in v4l2_ctrl_radio_filter()
2972 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster()
2993 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster()
2996 struct v4l2_ctrl *master = controls[0]; in v4l2_ctrl_auto_cluster()
3020 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active) in v4l2_ctrl_activate()
3040 void __v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) in __v4l2_ctrl_grab()
3061 static void log_ctrl(const struct v4l2_ctrl *ctrl, in log_ctrl()
3090 struct v4l2_ctrl *ctrl; in v4l2_ctrl_handler_log_status()
3119 struct v4l2_ctrl *ctrl; in __v4l2_ctrl_handler_setup()
3131 struct v4l2_ctrl *master = ctrl->cluster[0]; in __v4l2_ctrl_handler_setup()
3177 struct v4l2_ctrl *ctrl; in v4l2_query_ext_ctrl()
3304 struct v4l2_ctrl *ctrl; in v4l2_querymenu()
3360 struct v4l2_ctrl *ctrl = ref->ctrl; in v4l2_ctrl_request_clone()
3466 struct v4l2_ctrl *
3546 struct v4l2_ctrl *ctrl; in prepare_ext_ctrls()
3695 struct v4l2_ctrl *ctrl); in v4l2_g_ext_ctrls_common()
3696 struct v4l2_ctrl *master; in v4l2_g_ext_ctrls_common()
3828 static int get_ctrl(struct v4l2_ctrl *ctrl, struct v4l2_ext_control *c) in get_ctrl()
3830 struct v4l2_ctrl *master = ctrl->cluster[0]; in get_ctrl()
3860 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(hdl, control->id); in v4l2_g_ctrl()
3872 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl) in v4l2_ctrl_g_ctrl()
3885 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl) in v4l2_ctrl_g_ctrl_int64()
3902 static int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master, in try_or_set_cluster()
3914 struct v4l2_ctrl *ctrl = master->cluster[i]; in try_or_set_cluster()
3970 struct v4l2_ctrl *ctrl = helpers[i].ref->ctrl; in validate_ctrls()
4012 static void update_from_auto_cluster(struct v4l2_ctrl *master) in update_from_auto_cluster()
4067 struct v4l2_ctrl *master; in try_set_ext_ctrls_common()
4110 struct v4l2_ctrl *ctrl = helpers[idx].ref->ctrl; in try_set_ext_ctrls_common()
4234 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl()
4236 struct v4l2_ctrl *master = ctrl->cluster[0]; in set_ctrl()
4261 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock()
4278 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(hdl, control->id); in v4l2_s_ctrl()
4295 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in __v4l2_ctrl_s_ctrl()
4307 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in __v4l2_ctrl_s_ctrl_int64()
4319 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) in __v4l2_ctrl_s_ctrl_string()
4331 int __v4l2_ctrl_s_ctrl_compound(struct v4l2_ctrl *ctrl, in __v4l2_ctrl_s_ctrl_compound()
4365 struct v4l2_ctrl *ctrl = ref->ctrl; in v4l2_ctrl_request_complete()
4366 struct v4l2_ctrl *master = ctrl->cluster[0]; in v4l2_ctrl_request_complete()
4441 struct v4l2_ctrl *ctrl = ref->ctrl; in v4l2_ctrl_request_setup()
4442 struct v4l2_ctrl *master = ctrl->cluster[0]; in v4l2_ctrl_request_setup()
4513 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify, void *priv) in v4l2_ctrl_notify()
4529 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, in __v4l2_ctrl_modify_range()
4587 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
4613 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event()