/Linux-v6.6/drivers/media/i2c/adv748x/ |
D | adv748x-afe.c | 470 v4l2_ctrl_handler_init(&afe->ctrl_hdl, 5); in adv748x_afe_init_controls() 473 afe->ctrl_hdl.lock = &state->mutex; in adv748x_afe_init_controls() 475 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls() 478 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls() 481 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls() 484 v4l2_ctrl_new_std(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls() 488 v4l2_ctrl_new_std_menu_items(&afe->ctrl_hdl, &adv748x_afe_ctrl_ops, in adv748x_afe_init_controls() 493 afe->sd.ctrl_handler = &afe->ctrl_hdl; in adv748x_afe_init_controls() 494 if (afe->ctrl_hdl.error) { in adv748x_afe_init_controls() 495 v4l2_ctrl_handler_free(&afe->ctrl_hdl); in adv748x_afe_init_controls() [all …]
|
D | adv748x-csi2.c | 276 v4l2_ctrl_handler_init(&tx->ctrl_hdl, 1); in adv748x_csi2_init_controls() 278 tx->pixel_rate = v4l2_ctrl_new_std(&tx->ctrl_hdl, in adv748x_csi2_init_controls() 283 tx->sd.ctrl_handler = &tx->ctrl_hdl; in adv748x_csi2_init_controls() 284 if (tx->ctrl_hdl.error) { in adv748x_csi2_init_controls() 285 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_init_controls() 286 return tx->ctrl_hdl.error; in adv748x_csi2_init_controls() 289 return v4l2_ctrl_handler_setup(&tx->ctrl_hdl); in adv748x_csi2_init_controls() 330 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_init() 346 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_cleanup()
|
D | adv748x-hdmi.c | 694 v4l2_ctrl_handler_init(&hdmi->ctrl_hdl, 5); in adv748x_hdmi_init_controls() 697 hdmi->ctrl_hdl.lock = &state->mutex; in adv748x_hdmi_init_controls() 699 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 702 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 705 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 708 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 717 v4l2_ctrl_new_std_menu_items(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 722 hdmi->sd.ctrl_handler = &hdmi->ctrl_hdl; in adv748x_hdmi_init_controls() 723 if (hdmi->ctrl_hdl.error) { in adv748x_hdmi_init_controls() 724 v4l2_ctrl_handler_free(&hdmi->ctrl_hdl); in adv748x_hdmi_init_controls() [all …]
|
D | adv748x.h | 85 struct v4l2_ctrl_handler ctrl_hdl; member 118 struct v4l2_ctrl_handler ctrl_hdl; member 135 container_of(ctrl->handler, struct adv748x_hdmi, ctrl_hdl) 153 struct v4l2_ctrl_handler ctrl_hdl; member 165 container_of(ctrl->handler, struct adv748x_afe, ctrl_hdl)
|
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateless.c | 239 v4l2_ctrl_request_complete(src_buf_req, &ctx->ctrl_hdl); in mtk_vdec_stateless_cap_to_disp() 281 v4l2_ctrl_request_complete(vb->req_obj.req, &ctx->ctrl_hdl); in vb2ops_vdec_buf_request_complete() 328 v4l2_ctrl_request_setup(src_buf_req, &ctx->ctrl_hdl); in mtk_vdec_worker() 350 v4l2_ctrl_request_complete(src_buf_req, &ctx->ctrl_hdl); in mtk_vdec_worker() 526 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, NUM_CTRLS); in mtk_vcodec_dec_ctrls_setup() 527 if (ctx->ctrl_hdl.error) { in mtk_vcodec_dec_ctrls_setup() 529 return ctx->ctrl_hdl.error; in mtk_vcodec_dec_ctrls_setup() 535 v4l2_ctrl_new_custom(&ctx->ctrl_hdl, &cfg, NULL); in mtk_vcodec_dec_ctrls_setup() 536 if (ctx->ctrl_hdl.error) { in mtk_vcodec_dec_ctrls_setup() 538 ctx->ctrl_hdl.error); in mtk_vcodec_dec_ctrls_setup() [all …]
|
D | mtk_vcodec_dec_stateful.c | 554 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, 1); in mtk_vcodec_dec_ctrls_setup() 556 ctrl = v4l2_ctrl_new_std(&ctx->ctrl_hdl, &mtk_vcodec_dec_ctrl_ops, in mtk_vcodec_dec_ctrls_setup() 559 v4l2_ctrl_new_std_menu(&ctx->ctrl_hdl, &mtk_vcodec_dec_ctrl_ops, in mtk_vcodec_dec_ctrls_setup() 566 v4l2_ctrl_new_std_menu(&ctx->ctrl_hdl, &mtk_vcodec_dec_ctrl_ops, in mtk_vcodec_dec_ctrls_setup() 572 if (ctx->ctrl_hdl.error) { in mtk_vcodec_dec_ctrls_setup() 573 mtk_v4l2_vdec_err(ctx, "Adding control failed %d", ctx->ctrl_hdl.error); in mtk_vcodec_dec_ctrls_setup() 574 return ctx->ctrl_hdl.error; in mtk_vcodec_dec_ctrls_setup() 577 v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in mtk_vcodec_dec_ctrls_setup()
|
D | mtk_vcodec_dec_drv.h | 190 struct v4l2_ctrl_handler ctrl_hdl; member 301 return container_of(ctrl->handler, struct mtk_vcodec_dec_ctx, ctrl_hdl); in ctrl_to_dec_ctx()
|
D | mtk_vcodec_dec_drv.c | 282 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_open() 311 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_release()
|
D | mtk_vcodec_dec.c | 153 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_vcodec_dec_set_default_params() 867 v4l2_ctrl_request_complete(req, &ctx->ctrl_hdl); in vb2ops_vdec_stop_streaming()
|
/Linux-v6.6/drivers/media/i2c/ |
D | adv7180.c | 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() [all …]
|
D | max2175.c | 268 struct v4l2_ctrl_handler ctrl_hdl; member 306 return container_of(h, struct max2175, ctrl_hdl); in max2175_from_ctrl_hdl() 1341 hdl = &ctx->ctrl_hdl; in max2175_probe() 1375 ctx->sd.ctrl_handler = &ctx->ctrl_hdl; in max2175_probe() 1401 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in max2175_probe() 1411 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in max2175_remove()
|
D | tc358746.c | 147 struct v4l2_ctrl_handler ctrl_hdl; member 1400 err = v4l2_ctrl_handler_init(&tc358746->ctrl_hdl, 1); in tc358746_init_controls() 1410 ctrl = v4l2_ctrl_new_int_menu(&tc358746->ctrl_hdl, NULL, in tc358746_init_controls() 1416 err = tc358746->ctrl_hdl.error; in tc358746_init_controls() 1418 v4l2_ctrl_handler_free(&tc358746->ctrl_hdl); in tc358746_init_controls() 1422 tc358746->sd.ctrl_handler = &tc358746->ctrl_hdl; in tc358746_init_controls() 1584 v4l2_ctrl_handler_free(&tc358746->ctrl_hdl); in tc358746_probe() 1600 v4l2_ctrl_handler_free(&tc358746->ctrl_hdl); in tc358746_remove()
|
/Linux-v6.6/drivers/staging/media/rkvdec/ |
D | rkvdec.c | 32 struct rkvdec_ctx *ctx = container_of(ctrl->handler, struct rkvdec_ctx, ctrl_hdl); in rkvdec_try_ctrl() 546 v4l2_ctrl_request_complete(vb->req_obj.req, &ctx->ctrl_hdl); in rkvdec_buf_request_complete() 587 &ctx->ctrl_hdl); in rkvdec_queue_cleanup() 676 v4l2_ctrl_request_setup(src_req, &ctx->ctrl_hdl); in rkvdec_run_preamble() 686 v4l2_ctrl_request_complete(src_req, &ctx->ctrl_hdl); in rkvdec_run_postamble() 770 v4l2_ctrl_new_custom(&ctx->ctrl_hdl, cfg, ctx); in rkvdec_add_ctrls() 771 if (ctx->ctrl_hdl.error) in rkvdec_add_ctrls() 772 return ctx->ctrl_hdl.error; in rkvdec_add_ctrls() 786 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, nctrls); in rkvdec_init_ctrls() 794 ret = v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in rkvdec_init_ctrls() [all …]
|
D | rkvdec.h | 105 struct v4l2_ctrl_handler ctrl_hdl; member
|
D | rkvdec-h264.c | 1075 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_start() 1123 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble() 1126 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble() 1129 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble() 1132 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble()
|
D | rkvdec-vp9.c | 740 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_vp9_run_preamble() 752 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, V4L2_CID_STATELESS_VP9_COMPRESSED_HDR); in rkvdec_vp9_run_preamble()
|
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/encoder/ |
D | mtk_vcodec_enc_drv.h | 149 struct v4l2_ctrl_handler ctrl_hdl; member 225 return container_of(ctrl->handler, struct mtk_vcodec_enc_ctx, ctrl_hdl); in ctrl_to_enc_ctx()
|
D | mtk_vcodec_enc_drv.c | 191 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_open() 213 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_release()
|
D | mtk_vcodec_enc.c | 1280 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_vcodec_enc_set_default_params() 1338 struct v4l2_ctrl_handler *handler = &ctx->ctrl_hdl; in mtk_vcodec_enc_ctrls_setup() 1393 v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in mtk_vcodec_enc_ctrls_setup()
|
/Linux-v6.6/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 120 struct v4l2_ctrl_handler ctrl_hdl; member 869 v4l2_ctrl_handler_init(&vip->ctrl_hdl, 0); in sta2x11_vip_init_controls() 871 vip->v4l2_dev.ctrl_handler = &vip->ctrl_hdl; in sta2x11_vip_init_controls() 872 if (vip->ctrl_hdl.error) { in sta2x11_vip_init_controls() 873 int err = vip->ctrl_hdl.error; in sta2x11_vip_init_controls() 875 v4l2_ctrl_handler_free(&vip->ctrl_hdl); in sta2x11_vip_init_controls()
|
/Linux-v6.6/drivers/media/platform/renesas/ |
D | rcar_drif.c | 220 struct v4l2_ctrl_handler ctrl_hdl; /* SDR control handler */ member 1075 sdr->vdev->ctrl_handler = &sdr->ctrl_hdl; in rcar_drif_sdr_register() 1127 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); in rcar_drif_notify_unbind() 1148 ret = v4l2_ctrl_handler_init(&sdr->ctrl_hdl, 10); in rcar_drif_notify_complete() 1152 sdr->v4l2_dev.ctrl_handler = &sdr->ctrl_hdl; in rcar_drif_notify_complete() 1159 ret = v4l2_ctrl_add_handler(&sdr->ctrl_hdl, in rcar_drif_notify_complete() 1173 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); in rcar_drif_notify_complete()
|
/Linux-v6.6/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.h | 296 struct v4l2_ctrl_handler ctrl_hdl; member
|
D | mtk_jpeg_core.c | 119 return container_of(ctrl->handler, struct mtk_jpeg_ctx, ctrl_hdl); in ctrl_to_ctx() 170 struct v4l2_ctrl_handler *handler = &ctx->ctrl_hdl; in mtk_jpeg_enc_ctrls_setup() 182 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in mtk_jpeg_enc_ctrls_setup() 186 v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in mtk_jpeg_enc_ctrls_setup() 1129 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_jpeg_set_default_params() 1196 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, 0); in mtk_jpeg_open() 1219 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in mtk_jpeg_release()
|
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_common.c | 38 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, id); in mtk_vdec_h264_get_ctrl_ptr()
|
D | vdec_vp8_req_if.c | 110 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, id); in vdec_vp8_slice_get_ctrl_ptr()
|