Lines Matching refs:ctrls
71 ret = s5c73m3_get_af_status(state, state->ctrls.af_status); in s5c73m3_g_volatile_ctrl()
97 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]); in s5c73m3_set_colorfx()
109 struct s5c73m3_ctrls *ctrls = &state->ctrls; in s5c73m3_set_exposure() local
112 if (ctrls->exposure_metering->is_new) { in s5c73m3_set_exposure()
115 switch (ctrls->exposure_metering->val) { in s5c73m3_set_exposure()
130 if (!ret && ctrls->exposure_bias->is_new) { in s5c73m3_set_exposure()
131 u16 exp_bias = ctrls->exposure_bias->val; in s5c73m3_set_exposure()
137 ctrls->exposure_bias->val, ctrls->exposure_metering->val, ret); in s5c73m3_set_exposure()
160 v4l2_ctrl_get_menu(state->ctrls.auto_wb->id)[i]); in s5c73m3_set_white_balance()
170 struct s5c73m3_ctrls *c = &state->ctrls; in s5c73m3_af_run()
198 && state->ctrls.auto_wb->val) { in s5c73m3_3a_lock()
213 struct s5c73m3_ctrls *c = &state->ctrls; in s5c73m3_set_auto_focus()
259 iso = state->ctrls.iso->val + 1; in s5c73m3_set_iso()
310 v4l2_ctrl_get_menu(state->ctrls.scene_mode->id)[val]); in s5c73m3_set_scene_program()
446 struct s5c73m3_ctrls *ctrls = &state->ctrls; in s5c73m3_init_controls() local
447 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5c73m3_init_controls()
454 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
459 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
462 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls()
468 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
473 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
476 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
479 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
482 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
489 ctrls->af_distance = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
496 ctrls->auto_iso = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
500 ctrls->iso = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls()
504 ctrls->contrast = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
507 ctrls->saturation = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
510 ctrls->sharpness = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
513 ctrls->zoom = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
516 ctrls->colorfx = v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_COLORFX, in s5c73m3_init_controls()
519 ctrls->wdr = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
522 ctrls->stabilization = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
529 ctrls->jpeg_quality = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
532 ctrls->scene_mode = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
536 ctrls->aaa_lock = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
545 v4l2_ctrl_auto_cluster(3, &ctrls->auto_exposure, 0, false); in s5c73m3_init_controls()
546 ctrls->auto_iso->flags |= V4L2_CTRL_FLAG_VOLATILE | in s5c73m3_init_controls()
548 v4l2_ctrl_auto_cluster(2, &ctrls->auto_iso, 0, false); in s5c73m3_init_controls()
549 ctrls->af_status->flags |= V4L2_CTRL_FLAG_VOLATILE; in s5c73m3_init_controls()
550 v4l2_ctrl_cluster(5, &ctrls->focus_auto); in s5c73m3_init_controls()