• Home
  • Raw
  • Download

Lines Matching refs:ctrls

500 		       ctrls.handler)->subdev)
661 struct ov5648_ctrls ctrls; member
1529 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_exposure_configure() local
1532 if (ctrls->exposure_auto->val != V4L2_EXPOSURE_MANUAL) in ov5648_exposure_configure()
1585 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_gain_configure() local
1588 if (ctrls->gain_auto->val) in ov5648_gain_configure()
1631 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_white_balance_configure() local
1634 if (ctrls->white_balance_auto->val) in ov5648_white_balance_configure()
1694 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_state_mipi_configure() local
1730 __v4l2_ctrl_s_ctrl(ctrls->link_freq, i); in ov5648_state_mipi_configure()
1747 __v4l2_ctrl_s_ctrl_int64(ctrls->pixel_rate, mipi_pixel_rate); in ov5648_state_mipi_configure()
1941 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_g_volatile_ctrl() local
1946 ret = ov5648_exposure_value(sensor, &ctrls->exposure->val); in ov5648_g_volatile_ctrl()
1951 ret = ov5648_gain_value(sensor, &ctrls->gain->val); in ov5648_g_volatile_ctrl()
1966 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_s_ctrl() local
1983 if (!enable && ctrls->exposure->is_new) { in ov5648_s_ctrl()
1985 ctrls->exposure->val); in ov5648_s_ctrl()
1998 ret = ov5648_gain_configure(sensor, ctrls->gain->val); in ov5648_s_ctrl()
2012 ctrls->red_balance->val, in ov5648_s_ctrl()
2013 ctrls->blue_balance->val); in ov5648_s_ctrl()
2041 struct ov5648_ctrls *ctrls = &sensor->ctrls; in ov5648_ctrls_init() local
2042 struct v4l2_ctrl_handler *handler = &ctrls->handler; in ov5648_ctrls_init()
2053 ctrls->exposure_auto = v4l2_ctrl_new_std_menu(handler, ops, in ov5648_ctrls_init()
2058 ctrls->exposure = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, in ov5648_ctrls_init()
2061 v4l2_ctrl_auto_cluster(2, &ctrls->exposure_auto, 1, true); in ov5648_ctrls_init()
2065 ctrls->gain_auto = in ov5648_ctrls_init()
2068 ctrls->gain = v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 16, 1023, in ov5648_ctrls_init()
2071 v4l2_ctrl_auto_cluster(2, &ctrls->gain_auto, 0, true); in ov5648_ctrls_init()
2075 ctrls->white_balance_auto = in ov5648_ctrls_init()
2079 ctrls->red_balance = v4l2_ctrl_new_std(handler, ops, in ov5648_ctrls_init()
2083 ctrls->blue_balance = v4l2_ctrl_new_std(handler, ops, in ov5648_ctrls_init()
2087 v4l2_ctrl_auto_cluster(3, &ctrls->white_balance_auto, 0, false); in ov5648_ctrls_init()
2102 ctrls->link_freq = in ov5648_ctrls_init()
2107 ctrls->pixel_rate = in ov5648_ctrls_init()
2116 ctrls->exposure->flags |= V4L2_CTRL_FLAG_VOLATILE; in ov5648_ctrls_init()
2117 ctrls->gain->flags |= V4L2_CTRL_FLAG_VOLATILE; in ov5648_ctrls_init()
2119 ctrls->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5648_ctrls_init()
2120 ctrls->pixel_rate->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5648_ctrls_init()
2419 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); in ov5648_resume()
2576 v4l2_ctrl_handler_free(&sensor->ctrls.handler); in ov5648_probe()
2597 v4l2_ctrl_handler_free(&sensor->ctrls.handler); in ov5648_remove()