Lines Matching refs:ctrls
174 } ctrls; member
479 container_of(ctrl->handler, struct ov5693_device, ctrls.handler); in ov5693_s_ctrl()
488 __v4l2_ctrl_modify_range(ov5693->ctrls.exposure, in ov5693_s_ctrl()
489 ov5693->ctrls.exposure->minimum, in ov5693_s_ctrl()
491 ov5693->ctrls.exposure->step, in ov5693_s_ctrl()
492 min(ov5693->ctrls.exposure->val, in ov5693_s_ctrl()
535 ctrls.handler); in ov5693_g_volatile_ctrl()
866 __v4l2_ctrl_modify_range(ov5693->ctrls.vblank, in ov5693_set_fmt()
870 __v4l2_ctrl_s_ctrl(ov5693->ctrls.vblank, in ov5693_set_fmt()
874 __v4l2_ctrl_modify_range(ov5693->ctrls.hblank, hblank, hblank, 1, in ov5693_set_fmt()
878 __v4l2_ctrl_modify_range(ov5693->ctrls.exposure, in ov5693_set_fmt()
879 ov5693->ctrls.exposure->minimum, exposure_max, in ov5693_set_fmt()
880 ov5693->ctrls.exposure->step, in ov5693_set_fmt()
881 min(ov5693->ctrls.exposure->val, in ov5693_set_fmt()
983 ret = __v4l2_ctrl_handler_setup(&ov5693->ctrls.handler); in ov5693_s_stream()
1015 ov5693->ctrls.vblank->val); in ov5693_g_frame_interval()
1082 struct ov5693_v4l2_ctrls *ctrls = &ov5693->ctrls; in ov5693_init_controls() local
1089 ret = v4l2_ctrl_handler_init(&ctrls->handler, 12); in ov5693_init_controls()
1094 ctrls->link_freq = v4l2_ctrl_new_int_menu(&ctrls->handler, in ov5693_init_controls()
1097 if (ctrls->link_freq) in ov5693_init_controls()
1098 ctrls->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5693_init_controls()
1101 ctrls->pixel_rate = v4l2_ctrl_new_std(&ctrls->handler, NULL, in ov5693_init_controls()
1108 ctrls->exposure = v4l2_ctrl_new_std(&ctrls->handler, ops, in ov5693_init_controls()
1114 ctrls->analogue_gain = v4l2_ctrl_new_std(&ctrls->handler, in ov5693_init_controls()
1121 ctrls->digital_gain = v4l2_ctrl_new_std(&ctrls->handler, ops, in ov5693_init_controls()
1129 ctrls->hflip = v4l2_ctrl_new_std(&ctrls->handler, ops, in ov5693_init_controls()
1132 ctrls->vflip = v4l2_ctrl_new_std(&ctrls->handler, ops, in ov5693_init_controls()
1136 ctrls->hblank = v4l2_ctrl_new_std(&ctrls->handler, ops, in ov5693_init_controls()
1140 if (ctrls->hblank) in ov5693_init_controls()
1141 ctrls->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5693_init_controls()
1145 ctrls->vblank = v4l2_ctrl_new_std(&ctrls->handler, ops, in ov5693_init_controls()
1150 ctrls->test_pattern = v4l2_ctrl_new_std_menu_items( in ov5693_init_controls()
1151 &ctrls->handler, ops, in ov5693_init_controls()
1156 if (ctrls->handler.error) { in ov5693_init_controls()
1158 ret = ctrls->handler.error; in ov5693_init_controls()
1167 ret = v4l2_ctrl_new_fwnode_properties(&ctrls->handler, ops, in ov5693_init_controls()
1173 ctrls->handler.lock = &ov5693->lock; in ov5693_init_controls()
1174 ov5693->sd.ctrl_handler = &ctrls->handler; in ov5693_init_controls()
1179 v4l2_ctrl_handler_free(&ctrls->handler); in ov5693_init_controls()
1380 v4l2_ctrl_handler_free(&ov5693->ctrls.handler); in ov5693_probe()
1392 v4l2_ctrl_handler_free(&ov5693->ctrls.handler); in ov5693_remove()