Lines Matching refs:ctrls
114 struct ov2680_ctrls ctrls; member
191 ctrls.handler)->sd; in ctrl_to_sd()
326 if (sensor->ctrls.vflip && sensor->ctrls.vflip->val) in ov2680_set_bayer_order()
329 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val) in ov2680_set_bayer_order()
427 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ov2680_mode_set()
774 struct ov2680_ctrls *ctrls = &sensor->ctrls; in ov2680_v4l2_register() local
775 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in ov2680_v4l2_register()
793 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0); in ov2680_v4l2_register()
794 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in ov2680_v4l2_register()
796 ctrls->test_pattern = v4l2_ctrl_new_std_menu_items(hdl, in ov2680_v4l2_register()
801 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE, in ov2680_v4l2_register()
804 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, 0, 2047, 1, 0); in ov2680_v4l2_register()
811 ctrls->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in ov2680_v4l2_register()
812 ctrls->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in ov2680_v4l2_register()
948 v4l2_ctrl_handler_free(&sensor->ctrls.handler); in ov2680_remove()