Lines Matching refs:ctrl_hdl
189 struct v4l2_ctrl_handler ctrl_hdl; member
208 ctrl_hdl)->sd)
553 v4l2_ctrl_handler_init(&state->ctrl_hdl, 4); in adv7180_init_controls()
555 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
558 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
561 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
564 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
567 v4l2_ctrl_new_custom(&state->ctrl_hdl, &adv7180_ctrl_fast_switch, NULL); in adv7180_init_controls()
569 state->sd.ctrl_handler = &state->ctrl_hdl; in adv7180_init_controls()
570 if (state->ctrl_hdl.error) { in adv7180_init_controls()
571 int err = state->ctrl_hdl.error; in adv7180_init_controls()
573 v4l2_ctrl_handler_free(&state->ctrl_hdl); in adv7180_init_controls()
576 v4l2_ctrl_handler_setup(&state->ctrl_hdl); in adv7180_init_controls()
582 v4l2_ctrl_handler_free(&state->ctrl_hdl); in adv7180_exit_controls()