Home
last modified time | relevance | path

Searched refs:coarse_itg (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/staging/media/atomisp/i2c/
Datomisp-ov2722.c264 static long __ov2722_set_exposure(struct v4l2_subdev *sd, int coarse_itg, in __ov2722_set_exposure() argument
283 if ((coarse_itg + OV2722_COARSE_INTG_TIME_MAX_MARGIN) > vts) in __ov2722_set_exposure()
284 vts = coarse_itg + OV2722_COARSE_INTG_TIME_MAX_MARGIN; in __ov2722_set_exposure()
286 coarse_itg <<= 4; in __ov2722_set_exposure()
302 coarse_itg & 0xff); in __ov2722_set_exposure()
308 (coarse_itg >> 8) & 0xfff); in __ov2722_set_exposure()
Datomisp-gc2235.c223 static long __gc2235_set_exposure(struct v4l2_subdev *sd, int coarse_itg, in __gc2235_set_exposure() argument
228 u16 coarse_integration = (u16)coarse_itg; in __gc2235_set_exposure()
/linux-6.6.21/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c418 static long __ov5693_set_exposure(struct v4l2_subdev *sd, int coarse_itg, in __ov5693_set_exposure() argument
434 if (coarse_itg > (1 << 15)) { in __ov5693_set_exposure()
436 coarse_itg = (int)coarse_itg / 2; in __ov5693_set_exposure()
463 if (coarse_itg > vts - OV5693_INTEGRATION_TIME_MARGIN) in __ov5693_set_exposure()
464 vts = (u16)coarse_itg + OV5693_INTEGRATION_TIME_MARGIN; in __ov5693_set_exposure()
485 exp_val = coarse_itg << 4; in __ov5693_set_exposure()
584 u16 coarse_itg = exposure->integration_time[0]; in ov5693_s_exposure() local
595 return ov5693_set_exposure(sd, coarse_itg, analog_gain, digital_gain); in ov5693_s_exposure()