Home
last modified time | relevance | path

Searched refs:short_exp (Results 1 - 1 of 1) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/media/i2c/
H A Dgc2093.c777 u16 vb = 0, cur_vts = 0, short_exp = 0, middle_exp = 0; in gc2093_ioctl() local
820 short_exp = hdrae_exp->short_exp_reg; in gc2093_ioctl()
822 short_exp = vb - PI_REG_VALUE_EI; in gc2093_ioctl()
827 if (short_exp + hdrae_exp->middle_exp_reg > cur_vts) { in gc2093_ioctl()
828 middle_exp = cur_vts - short_exp; in gc2093_ioctl()
833 dev_dbg(gc2093->dev, "%s cal exp_reg middle: 0x%x, short: 0x%x\n", __func__, middle_exp, short_exp); in gc2093_ioctl()
836 ret |= gc2093_write_reg(gc2093, GC2093_REG_EXP_SHORT_H, (short_exp >> PI_REG_VALUE_EI) & 0x3f); in gc2093_ioctl()
837 ret |= gc2093_write_reg(gc2093, GC2093_REG_EXP_SHORT_L, short_exp & 0xff); in gc2093_ioctl()

Completed in 2 milliseconds