/linux-6.1.9/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() 328 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_init() 342 v4l2_ctrl_handler_free(&tx->ctrl_hdl); in adv748x_csi2_cleanup()
|
D | adv748x-hdmi.c | 684 v4l2_ctrl_handler_init(&hdmi->ctrl_hdl, 5); in adv748x_hdmi_init_controls() 687 hdmi->ctrl_hdl.lock = &state->mutex; in adv748x_hdmi_init_controls() 689 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 692 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 695 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 698 v4l2_ctrl_new_std(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 707 v4l2_ctrl_new_std_menu_items(&hdmi->ctrl_hdl, &adv748x_hdmi_ctrl_ops, in adv748x_hdmi_init_controls() 712 hdmi->sd.ctrl_handler = &hdmi->ctrl_hdl; in adv748x_hdmi_init_controls() 713 if (hdmi->ctrl_hdl.error) { in adv748x_hdmi_init_controls() 714 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-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec_stateless.c | 150 v4l2_ctrl_request_complete(src_buf_req, &ctx->ctrl_hdl); in mtk_vdec_stateless_cap_to_disp() 191 v4l2_ctrl_request_complete(vb->req_obj.req, &ctx->ctrl_hdl); in vb2ops_vdec_buf_request_complete() 238 v4l2_ctrl_request_setup(src_buf_req, &ctx->ctrl_hdl); in mtk_vdec_worker() 259 v4l2_ctrl_request_complete(src_buf_req, &ctx->ctrl_hdl); in mtk_vdec_worker() 300 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, NUM_CTRLS); in mtk_vcodec_dec_ctrls_setup() 301 if (ctx->ctrl_hdl.error) { in mtk_vcodec_dec_ctrls_setup() 303 return ctx->ctrl_hdl.error; in mtk_vcodec_dec_ctrls_setup() 309 v4l2_ctrl_new_custom(&ctx->ctrl_hdl, &cfg, NULL); in mtk_vcodec_dec_ctrls_setup() 310 if (ctx->ctrl_hdl.error) { in mtk_vcodec_dec_ctrls_setup() 311 mtk_v4l2_err("Adding control %d failed %d", i, 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_err("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_drv.h | 308 struct v4l2_ctrl_handler ctrl_hdl; member 532 return container_of(ctrl->handler, struct mtk_vcodec_ctx, ctrl_hdl); in ctrl_to_ctx()
|
D | mtk_vcodec_enc_drv.c | 189 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_open() 211 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_release()
|
D | mtk_vcodec_dec_drv.c | 228 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_open() 257 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in fops_vcodec_release()
|
D | mtk_vcodec_enc.c | 1307 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_vcodec_enc_set_default_params() 1365 struct v4l2_ctrl_handler *handler = &ctx->ctrl_hdl; in mtk_vcodec_enc_ctrls_setup() 1418 v4l2_ctrl_handler_setup(&ctx->ctrl_hdl); in mtk_vcodec_enc_ctrls_setup()
|
D | mtk_vcodec_dec.c | 155 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_vcodec_dec_set_default_params() 868 v4l2_ctrl_request_complete(req, &ctx->ctrl_hdl); in vb2ops_vdec_stop_streaming()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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 | 741 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_vp9_run_preamble() 753 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, V4L2_CID_STATELESS_VP9_COMPRESSED_HDR); in rkvdec_vp9_run_preamble()
|
/linux-6.1.9/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 119 struct v4l2_ctrl_handler ctrl_hdl; member 868 v4l2_ctrl_handler_init(&vip->ctrl_hdl, 0); in sta2x11_vip_init_controls() 870 vip->v4l2_dev.ctrl_handler = &vip->ctrl_hdl; in sta2x11_vip_init_controls() 871 if (vip->ctrl_hdl.error) { in sta2x11_vip_init_controls() 872 int err = vip->ctrl_hdl.error; in sta2x11_vip_init_controls() 874 v4l2_ctrl_handler_free(&vip->ctrl_hdl); in sta2x11_vip_init_controls()
|
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.h | 160 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() 1167 ctx->fh.ctrl_handler = &ctx->ctrl_hdl; in mtk_jpeg_set_default_params() 1231 v4l2_ctrl_handler_init(&ctx->ctrl_hdl, 0); in mtk_jpeg_open() 1253 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); in mtk_jpeg_release()
|
/linux-6.1.9/drivers/media/platform/renesas/ |
D | rcar_drif.c | 219 struct v4l2_ctrl_handler ctrl_hdl; /* SDR control handler */ member 1074 sdr->vdev->ctrl_handler = &sdr->ctrl_hdl; in rcar_drif_sdr_register() 1126 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); in rcar_drif_notify_unbind() 1147 ret = v4l2_ctrl_handler_init(&sdr->ctrl_hdl, 10); in rcar_drif_notify_complete() 1151 sdr->v4l2_dev.ctrl_handler = &sdr->ctrl_hdl; in rcar_drif_notify_complete() 1158 ret = v4l2_ctrl_add_handler(&sdr->ctrl_hdl, in rcar_drif_notify_complete() 1172 v4l2_ctrl_handler_free(&sdr->ctrl_hdl); in rcar_drif_notify_complete()
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/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 | 111 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, id); in vdec_vp8_slice_get_ctrl_ptr()
|
D | vdec_vp9_req_lat_if.c | 951 hdr_ctrl = v4l2_ctrl_find(&instance->ctx->ctrl_hdl, V4L2_CID_STATELESS_VP9_FRAME); in vdec_vp9_slice_setup_pfc()
|