Lines Matching refs:v4l2_ctrl
40 struct v4l2_ctrl *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()
1203 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) in fill_event()
1225 static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes) in send_event()
1240 static bool std_equal(const struct v4l2_ctrl *ctrl, u32 idx, in std_equal()
1267 static void std_init(const struct v4l2_ctrl *ctrl, u32 idx, in std_init()
1302 static void std_log(const struct v4l2_ctrl *ctrl) in std_log()
1373 static int std_validate(const struct v4l2_ctrl *ctrl, u32 idx, in std_validate()
1452 struct v4l2_ctrl *ctrl, in ptr_to_user()
1482 struct v4l2_ctrl *ctrl) in cur_to_user()
1489 struct v4l2_ctrl *ctrl) in new_to_user()
1496 struct v4l2_ctrl *ctrl, in user_to_ptr()
1544 struct v4l2_ctrl *ctrl) in user_to_new()
1550 static void ptr_to_ptr(struct v4l2_ctrl *ctrl, in ptr_to_ptr()
1559 static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in new_to_cur()
1595 static void cur_to_new(struct v4l2_ctrl *ctrl) in cur_to_new()
1604 static int cluster_changed(struct v4l2_ctrl *master) in cluster_changed()
1611 struct v4l2_ctrl *ctrl = master->cluster[i]; in cluster_changed()
1678 static int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new()
1723 struct v4l2_ctrl *ctrl, *next_ctrl; in v4l2_ctrl_handler_free()
1819 struct v4l2_ctrl *v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) in v4l2_ctrl_find()
1829 struct v4l2_ctrl *ctrl) in handler_new_ref()
1899 static struct v4l2_ctrl *v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new()
1908 struct v4l2_ctrl *ctrl; in v4l2_ctrl_new()
2047 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_custom()
2051 struct v4l2_ctrl *ctrl; in v4l2_ctrl_new_custom()
2092 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std()
2114 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std_menu()
2147 struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_std_menu_items()
2180 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_new_int_menu()
2204 struct v4l2_ctrl *v4l2_ctrl_add_ctrl(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_add_ctrl()
2205 struct v4l2_ctrl *ctrl) in v4l2_ctrl_add_ctrl()
2222 bool (*filter)(const struct v4l2_ctrl *ctrl)) in v4l2_ctrl_add_handler()
2234 struct v4l2_ctrl *ctrl = ref->ctrl; in v4l2_ctrl_add_handler()
2254 bool v4l2_ctrl_radio_filter(const struct v4l2_ctrl *ctrl) in v4l2_ctrl_radio_filter()
2276 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster()
2297 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster()
2300 struct v4l2_ctrl *master = controls[0]; in v4l2_ctrl_auto_cluster()
2324 void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active) in v4l2_ctrl_activate()
2350 void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) in v4l2_ctrl_grab()
2371 static void log_ctrl(const struct v4l2_ctrl *ctrl, in log_ctrl()
2400 struct v4l2_ctrl *ctrl; in v4l2_ctrl_handler_log_status()
2429 struct v4l2_ctrl *ctrl; in v4l2_ctrl_handler_setup()
2439 struct v4l2_ctrl *master = ctrl->cluster[0]; in v4l2_ctrl_handler_setup()
2470 struct v4l2_ctrl *ctrl; in v4l2_query_ext_ctrl()
2607 struct v4l2_ctrl *ctrl; in v4l2_querymenu()
2708 struct v4l2_ctrl *ctrl; in prepare_ext_ctrls()
2832 struct v4l2_ctrl *ctrl) = cur_to_user; in v4l2_g_ext_ctrls()
2833 struct v4l2_ctrl *master; in v4l2_g_ext_ctrls()
2879 static int get_ctrl(struct v4l2_ctrl *ctrl, struct v4l2_ext_control *c) in get_ctrl()
2881 struct v4l2_ctrl *master = ctrl->cluster[0]; in get_ctrl()
2911 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(hdl, control->id); in v4l2_g_ctrl()
2929 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl) in v4l2_ctrl_g_ctrl()
2941 s64 v4l2_ctrl_g_ctrl_int64(struct v4l2_ctrl *ctrl) in v4l2_ctrl_g_ctrl_int64()
2957 static int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master, in try_or_set_cluster()
2969 struct v4l2_ctrl *ctrl = master->cluster[i]; in try_or_set_cluster()
3010 struct v4l2_ctrl *ctrl = helpers[i].ctrl; in validate_ctrls()
3044 static void update_from_auto_cluster(struct v4l2_ctrl *master) in update_from_auto_cluster()
3087 struct v4l2_ctrl *master; in try_set_ext_ctrls()
3130 struct v4l2_ctrl *ctrl = helpers[idx].ctrl; in try_set_ext_ctrls()
3184 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl()
3186 struct v4l2_ctrl *master = ctrl->cluster[0]; in set_ctrl()
3211 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock()
3228 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(hdl, control->id); in v4l2_s_ctrl()
3251 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in __v4l2_ctrl_s_ctrl()
3262 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in __v4l2_ctrl_s_ctrl_int64()
3273 int __v4l2_ctrl_s_ctrl_string(struct v4l2_ctrl *ctrl, const char *s) in __v4l2_ctrl_s_ctrl_string()
3284 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify, void *priv) in v4l2_ctrl_notify()
3300 int __v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, in __v4l2_ctrl_modify_range()
3353 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
3379 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event()