Lines Matching refs:ctrl_hdl
207 struct v4l2_ctrl_handler ctrl_hdl; member
229 ctrl_hdl)->sd)
660 v4l2_ctrl_handler_init(&state->ctrl_hdl, 4); in adv7180_init_controls()
662 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
665 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
668 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
671 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
674 v4l2_ctrl_new_custom(&state->ctrl_hdl, &adv7180_ctrl_fast_switch, NULL); in adv7180_init_controls()
676 v4l2_ctrl_new_std_menu_items(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
682 state->sd.ctrl_handler = &state->ctrl_hdl; in adv7180_init_controls()
683 if (state->ctrl_hdl.error) { in adv7180_init_controls()
684 int err = state->ctrl_hdl.error; in adv7180_init_controls()
686 v4l2_ctrl_handler_free(&state->ctrl_hdl); in adv7180_init_controls()
689 v4l2_ctrl_handler_setup(&state->ctrl_hdl); in adv7180_init_controls()
695 v4l2_ctrl_handler_free(&state->ctrl_hdl); in adv7180_exit_controls()