Lines Matching refs:ctrl_hdl
188 struct v4l2_ctrl_handler ctrl_hdl; member
207 ctrl_hdl)->sd)
552 v4l2_ctrl_handler_init(&state->ctrl_hdl, 4); in adv7180_init_controls()
554 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
557 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
560 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
563 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
566 v4l2_ctrl_new_custom(&state->ctrl_hdl, &adv7180_ctrl_fast_switch, NULL); in adv7180_init_controls()
568 state->sd.ctrl_handler = &state->ctrl_hdl; in adv7180_init_controls()
569 if (state->ctrl_hdl.error) { in adv7180_init_controls()
570 int err = state->ctrl_hdl.error; in adv7180_init_controls()
572 v4l2_ctrl_handler_free(&state->ctrl_hdl); in adv7180_init_controls()
575 v4l2_ctrl_handler_setup(&state->ctrl_hdl); in adv7180_init_controls()
581 v4l2_ctrl_handler_free(&state->ctrl_hdl); in adv7180_exit_controls()