Home
last modified time | relevance | path

Searched refs:ctrls (Results 51 - 75 of 744) sorted by relevance

12345678910>>...30

/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov2680.c25 #include <media/v4l2-ctrls.h>
111 struct ov2680_ctrls ctrls; member
188 ctrls.handler)->sd; in ctrl_to_sd()
322 if (sensor->ctrls.vflip && sensor->ctrls.vflip->val) in ov2680_set_bayer_order()
325 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val) in ov2680_set_bayer_order()
410 /* Restore value of all ctrls */ in ov2680_mode_set()
411 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ov2680_mode_set()
779 struct ov2680_ctrls *ctrls in ov2680_v4l2_register() local
[all...]
H A Dov5640.c22 #include <media/v4l2-ctrls.h>
250 struct ov5640_ctrls ctrls; member
267 ctrls.handler)->sd; in ctrl_to_sd()
1737 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode()
1738 bool auto_exp = sensor->ctrls.auto_exp->val == V4L2_EXPOSURE_AUTO; in ov5640_set_mode()
2159 ret = v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ov5640_s_power()
2302 __v4l2_ctrl_s_ctrl_int64(sensor->ctrls.pixel_rate, in ov5640_set_fmt()
2479 u16 red = (u16)sensor->ctrls.red_balance->val; in ov5640_set_ctrl_white_balance()
2480 u16 blue = (u16)sensor->ctrls.blue_balance->val; in ov5640_set_ctrl_white_balance()
2494 struct ov5640_ctrls *ctrls in ov5640_set_ctrl_exposure() local
2526 struct ov5640_ctrls *ctrls = &sensor->ctrls; ov5640_set_ctrl_gain() local
2719 struct ov5640_ctrls *ctrls = &sensor->ctrls; ov5640_init_controls() local
[all...]
H A Dmt9v032.c27 #include <media/v4l2-ctrls.h>
193 struct v4l2_ctrl_handler ctrls; member
344 return v4l2_ctrl_handler_setup(&mt9v032->ctrls); in __mt9v032_set_power()
644 container_of(ctrl->handler, struct mt9v032, ctrls); in mt9v032_s_ctrl()
1073 v4l2_ctrl_handler_init(&mt9v032->ctrls, 11 + in mt9v032_probe()
1076 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1078 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1081 v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1084 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1088 v4l2_ctrl_new_std(&mt9v032->ctrls, in mt9v032_probe()
[all...]
H A Dmt9t001.c22 #include <media/v4l2-ctrls.h>
128 struct v4l2_ctrl_handler ctrls; member
236 ret = v4l2_ctrl_handler_setup(&mt9t001->ctrls); in __mt9t001_set_power()
533 container_of(ctrl->handler, struct mt9t001, ctrls); in mt9t001_s_ctrl()
893 v4l2_ctrl_handler_init(&mt9t001->ctrls, ARRAY_SIZE(mt9t001_ctrls) + in mt9t001_probe()
896 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe()
900 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe()
902 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe()
905 v4l2_ctrl_new_std_menu_items(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe()
911 v4l2_ctrl_new_custom(&mt9t001->ctrls, in mt9t001_probe()
[all...]
H A Dmt9m032.c22 #include <media/v4l2-ctrls.h>
139 struct v4l2_ctrl_handler ctrls; member
635 container_of(ctrl->handler, struct mt9m032, ctrls); in mt9m032_set_ctrl()
759 v4l2_ctrl_handler_init(&sensor->ctrls, 5); in mt9m032_probe()
761 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe()
764 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe()
767 sensor->vflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe()
771 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe()
775 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe()
779 if (sensor->ctrls in mt9m032_probe()
[all...]
H A Dmt9v111.c24 #include <media/v4l2-ctrls.h>
132 struct v4l2_ctrl_handler ctrls; member
630 ret = v4l2_ctrl_handler_setup(&mt9v111->ctrls); in mt9v111_hw_config()
1000 ctrls); in mt9v111_s_ctrl()
1155 v4l2_ctrl_handler_init(&mt9v111->ctrls, 5); in mt9v111_probe()
1157 mt9v111->auto_awb = v4l2_ctrl_new_std(&mt9v111->ctrls, in mt9v111_probe()
1162 mt9v111->auto_exp = v4l2_ctrl_new_std_menu(&mt9v111->ctrls, in mt9v111_probe()
1167 mt9v111->hblank = v4l2_ctrl_new_std(&mt9v111->ctrls, &mt9v111_ctrl_ops, in mt9v111_probe()
1172 mt9v111->vblank = v4l2_ctrl_new_std(&mt9v111->ctrls, &mt9v111_ctrl_ops, in mt9v111_probe()
1179 v4l2_ctrl_new_std(&mt9v111->ctrls, in mt9v111_probe()
[all...]
H A Dov5645.c33 #include <media/v4l2-ctrls.h>
101 struct v4l2_ctrl_handler ctrls; member
794 struct ov5645, ctrls); in ov5645_s_ctrl()
1001 ret = v4l2_ctrl_handler_setup(&ov5645->ctrls); in ov5645_s_stream()
1138 v4l2_ctrl_handler_init(&ov5645->ctrls, 9); in ov5645_probe()
1139 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1141 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1143 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1145 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1147 v4l2_ctrl_new_std(&ov5645->ctrls, in ov5645_probe()
[all...]
H A Dmt9p031.c28 #include <media/v4l2-ctrls.h>
139 struct v4l2_ctrl_handler ctrls; member
375 return v4l2_ctrl_handler_setup(&mt9p031->ctrls); in __mt9p031_set_power()
703 container_of(ctrl->handler, struct mt9p031, ctrls); in mt9p031_s_ctrl()
1097 v4l2_ctrl_handler_init(&mt9p031->ctrls, ARRAY_SIZE(mt9p031_ctrls) + 6); in mt9p031_probe()
1099 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1103 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1106 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1108 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1110 v4l2_ctrl_new_std(&mt9p031->ctrls, in mt9p031_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov5640.c23 #include <media/v4l2-ctrls.h>
461 struct ov5640_ctrls ctrls; member
478 ctrls.handler)->sd; in ctrl_to_sd()
2326 bool auto_gain = sensor->ctrls.auto_gain->val == 1; in ov5640_set_mode()
2327 bool auto_exp = sensor->ctrls.auto_exp->val == V4L2_EXPOSURE_AUTO; in ov5640_set_mode()
2857 __v4l2_ctrl_modify_range(sensor->ctrls.vblank, OV5640_MIN_VBLANK, in __v4l2_ctrl_vblank_update()
2860 __v4l2_ctrl_s_ctrl(sensor->ctrls.vblank, vblank); in __v4l2_ctrl_vblank_update()
2884 __v4l2_ctrl_s_ctrl_int64(sensor->ctrls.pixel_rate, in ov5640_update_pixel_rate()
2928 __v4l2_ctrl_s_ctrl_int64(sensor->ctrls.pixel_rate, pixel_rate); in ov5640_update_pixel_rate()
2929 __v4l2_ctrl_s_ctrl(sensor->ctrls in ov5640_update_pixel_rate()
3173 struct ov5640_ctrls *ctrls = &sensor->ctrls; ov5640_set_ctrl_exposure() local
3205 struct ov5640_ctrls *ctrls = &sensor->ctrls; ov5640_set_ctrl_gain() local
3435 struct ov5640_ctrls *ctrls = &sensor->ctrls; ov5640_init_controls() local
[all...]
H A Dmt9v032.c27 #include <media/v4l2-ctrls.h>
193 struct v4l2_ctrl_handler ctrls; member
344 return v4l2_ctrl_handler_setup(&mt9v032->ctrls); in __mt9v032_set_power()
652 container_of(ctrl->handler, struct mt9v032, ctrls); in mt9v032_s_ctrl()
1081 v4l2_ctrl_handler_init(&mt9v032->ctrls, 11 + in mt9v032_probe()
1084 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1086 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1089 v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1092 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1096 v4l2_ctrl_new_std(&mt9v032->ctrls, in mt9v032_probe()
[all...]
H A Dimx415.c19 #include <media/v4l2-ctrls.h>
361 struct v4l2_ctrl_handler ctrls; member
540 ctrls); in imx415_s_ctrl()
597 v4l2_ctrl_handler_init(&sensor->ctrls, 10); in imx415_ctrls_init()
609 ctrl = v4l2_ctrl_new_int_menu(&sensor->ctrls, &imx415_ctrl_ops, in imx415_ctrls_init()
617 v4l2_ctrl_new_std(&sensor->ctrls, &imx415_ctrl_ops, V4L2_CID_EXPOSURE, in imx415_ctrls_init()
620 v4l2_ctrl_new_std(&sensor->ctrls, &imx415_ctrl_ops, in imx415_ctrls_init()
627 ctrl = v4l2_ctrl_new_std(&sensor->ctrls, &imx415_ctrl_ops, in imx415_ctrls_init()
632 sensor->vblank = v4l2_ctrl_new_std(&sensor->ctrls, &imx415_ctrl_ops, in imx415_ctrls_init()
645 v4l2_ctrl_new_std(&sensor->ctrls, NUL in imx415_ctrls_init()
[all...]
H A Dov2680.c27 #include <media/v4l2-ctrls.h>
168 struct ov2680_ctrls ctrls; member
270 ctrls.handler)->sd; in ctrl_to_sd()
296 if (sensor->ctrls.vflip && sensor->ctrls.vflip->val) in ov2680_set_bayer_order()
299 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val) in ov2680_set_bayer_order()
500 /* Restore value of all ctrls */ in ov2680_stream_enable()
501 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ov2680_stream_enable()
912 struct ov2680_ctrls *ctrls in ov2680_v4l2_register() local
[all...]
H A Dimx290.c25 #include <media/v4l2-ctrls.h>
244 struct v4l2_ctrl_handler ctrls; member
739 struct imx290, ctrls); in imx290_set_ctrl()
872 v4l2_ctrl_handler_init(&imx290->ctrls, 11); in imx290_ctrl_init()
887 v4l2_ctrl_new_std(&imx290->ctrls, &imx290_ctrl_ops, in imx290_ctrl_init()
894 imx290->exposure = v4l2_ctrl_new_std(&imx290->ctrls, &imx290_ctrl_ops, in imx290_ctrl_init()
904 v4l2_ctrl_new_int_menu(&imx290->ctrls, &imx290_ctrl_ops, in imx290_ctrl_init()
911 v4l2_ctrl_new_std(&imx290->ctrls, &imx290_ctrl_ops, V4L2_CID_PIXEL_RATE, in imx290_ctrl_init()
915 v4l2_ctrl_new_std_menu_items(&imx290->ctrls, &imx290_ctrl_ops, in imx290_ctrl_init()
923 imx290->hblank = v4l2_ctrl_new_std(&imx290->ctrls, in imx290_ctrl_init()
[all...]
H A Dmt9v111.c24 #include <media/v4l2-ctrls.h>
132 struct v4l2_ctrl_handler ctrls; member
630 ret = v4l2_ctrl_handler_setup(&mt9v111->ctrls); in mt9v111_hw_config()
1001 ctrls); in mt9v111_s_ctrl()
1156 v4l2_ctrl_handler_init(&mt9v111->ctrls, 5); in mt9v111_probe()
1158 mt9v111->auto_awb = v4l2_ctrl_new_std(&mt9v111->ctrls, in mt9v111_probe()
1163 mt9v111->auto_exp = v4l2_ctrl_new_std_menu(&mt9v111->ctrls, in mt9v111_probe()
1168 mt9v111->hblank = v4l2_ctrl_new_std(&mt9v111->ctrls, &mt9v111_ctrl_ops, in mt9v111_probe()
1173 mt9v111->vblank = v4l2_ctrl_new_std(&mt9v111->ctrls, &mt9v111_ctrl_ops, in mt9v111_probe()
1180 v4l2_ctrl_new_std(&mt9v111->ctrls, in mt9v111_probe()
[all...]
H A Dmt9p031.c28 #include <media/v4l2-ctrls.h>
138 struct v4l2_ctrl_handler ctrls; member
390 return v4l2_ctrl_handler_setup(&mt9p031->ctrls); in __mt9p031_set_power()
765 container_of(ctrl->handler, struct mt9p031, ctrls); in mt9p031_s_ctrl()
1146 v4l2_ctrl_handler_init(&mt9p031->ctrls, ARRAY_SIZE(mt9p031_ctrls) + 6); in mt9p031_probe()
1148 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1152 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1155 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1157 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1159 v4l2_ctrl_new_std(&mt9p031->ctrls, in mt9p031_probe()
[all...]
H A Dov5647.c25 #include <media/v4l2-ctrls.h>
106 struct v4l2_ctrl_handler ctrls; member
1218 struct ov5647, ctrls); in ov5647_s_ctrl()
1298 v4l2_ctrl_handler_init(&sensor->ctrls, 9); in ov5647_init_controls()
1300 v4l2_ctrl_new_std(&sensor->ctrls, &ov5647_ctrl_ops, in ov5647_init_controls()
1303 v4l2_ctrl_new_std(&sensor->ctrls, &ov5647_ctrl_ops, in ov5647_init_controls()
1306 v4l2_ctrl_new_std_menu(&sensor->ctrls, &ov5647_ctrl_ops, in ov5647_init_controls()
1312 sensor->exposure = v4l2_ctrl_new_std(&sensor->ctrls, &ov5647_ctrl_ops, in ov5647_init_controls()
1319 v4l2_ctrl_new_std(&sensor->ctrls, &ov5647_ctrl_ops, in ov5647_init_controls()
1323 sensor->pixel_rate = v4l2_ctrl_new_std(&sensor->ctrls, in ov5647_init_controls()
[all...]
H A Dov5645.c31 #include <media/v4l2-ctrls.h>
99 struct v4l2_ctrl_handler ctrls; member
769 struct ov5645, ctrls); in ov5645_s_ctrl()
984 ret = v4l2_ctrl_handler_setup(&ov5645->ctrls); in ov5645_s_stream()
1125 v4l2_ctrl_handler_init(&ov5645->ctrls, 9); in ov5645_probe()
1126 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1128 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1130 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1132 v4l2_ctrl_new_std(&ov5645->ctrls, &ov5645_ctrl_ops, in ov5645_probe()
1134 v4l2_ctrl_new_std(&ov5645->ctrls, in ov5645_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Drockchip_vpu2_hw_h264_dec.c195 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_params() local
196 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params()
197 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params()
198 const struct v4l2_ctrl_h264_pps *pps = ctrls->pps; in set_params()
424 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_buffers() local
438 if (ctrls->decode->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in set_buffers()
443 if (ctrls->sps->profile_idc > 66 && ctrls in set_buffers()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_rwpf.h15 #include <media/v4l2-ctrls.h>
35 struct v4l2_ctrl_handler ctrls; member
57 } ctrls; member
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.h15 #include <media/v4l2-ctrls.h>
35 struct v4l2_ctrl_handler ctrls; member
57 } ctrls; member
/kernel/linux/linux-5.10/arch/arm/mach-integrator/
H A Dintegrator_ap.c109 unsigned int ctrls = 0, ctrlc = 0, rts_mask, dtr_mask; in integrator_uart_set_mctrl() local
126 ctrls |= rts_mask; in integrator_uart_set_mctrl()
131 ctrls |= dtr_mask; in integrator_uart_set_mctrl()
135 ctrls); in integrator_uart_set_mctrl()
/kernel/linux/linux-6.6/arch/arm/mach-versatile/
H A Dintegrator_ap.c108 unsigned int ctrls = 0, ctrlc = 0, rts_mask, dtr_mask; in integrator_uart_set_mctrl() local
125 ctrls |= rts_mask; in integrator_uart_set_mctrl()
130 ctrls |= dtr_mask; in integrator_uart_set_mctrl()
134 ctrls); in integrator_uart_set_mctrl()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_hw.h14 #include <media/h264-ctrls.h>
15 #include <media/mpeg2-ctrls.h>
16 #include <media/vp8-ctrls.h>
86 * @ctrls: V4L2 controls attached to a run
92 struct hantro_h264_dec_ctrls ctrls; member
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.c23 #include <media/v4l2-ctrls.h>
172 for (i = 0; ctx->ctrls[i]; i++) in cedrus_find_control_data()
173 if (ctx->ctrls[i]->id == id) in cedrus_find_control_data()
174 return ctx->ctrls[i]->p_cur.p; in cedrus_find_control_data()
195 ctx->ctrls = kzalloc(ctrl_size, GFP_KERNEL); in cedrus_init_ctrls()
196 if (!ctx->ctrls) in cedrus_init_ctrls()
207 kfree(ctx->ctrls); in cedrus_init_ctrls()
211 ctx->ctrls[i] = ctrl; in cedrus_init_ctrls()
353 kfree(ctx->ctrls); in cedrus_release()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_regs.c138 misc->orientation = ctx->ctrls.rotate->val; in mtk_mdp_hw_set_rotation()
139 misc->hflip = ctx->ctrls.hflip->val; in mtk_mdp_hw_set_rotation()
140 misc->vflip = ctx->ctrls.vflip->val; in mtk_mdp_hw_set_rotation()
147 misc->alpha = ctx->ctrls.global_alpha->val; in mtk_mdp_hw_set_global_alpha()

Completed in 33 milliseconds

12345678910>>...30