Home
last modified time | relevance | path

Searched refs:ctrls (Results 1 – 25 of 69) sorted by relevance

123

/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c69 ret = s5c73m3_get_af_status(state, state->ctrls.af_status); in s5c73m3_g_volatile_ctrl()
95 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]); in s5c73m3_set_colorfx()
107 struct s5c73m3_ctrls *ctrls = &state->ctrls; in s5c73m3_set_exposure() local
110 if (ctrls->exposure_metering->is_new) { in s5c73m3_set_exposure()
113 switch (ctrls->exposure_metering->val) { in s5c73m3_set_exposure()
128 if (!ret && ctrls->exposure_bias->is_new) { in s5c73m3_set_exposure()
129 u16 exp_bias = ctrls->exposure_bias->val; in s5c73m3_set_exposure()
135 ctrls->exposure_bias->val, ctrls->exposure_metering->val, ret); in s5c73m3_set_exposure()
158 v4l2_ctrl_get_menu(state->ctrls.auto_wb->id)[i]); in s5c73m3_set_white_balance()
168 struct s5c73m3_ctrls *c = &state->ctrls; in s5c73m3_af_run()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dcommon.rst43 ext-ctrls-camera
44 ext-ctrls-flash
45 ext-ctrls-image-source
46 ext-ctrls-image-process
47 ext-ctrls-codec
48 ext-ctrls-codec-stateless
49 ext-ctrls-jpeg
50 ext-ctrls-dv
51 ext-ctrls-rf-tuner
52 ext-ctrls-fm-tx
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-flash-led-class.c82 struct v4l2_ctrl **ctrls = v4l2_flash->ctrls; in v4l2_flash_set_led_brightness() local
104 if (ctrl == ctrls[TORCH_INTENSITY]) { in v4l2_flash_set_led_brightness()
105 if (ctrls[LED_MODE]->val != V4L2_FLASH_LED_MODE_TORCH) in v4l2_flash_set_led_brightness()
125 struct v4l2_ctrl **ctrls = v4l2_flash->ctrls; in v4l2_flash_update_led_brightness() local
129 if (ctrl == ctrls[TORCH_INTENSITY]) { in v4l2_flash_update_led_brightness()
136 if (ctrls[LED_MODE]->val != V4L2_FLASH_LED_MODE_TORCH) in v4l2_flash_update_led_brightness()
206 static bool __software_strobe_mode_inactive(struct v4l2_ctrl **ctrls) in __software_strobe_mode_inactive() argument
208 return ((ctrls[LED_MODE]->val != V4L2_FLASH_LED_MODE_FLASH) || in __software_strobe_mode_inactive()
209 (ctrls[STROBE_SOURCE] && (ctrls[STROBE_SOURCE]->val != in __software_strobe_mode_inactive()
218 struct v4l2_ctrl **ctrls = v4l2_flash->ctrls; in v4l2_flash_s_ctrl() local
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_pb0100.c80 struct pb0100_ctrls *ctrls = sd->sensor_priv; in pb0100_s_ctrl() local
90 err = pb0100_set_gain(gspca_dev, ctrls->gain->val); in pb0100_s_ctrl()
93 err = pb0100_set_exposure(gspca_dev, ctrls->exposure->val); in pb0100_s_ctrl()
109 struct pb0100_ctrls *ctrls; in pb0100_init_controls() local
129 ctrls = kzalloc_obj(*ctrls); in pb0100_init_controls()
130 if (!ctrls) in pb0100_init_controls()
134 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls()
136 ctrls->exposure = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls()
138 ctrls->gain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls()
140 ctrls->red = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls()
[all …]
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-base.c44 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_v4l2_ctrls() local
47 v4l2_ctrl_s_ctrl(isc->r_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
48 v4l2_ctrl_s_ctrl(isc->b_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
49 v4l2_ctrl_s_ctrl(isc->gr_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls()
50 v4l2_ctrl_s_ctrl(isc->gb_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls()
52 v4l2_ctrl_s_ctrl(isc->r_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
53 v4l2_ctrl_s_ctrl(isc->b_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
54 v4l2_ctrl_s_ctrl(isc->gr_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls()
55 v4l2_ctrl_s_ctrl(isc->gb_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls()
60 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_awb_ctrls() local
[all …]
/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c121 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_get_frame_index() local
122 const struct v4l2_ctrl_av1_frame *frame = ctrls->frame; in rockchip_vpu981_get_frame_index()
155 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_frame_ref() local
156 const struct v4l2_ctrl_av1_frame *frame = ctrls->frame; in rockchip_vpu981_av1_dec_frame_ref()
196 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_clean_refs() local
208 if (ctrls->frame->reference_frame_ts[ref] == timestamp) in rockchip_vpu981_av1_dec_clean_refs()
266 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_tiles_reallocate() local
267 const struct v4l2_av1_tile_info *tile_info = &ctrls->frame->tile_info; in rockchip_vpu981_av1_dec_tiles_reallocate()
269 unsigned int height = ALIGN(ctrls->frame->frame_height_minus_1 + 1, 64); in rockchip_vpu981_av1_dec_tiles_reallocate()
433 struct hantro_av1_dec_ctrls *ctrls = &av1_dec->ctrls; in rockchip_vpu981_av1_dec_prepare_run() local
[all …]
H A Dhantro_hevc.c79 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in tile_buffer_reallocate() local
80 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in tile_buffer_reallocate()
81 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in tile_buffer_reallocate()
179 struct hantro_hevc_dec_ctrls *ctrls = &hevc_ctx->ctrls; in hantro_hevc_dec_prepare_run() local
184 ctrls->decode_params = in hantro_hevc_dec_prepare_run()
186 if (WARN_ON(!ctrls->decode_params)) in hantro_hevc_dec_prepare_run()
189 ctrls->scaling = in hantro_hevc_dec_prepare_run()
191 if (WARN_ON(!ctrls->scaling)) in hantro_hevc_dec_prepare_run()
194 ctrls->sps = in hantro_hevc_dec_prepare_run()
196 if (WARN_ON(!ctrls->sps)) in hantro_hevc_dec_prepare_run()
[all …]
H A Dhantro_g1_h264_dec.c24 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_params() local
25 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params()
26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params()
27 const struct v4l2_ctrl_h264_pps *pps = ctrls->pps; in set_params()
207 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_buffers() local
221 if (ctrls->decode->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in set_buffers()
226 if (ctrls->sps->profile_idc > 66 && ctrls->decode->nal_ref_idc) { in set_buffers()
230 if (ctrls->sps->profile_idc >= 100 && in set_buffers()
231 ctrls->sps->chroma_format_idc == 0) in set_buffers()
240 if (ctrls->decode->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in set_buffers()
H A Dhantro_g2_hevc_dec.c16 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in prepare_tile_info_buffer() local
17 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in prepare_tile_info_buffer()
18 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in prepare_tile_info_buffer()
110 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in compute_header_skip_length() local
111 const struct v4l2_ctrl_hevc_decode_params *decode_params = ctrls->decode_params; in compute_header_skip_length()
112 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in compute_header_skip_length()
113 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in compute_header_skip_length()
145 const struct hantro_hevc_dec_ctrls *ctrls = &ctx->hevc_dec.ctrls; in set_params() local
146 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in set_params()
147 const struct v4l2_ctrl_hevc_pps *pps = ctrls->pps; in set_params()
[all …]
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->decode->nal_ref_idc) { in set_buffers()
447 if (ctrls->sps->profile_idc >= 100 && in set_buffers()
448 ctrls->sps->chroma_format_idc == 0) in set_buffers()
457 if (ctrls->decode->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) in set_buffers()
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx() local
52 v4l2_ctrl_get_menu(bitrate_mode)[ctrls->bitrate_mode], in format_ctx()
53 ctrls->bitrate, in format_ctx()
54 ctrls->gop_size, in format_ctx()
55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect], in format_ctx()
56 ctrls->time_per_frame.denominator, in format_ctx()
57 ctrls->time_per_frame.numerator); in format_ctx()
72 v4l2_ctrl_get_menu(entropy)[ctrls->entropy_mode], in format_ctx()
73 ctrls->cpb_size, in format_ctx()
74 ctrls->dct8x8 ? "true" : "false", in format_ctx()
[all …]
H A Dhva-h264.c417 struct hva_controls *ctrls, in hva_h264_fill_slice_header() argument
437 u32 frame_order = frame_num % ctrls->gop_size; in hva_h264_fill_slice_header()
439 if (!(frame_num % ctrls->gop_size)) in hva_h264_fill_slice_header()
456 if ((frame_num / ctrls->gop_size) % 2) { in hva_h264_fill_slice_header()
469 if (ctrls->entropy_mode == cabac) { in hva_h264_fill_slice_header()
599 struct hva_controls *ctrls = &pctx->ctrls; in hva_h264_prepare_task() local
600 struct v4l2_fract *time_per_frame = &pctx->ctrls.time_per_frame; in hva_h264_prepare_task()
624 level = ctrls->level; in hva_h264_prepare_task()
644 td->brc_type = (ctrls->bitrate_mode == V4L2_MPEG_VIDEO_BITRATE_MODE_CBR) in hva_h264_prepare_task()
647 td->entropy_coding_mode = (ctrls->entropy_mode == cavlc) ? CAVLC : in hva_h264_prepare_task()
[all …]
H A Dhva-v4l2.c523 struct v4l2_fract *time_per_frame = &ctx->ctrls.time_per_frame; in hva_g_parm()
539 struct v4l2_fract *time_per_frame = &ctx->ctrls.time_per_frame; in hva_s_parm()
626 ctx->ctrls.bitrate_mode = ctrl->val; in hva_s_ctrl()
629 ctx->ctrls.gop_size = ctrl->val; in hva_s_ctrl()
632 ctx->ctrls.bitrate = ctrl->val; in hva_s_ctrl()
635 ctx->ctrls.aspect = ctrl->val; in hva_s_ctrl()
638 ctx->ctrls.profile = ctrl->val; in hva_s_ctrl()
645 ctx->ctrls.level = ctrl->val; in hva_s_ctrl()
652 ctx->ctrls.entropy_mode = ctrl->val; in hva_s_ctrl()
655 ctx->ctrls.cpb_size = ctrl->val; in hva_s_ctrl()
[all …]
/linux/drivers/media/i2c/
H A Dt4ka3.c116 ctrls.handler)
141 struct t4ka3_ctrls ctrls; member
292 if (sensor->ctrls.vflip && sensor->ctrls.vflip->val) in t4ka3_set_bayer_order()
295 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val) in t4ka3_set_bayer_order()
304 int exp_max = fmt->height + sensor->ctrls.vblank->val - in t4ka3_update_exposure_range()
307 return __v4l2_ctrl_modify_range(sensor->ctrls.exposure, 0, exp_max, in t4ka3_update_exposure_range()
395 ret = __v4l2_ctrl_modify_range(sensor->ctrls.vblank, min, max, 1, def); in t4ka3_set_pad_format()
399 ret = __v4l2_ctrl_s_ctrl(sensor->ctrls.vblank, def); in t4ka3_set_pad_format()
404 ret = __v4l2_ctrl_modify_range(sensor->ctrls.hblank, def, def, 1, def); in t4ka3_set_pad_format()
408 return __v4l2_ctrl_s_ctrl(sensor->ctrls.hblank, def); in t4ka3_set_pad_format()
[all …]
H A Dov2680.c166 struct ov2680_ctrls ctrls; member
268 ctrls.handler)->sd; in ctrl_to_sd()
294 if (sensor->ctrls.vflip && sensor->ctrls.vflip->val) in ov2680_set_bayer_order()
297 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val) in ov2680_set_bayer_order()
476 int exp_max = sensor->mode.fmt.height + sensor->ctrls.vblank->val - in ov2680_exposure_update_range()
479 return __v4l2_ctrl_modify_range(sensor->ctrls.exposure, 0, exp_max, in ov2680_exposure_update_range()
503 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ov2680_stream_enable()
681 ret = __v4l2_ctrl_modify_range(sensor->ctrls.vblank, OV2680_MIN_VBLANK, in ov2680_set_fmt()
686 ret = __v4l2_ctrl_s_ctrl(sensor->ctrls.vblank, def); in ov2680_set_fmt()
697 ret = __v4l2_ctrl_modify_range(sensor->ctrls.hblank, def, def, 1, def); in ov2680_set_fmt()
[all …]
H A Dov5640.c460 struct ov5640_ctrls ctrls; member
477 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()
2856 __v4l2_ctrl_modify_range(sensor->ctrls.vblank, OV5640_MIN_VBLANK, in __v4l2_ctrl_vblank_update()
2859 __v4l2_ctrl_s_ctrl(sensor->ctrls.vblank, vblank); in __v4l2_ctrl_vblank_update()
2883 __v4l2_ctrl_s_ctrl_int64(sensor->ctrls.pixel_rate, in ov5640_update_pixel_rate()
2927 __v4l2_ctrl_s_ctrl_int64(sensor->ctrls.pixel_rate, pixel_rate); in ov5640_update_pixel_rate()
2928 __v4l2_ctrl_s_ctrl(sensor->ctrls.link_freq, i); in ov5640_update_pixel_rate()
2931 __v4l2_ctrl_modify_range(sensor->ctrls.hblank, in ov5640_update_pixel_rate()
[all …]
H A Dmt9v032.c201 struct v4l2_ctrl_handler ctrls; member
352 return v4l2_ctrl_handler_setup(&mt9v032->ctrls); in __mt9v032_set_power()
657 container_of(ctrl->handler, struct mt9v032, ctrls); in mt9v032_s_ctrl()
1082 v4l2_ctrl_handler_init(&mt9v032->ctrls, 11 + in mt9v032_probe()
1085 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1087 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1090 v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1093 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1097 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
1101 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe()
[all …]
H A Dmt9p031.c138 struct v4l2_ctrl_handler ctrls; member
390 return v4l2_ctrl_handler_setup(&mt9p031->ctrls); in __mt9p031_set_power()
754 container_of(ctrl->handler, struct mt9p031, ctrls); in mt9p031_s_ctrl()
1128 v4l2_ctrl_handler_init(&mt9p031->ctrls, ARRAY_SIZE(mt9p031_ctrls) + 6); in mt9p031_probe()
1130 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1134 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1137 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1139 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1141 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
1144 v4l2_ctrl_new_std_menu_items(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe()
[all …]
H A Dov8865.c471 ctrls.handler)->subdev)
705 struct ov8865_ctrls ctrls; member
2242 struct ov8865_ctrls *ctrls = &sensor->ctrls; in ov8865_state_mipi_configure() local
2278 __v4l2_ctrl_s_ctrl(ctrls->link_freq, i); in ov8865_state_mipi_configure()
2292 __v4l2_ctrl_s_ctrl_int64(ctrls->pixel_rate, mipi_pixel_rate); in ov8865_state_mipi_configure()
2461 __v4l2_ctrl_modify_range(sensor->ctrls.exposure, in ov8865_s_ctrl()
2462 sensor->ctrls.exposure->minimum, in ov8865_s_ctrl()
2464 sensor->ctrls.exposure->step, in ov8865_s_ctrl()
2465 min(sensor->ctrls.exposure->val, in ov8865_s_ctrl()
2510 struct ov8865_ctrls *ctrls = &sensor->ctrls; in ov8865_ctrls_init() local
[all …]
H A Dov7251.c143 struct v4l2_ctrl_handler ctrls; member
1029 struct ov7251, ctrls); in ov7251_s_ctrl()
1365 ret = __v4l2_ctrl_handler_setup(&ov7251->ctrls); in ov7251_s_stream()
1571 v4l2_ctrl_handler_init(&ov7251->ctrls, 7); in ov7251_init_ctrls()
1572 ov7251->ctrls.lock = &ov7251->lock; in ov7251_init_ctrls()
1574 v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops, in ov7251_init_ctrls()
1576 v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops, in ov7251_init_ctrls()
1578 ov7251->exposure = v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops, in ov7251_init_ctrls()
1580 ov7251->gain = v4l2_ctrl_new_std(&ov7251->ctrls, &ov7251_ctrl_ops, in ov7251_init_ctrls()
1582 v4l2_ctrl_new_std_menu_items(&ov7251->ctrls, &ov7251_ctrl_ops, in ov7251_init_ctrls()
[all …]
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.c513 idx = is->isp.ctrls.iso->val; in __ctrl_set_iso()
694 struct v4l2_ctrl_handler *handler = &isp->ctrls.handler; in fimc_isp_subdev_create()
696 struct fimc_isp_ctrls *ctrls = &isp->ctrls; in fimc_isp_subdev_create() local
719 ctrls->saturation = v4l2_ctrl_new_std(handler, ops, V4L2_CID_SATURATION, in fimc_isp_subdev_create()
721 ctrls->brightness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_BRIGHTNESS, in fimc_isp_subdev_create()
723 ctrls->contrast = v4l2_ctrl_new_std(handler, ops, V4L2_CID_CONTRAST, in fimc_isp_subdev_create()
725 ctrls->sharpness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_SHARPNESS, in fimc_isp_subdev_create()
727 ctrls->hue = v4l2_ctrl_new_std(handler, ops, V4L2_CID_HUE, in fimc_isp_subdev_create()
730 ctrls->auto_wb = v4l2_ctrl_new_std_menu(handler, ops, in fimc_isp_subdev_create()
734 ctrls->exposure = v4l2_ctrl_new_std(handler, ops, in fimc_isp_subdev_create()
[all …]
/linux/arch/arm/mach-versatile/
H A Dintegrator_ap.c112 unsigned int ctrls = 0, ctrlc = 0, rts_mask, dtr_mask; in integrator_uart_set_mctrl() local
129 ctrls |= rts_mask; in integrator_uart_set_mctrl()
134 ctrls |= dtr_mask; in integrator_uart_set_mctrl()
138 ctrls); in integrator_uart_set_mctrl()
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-common.c2181 container_of(ctrl->handler, struct coda_ctx, ctrls); in coda_s_ctrl()
2314 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2316 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2318 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2320 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2323 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2326 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2328 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2330 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
2332 v4l2_ctrl_new_std_menu(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls()
[all …]
/linux/drivers/media/platform/mediatek/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()
/linux/Documentation/userspace-api/media/mediactl/
H A Drequest-api.rst145 struct v4l2_ext_controls ctrls;
151 ctrls.which = V4L2_CTRL_WHICH_REQUEST_VAL;
152 ctrls.request_fd = req_fd;
153 if (ioctl(codec_fd, VIDIOC_S_EXT_CTRLS, &ctrls))
200 ctrls.which = V4L2_CTRL_WHICH_REQUEST_VAL;
201 ctrls.request_fd = req_fd;
202 if (ioctl(codec_fd, VIDIOC_G_EXT_CTRLS, &ctrls))
228 struct v4l2_ext_controls ctrls;
234 ctrls.which = V4L2_CTRL_WHICH_REQUEST_VAL;
235 ctrls.request_fd = req_fd;
[all …]

123