Home
last modified time | relevance | path

Searched refs:ctrl_hdl (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/media/i2c/adv748x/
Dadv748x-csi2.c262 v4l2_ctrl_handler_init(&tx->ctrl_hdl, 1); in adv748x_csi2_init_controls()
264 tx->pixel_rate = v4l2_ctrl_new_std(&tx->ctrl_hdl, in adv748x_csi2_init_controls()
269 tx->sd.ctrl_handler = &tx->ctrl_hdl; in adv748x_csi2_init_controls()
270 if (tx->ctrl_hdl.error) { in adv748x_csi2_init_controls()
271 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_init_controls()
272 return tx->ctrl_hdl.error; in adv748x_csi2_init_controls()
275 return v4l2_ctrl_handler_setup(&tx->ctrl_hdl); in adv748x_csi2_init_controls()
317 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_init()
331 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_cleanup()
Dadv748x-afe.c469 v4l2_ctrl_handler_init(&afe->ctrl_hdl, 5); in adv748x_afe_init_controls()
472 afe->ctrl_hdl.lock = &state->mutex; in adv748x_afe_init_controls()
474 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls()
477 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls()
480 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls()
483 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls()
487 v4l2_ctrl_new_std_menu_items(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls()
492 afe->sd.ctrl_handler = &afe->ctrl_hdl; in adv748x_afe_init_controls()
493 if (afe->ctrl_hdl.error) { in adv748x_afe_init_controls()
494 v4l2_ctrl_handler_free(&afe->ctrl_hdl); in adv748x_afe_init_controls()
[all …]
Dadv748x-hdmi.c683 v4l2_ctrl_handler_init(&hdmi->ctrl_hdl, 5); in adv748x_hdmi_init_controls()
686 hdmi->ctrl_hdl.lock = &state->mutex; in adv748x_hdmi_init_controls()
688 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls()
691 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls()
694 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls()
697 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls()
706 v4l2_ctrl_new_std_menu_items(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls()
711 hdmi->sd.ctrl_handler = &hdmi->ctrl_hdl; in adv748x_hdmi_init_controls()
712 if (hdmi->ctrl_hdl.error) { in adv748x_hdmi_init_controls()
713 v4l2_ctrl_handler_free(&hdmi->ctrl_hdl); in adv748x_hdmi_init_controls()
[all …]
Dadv748x.h84 struct v4l2_ctrl_handler ctrl_hdl; member
117 struct v4l2_ctrl_handler ctrl_hdl; member
134 container_of(ctrl->handler, struct adv748x_hdmi, ctrl_hdl)
152 struct v4l2_ctrl_handler ctrl_hdl; member
164 container_of(ctrl->handler, struct adv748x_afe, ctrl_hdl)
/Linux-v5.4/drivers/media/i2c/
Dadv7180.c202 struct v4l2_ctrl_handler ctrl_hdl; member
222 ctrl_hdl)->sd)
603 v4l2_ctrl_handler_init(&state->ctrl_hdl, 4); in adv7180_init_controls()
605 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
608 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
611 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
614 v4l2_ctrl_new_std(&state->ctrl_hdl, &adv7180_ctrl_ops, in adv7180_init_controls()
617 v4l2_ctrl_new_custom(&state->ctrl_hdl, &adv7180_ctrl_fast_switch, NULL); in adv7180_init_controls()
619 state->sd.ctrl_handler = &state->ctrl_hdl; in adv7180_init_controls()
620 if (state->ctrl_hdl.error) { in adv7180_init_controls()
[all …]
Dmax2175.c268 struct v4l2_ctrl_handler ctrl_hdl; member
306 return container_of(h, struct max2175, ctrl_hdl); in max2175_from_ctrl_hdl()
1342 hdl = &ctx->ctrl_hdl; in max2175_probe()
1376 ctx->sd.ctrl_handler = &ctx->ctrl_hdl; in max2175_probe()
1402 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in max2175_probe()
1412 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in max2175_remove()
/Linux-v5.4/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_drv.h287 struct v4l2_ctrl_handler ctrl_hdl; member
381 return container_of(ctrl->handler, struct mtk_vcodec_ctx, ctrl_hdl); in ctrl_to_ctx()
Dmtk_vcodec_dec.c562 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_vcodec_dec_set_default_params()
1403 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, 1); in mtk_vcodec_dec_ctrls_setup()
1405 ctrl = v4l2_ctrl_new_std(&ctx->ctrl_hdl, in mtk_vcodec_dec_ctrls_setup()
1410 v4l2_ctrl_new_std_menu(&ctx->ctrl_hdl, in mtk_vcodec_dec_ctrls_setup()
1416 if (ctx->ctrl_hdl.error) { in mtk_vcodec_dec_ctrls_setup()
1418 ctx->ctrl_hdl.error); in mtk_vcodec_dec_ctrls_setup()
1419 return ctx->ctrl_hdl.error; in mtk_vcodec_dec_ctrls_setup()
1422 v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in mtk_vcodec_dec_ctrls_setup()
Dmtk_vcodec_dec_drv.c176 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_open()
208 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_release()
Dmtk_vcodec_enc_drv.c194 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_open()
215 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_release()
Dmtk_vcodec_enc.c1175 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_vcodec_enc_set_default_params()
1231 struct v4l2_ctrl_handler *handler = &ctx->ctrl_hdl; in mtk_vcodec_enc_ctrls_setup()
1267 v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in mtk_vcodec_enc_ctrls_setup()
/Linux-v5.4/drivers/media/pci/sta2x11/
Dsta2x11_vip.c119 struct v4l2_ctrl_handler ctrl_hdl; member
872 v4l2_ctrl_handler_init(&vip->ctrl_hdl, 0); in sta2x11_vip_init_controls()
874 vip->v4l2_dev.ctrl_handler = &vip->ctrl_hdl; in sta2x11_vip_init_controls()
875 if (vip->ctrl_hdl.error) { in sta2x11_vip_init_controls()
876 int err = vip->ctrl_hdl.error; in sta2x11_vip_init_controls()
878 v4l2_ctrl_handler_free(&vip->ctrl_hdl); in sta2x11_vip_init_controls()
/Linux-v5.4/drivers/media/platform/
Drcar_drif.c225 struct v4l2_ctrl_handler ctrl_hdl; /* SDR control handler */ member
1076 sdr->vdev->ctrl_handler = &sdr->ctrl_hdl; in rcar_drif_sdr_register()
1134 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); in rcar_drif_notify_unbind()
1155 ret = v4l2_ctrl_handler_init(&sdr->ctrl_hdl, 10); in rcar_drif_notify_complete()
1159 sdr->v4l2_dev.ctrl_handler = &sdr->ctrl_hdl; in rcar_drif_notify_complete()
1166 ret = v4l2_ctrl_add_handler(&sdr->ctrl_hdl, in rcar_drif_notify_complete()
1180 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); in rcar_drif_notify_complete()