Home
last modified time | relevance | path

Searched refs:exposure_max (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/drivers/media/i2c/
H A Dimx219.c506 int exposure_max, exposure_def; in imx219_set_ctrl() local
509 exposure_max = imx219->mode->height + ctrl->val - 4; in imx219_set_ctrl()
510 exposure_def = (exposure_max < IMX219_EXPOSURE_DEFAULT) ? in imx219_set_ctrl()
511 exposure_max : IMX219_EXPOSURE_DEFAULT; in imx219_set_ctrl()
514 exposure_max, imx219->exposure->step, in imx219_set_ctrl()
662 int exposure_max, exposure_def, hblank; in imx219_set_pad_format() local
688 exposure_max = mode->vts_def - 4; in imx219_set_pad_format()
689 exposure_def = (exposure_max < IMX219_EXPOSURE_DEFAULT) ? in imx219_set_pad_format()
690 exposure_max : IMX219_EXPOSURE_DEFAULT; in imx219_set_pad_format()
693 exposure_max, imx219->exposure->step, in imx219_set_pad_format()
[all …]
H A Dov5647.c1015 int exposure_max, exposure_def; in ov5647_set_pad_fmt() local
1032 exposure_max = mode->vts - 4; in ov5647_set_pad_fmt()
1033 exposure_def = min(exposure_max, OV5647_EXPOSURE_DEFAULT); in ov5647_set_pad_fmt()
1036 exposure_max, sensor->exposure->step, in ov5647_set_pad_fmt()
1227 int exposure_max, exposure_def; in ov5647_s_ctrl() local
1230 exposure_max = sensor->mode->format.height + ctrl->val - 4; in ov5647_s_ctrl()
1231 exposure_def = min(exposure_max, OV5647_EXPOSURE_DEFAULT); in ov5647_s_ctrl()
1234 exposure_max, sensor->exposure->step, in ov5647_s_ctrl()
1296 int hblank, exposure_max, exposure_def; in ov5647_init_controls() local
1310 exposure_max = sensor->mode->vts - 4; in ov5647_init_controls()
[all …]
H A Dog01a1b.c542 s64 exposure_max; in og01a1b_set_ctrl() local
548 exposure_max = og01a1b->cur_mode->height + ctrl->val - in og01a1b_set_ctrl()
552 exposure_max, og01a1b->exposure->step, in og01a1b_set_ctrl()
553 exposure_max); in og01a1b_set_ctrl()
605 s64 exposure_max, h_blank; in og01a1b_init_controls() local
653 exposure_max = (og01a1b->cur_mode->vts_def - in og01a1b_init_controls()
658 exposure_max, in og01a1b_init_controls()
660 exposure_max); in og01a1b_init_controls()
H A Dov5693.c484 int exposure_max; in ov5693_s_ctrl() local
486 exposure_max = ov5693->mode.format.height + ctrl->val - in ov5693_s_ctrl()
490 exposure_max, in ov5693_s_ctrl()
493 exposure_max)); in ov5693_s_ctrl()
823 int exposure_max; in ov5693_set_fmt() local
877 exposure_max = ov5693->mode.vts - OV5693_INTEGRATION_TIME_MARGIN; in ov5693_set_fmt()
879 ov5693->ctrls.exposure->minimum, exposure_max, in ov5693_set_fmt()
882 exposure_max)); in ov5693_set_fmt()
1085 int exposure_max; in ov5693_init_controls() local
1107 exposure_max = ov5693->mode.vts - OV5693_INTEGRATION_TIME_MARGIN; in ov5693_init_controls()
[all …]
H A Dov01a10.c458 s64 exposure_max; in ov01a10_set_ctrl() local
462 exposure_max = ov01a10->cur_mode->height + ctrl->val - in ov01a10_set_ctrl()
466 exposure_max, ov01a10->exposure->step, in ov01a10_set_ctrl()
467 exposure_max); in ov01a10_set_ctrl()
526 s64 exposure_max, h_blank; in ov01a10_init_controls() local
575 exposure_max = cur_mode->vts_def - OV01A10_EXPOSURE_MAX_MARGIN; in ov01a10_init_controls()
579 exposure_max, in ov01a10_init_controls()
581 exposure_max); in ov01a10_init_controls()
H A Dov9734.c483 s64 exposure_max; in ov9734_set_ctrl() local
489 exposure_max = ov9734->cur_mode->height + ctrl->val - in ov9734_set_ctrl()
493 exposure_max, ov9734->exposure->step, in ov9734_set_ctrl()
494 exposure_max); in ov9734_set_ctrl()
544 s64 exposure_max, h_blank, pixel_rate; in ov9734_init_controls() local
587 exposure_max = ov9734->cur_mode->vts_def - OV9734_EXPOSURE_MAX_MARGIN; in ov9734_init_controls()
590 OV9734_EXPOSURE_MIN, exposure_max, in ov9734_init_controls()
592 exposure_max); in ov9734_init_controls()
H A Dhi847.c2415 s64 exposure_max; in hi847_set_ctrl() local
2421 exposure_max = hi847->cur_mode->height + ctrl->val - in hi847_set_ctrl()
2425 exposure_max, hi847->exposure->step, in hi847_set_ctrl()
2426 exposure_max); in hi847_set_ctrl()
2484 s64 exposure_max, h_blank; in hi847_init_controls() local
2529 exposure_max = hi847->cur_mode->fll_def - HI847_EXPOSURE_MAX_MARGIN; in hi847_init_controls()
2532 HI847_EXPOSURE_MIN, exposure_max, in hi847_init_controls()
2534 exposure_max); in hi847_init_controls()
H A Dhi556.c714 s64 exposure_max; in hi556_set_ctrl() local
720 exposure_max = hi556->cur_mode->height + ctrl->val - in hi556_set_ctrl()
724 exposure_max, hi556->exposure->step, in hi556_set_ctrl()
725 exposure_max); in hi556_set_ctrl()
775 s64 exposure_max, h_blank; in hi556_init_controls() local
820 exposure_max = hi556->cur_mode->fll_def - HI556_EXPOSURE_MAX_MARGIN; in hi556_init_controls()
823 HI556_EXPOSURE_MIN, exposure_max, in hi556_init_controls()
825 exposure_max); in hi556_init_controls()
H A Dov2740.c514 s64 exposure_max; in ov2740_set_ctrl() local
520 exposure_max = ov2740->cur_mode->height + ctrl->val - in ov2740_set_ctrl()
524 exposure_max, ov2740->exposure->step, in ov2740_set_ctrl()
525 exposure_max); in ov2740_set_ctrl()
575 s64 exposure_max, h_blank, pixel_rate; in ov2740_init_controls() local
622 exposure_max = cur_mode->vts_def - OV2740_EXPOSURE_MAX_MARGIN; in ov2740_init_controls()
625 OV2740_EXPOSURE_MIN, exposure_max, in ov2740_init_controls()
627 exposure_max); in ov2740_init_controls()
H A Dov7251.c83 u16 exposure_max; member
649 .exposure_max = 1704,
662 .exposure_max = 840,
675 .exposure_max = 552,
1033 int exposure_max; in ov7251_s_ctrl() local
1035 exposure_max = ov7251->current_mode->height + ctrl->val - in ov7251_s_ctrl()
1039 exposure_max, in ov7251_s_ctrl()
1042 exposure_max)); in ov7251_s_ctrl()
1240 1, new_mode->exposure_max, in ov7251_set_format()
1410 1, new_mode->exposure_max, in ov7251_set_frame_interval()
H A Dov5675.c707 s64 exposure_max; in ov5675_set_ctrl() local
713 exposure_max = ov5675->cur_mode->height + ctrl->val - in ov5675_set_ctrl()
717 exposure_max, ov5675->exposure->step, in ov5675_set_ctrl()
718 exposure_max); in ov5675_set_ctrl()
785 s64 exposure_max, h_blank; in ov5675_init_controls() local
825 exposure_max = (ov5675->cur_mode->vts_def - OV5675_EXPOSURE_MAX_MARGIN); in ov5675_init_controls()
828 OV5675_EXPOSURE_MIN, exposure_max, in ov5675_init_controls()
830 exposure_max); in ov5675_init_controls()
H A Dov08d10.c856 s64 exposure_max; in ov08d10_set_ctrl() local
862 exposure_max = ov08d10->cur_mode->height + ctrl->val - in ov08d10_set_ctrl()
866 exposure_max, ov08d10->exposure->step, in ov08d10_set_ctrl()
867 exposure_max); in ov08d10_set_ctrl()
920 s64 exposure_max; in ov08d10_init_controls() local
978 exposure_max = mode->vts_def - OV08D10_EXPOSURE_MAX_MARGIN; in ov08d10_init_controls()
982 exposure_max, in ov08d10_init_controls()
984 exposure_max); in ov08d10_init_controls()
H A Dov8856.c1825 s64 exposure_max; in ov8856_set_ctrl() local
1831 exposure_max = ov8856->cur_mode->height + ctrl->val - in ov8856_set_ctrl()
1835 exposure_max, ov8856->exposure->step, in ov8856_set_ctrl()
1836 exposure_max); in ov8856_set_ctrl()
1894 s64 exposure_max, h_blank; in ov8856_init_controls() local
1943 exposure_max = ov8856->cur_mode->vts_def - OV8856_EXPOSURE_MAX_MARGIN; in ov8856_init_controls()
1946 OV8856_EXPOSURE_MIN, exposure_max, in ov8856_init_controls()
1948 exposure_max); in ov8856_init_controls()
H A Dhi846.c1341 s64 exposure_max; in hi846_set_ctrl() local
1348 exposure_max = hi846->cur_mode->height + ctrl->val - in hi846_set_ctrl()
1352 exposure_max, hi846->exposure->step, in hi846_set_ctrl()
1353 exposure_max); in hi846_set_ctrl()
1415 s64 exposure_max, h_blank; in hi846_init_controls() local
1463 exposure_max = hi846->cur_mode->frame_len - HI846_EXPOSURE_MAX_MARGIN; in hi846_init_controls()
1466 HI846_EXPOSURE_MIN, exposure_max, in hi846_init_controls()
1468 exposure_max); in hi846_init_controls()
H A Dar0521.c467 int max_vblank, max_hblank, exposure_max; in ar0521_set_fmt() local
518 exposure_max = sensor->fmt.height + AR0521_HEIGHT_BLANKING_MIN - 4; in ar0521_set_fmt()
521 exposure_max, in ar0521_set_fmt()
603 int max_vblank, max_hblank, exposure_max; in ar0521_init_controls() local
646 exposure_max = AR0521_HEIGHT_MAX + AR0521_HEIGHT_BLANKING_MIN - 4; in ar0521_init_controls()
648 exposure_max, 1, 0x70); in ar0521_init_controls()
H A Dov08x40.c3034 s64 exposure_max; in ov08x40_init_controls() local
3085 exposure_max = mode->vts_def - OV08X40_EXPOSURE_MAX_MARGIN; in ov08x40_init_controls()
3089 exposure_max, OV08X40_EXPOSURE_STEP, in ov08x40_init_controls()
3090 exposure_max); in ov08x40_init_controls()
H A Dov2685.c679 u64 exposure_max; in ov2685_initialize_controls() local
711 exposure_max = mode->vts_def - 4; in ov2685_initialize_controls()
714 exposure_max, OV2685_EXPOSURE_STEP, in ov2685_initialize_controls()
H A Dov8865.c2466 int exposure_max; in ov8865_s_ctrl() local
2468 exposure_max = sensor->state.mode->output_size_y + ctrl->val - in ov8865_s_ctrl()
2472 exposure_max, in ov8865_s_ctrl()
2475 exposure_max)); in ov8865_s_ctrl()
2734 int exposure_max; in ov8865_set_fmt() local
2782 exposure_max = mode->vts - OV8865_INTEGRATION_TIME_MARGIN; in ov8865_set_fmt()
2784 sensor->ctrls.exposure->minimum, exposure_max, in ov8865_set_fmt()
2787 exposure_max)); in ov8865_set_fmt()
H A Dov13b10.c1269 s64 exposure_max; in ov13b10_init_controls() local
1321 exposure_max = mode->vts_def - 8; in ov13b10_init_controls()
1325 exposure_max, OV13B10_EXPOSURE_STEP, in ov13b10_init_controls()
1326 exposure_max); in ov13b10_init_controls()
H A Dov5670.c2112 s64 exposure_max; in ov5670_init_controls() local
2165 exposure_max = ov5670->cur_mode->vts_def - 8; in ov5670_init_controls()
2169 exposure_max, OV5670_EXPOSURE_STEP, in ov5670_init_controls()
2170 exposure_max); in ov5670_init_controls()
H A Dov8858.c1705 s64 exposure_max, vblank_def; in ov8858_init_ctrls() local
1737 exposure_max = mode->vts_def - OV8858_EXPOSURE_MARGIN; in ov8858_init_ctrls()
1741 exposure_max, OV8858_EXPOSURE_STEP, in ov8858_init_ctrls()
H A Dov02a10.c740 s64 exposure_max; in ov02a10_initialize_controls() local
772 exposure_max = mode->vts_def - 4; in ov02a10_initialize_controls()
776 exposure_max, in ov02a10_initialize_controls()
H A Dov5695.c1169 s64 exposure_max, vblank_def; in ov5695_initialize_controls() local
1200 exposure_max = mode->vts_def - 4; in ov5695_initialize_controls()
1203 exposure_max, OV5695_EXPOSURE_STEP, in ov5695_initialize_controls()
H A Dov4689.c716 s64 exposure_max, vblank_def; in ov4689_initialize_controls() local
747 exposure_max = mode->vts_def - 4; in ov4689_initialize_controls()
750 OV4689_EXPOSURE_MIN, exposure_max, in ov4689_initialize_controls()
/openbmc/linux/drivers/media/usb/gspca/
H A Dov534.c1218 int exposure_max; in sd_init_controls() local
1232 exposure_max = 0x60; in sd_init_controls()
1245 exposure_max = 255; in sd_init_controls()
1279 V4L2_CID_EXPOSURE, exposure_min, exposure_max, 1, in sd_init_controls()

12