/linux-6.1.9/drivers/media/i2c/ |
D | hi556.c | 580 static int hi556_update_digital_gain(struct hi556 *hi556, u32 d_gain) in hi556_update_digital_gain() argument 585 HI556_REG_VALUE_16BIT, d_gain); in hi556_update_digital_gain() 590 HI556_REG_VALUE_16BIT, d_gain); in hi556_update_digital_gain() 595 HI556_REG_VALUE_16BIT, d_gain); in hi556_update_digital_gain() 600 HI556_REG_VALUE_16BIT, d_gain); in hi556_update_digital_gain()
|
D | hi847.c | 2269 static int hi847_update_digital_gain(struct hi847 *hi847, u32 d_gain) in hi847_update_digital_gain() argument 2274 HI847_REG_VALUE_16BIT, d_gain); in hi847_update_digital_gain() 2279 HI847_REG_VALUE_16BIT, d_gain); in hi847_update_digital_gain() 2284 HI847_REG_VALUE_16BIT, d_gain); in hi847_update_digital_gain() 2289 HI847_REG_VALUE_16BIT, d_gain); in hi847_update_digital_gain()
|
D | ov5670.c | 1959 static int ov5670_update_digital_gain(struct ov5670 *ov5670, u32 d_gain) in ov5670_update_digital_gain() argument 1964 OV5670_REG_VALUE_16BIT, d_gain); in ov5670_update_digital_gain() 1969 OV5670_REG_VALUE_16BIT, d_gain); in ov5670_update_digital_gain() 1974 OV5670_REG_VALUE_16BIT, d_gain); in ov5670_update_digital_gain()
|
D | ov9734.c | 438 static int ov9734_update_digital_gain(struct ov9734 *ov9734, u32 d_gain) in ov9734_update_digital_gain() argument 447 ret = ov9734_write_reg(ov9734, OV9734_REG_MWB_R_GAIN, 2, d_gain); in ov9734_update_digital_gain() 451 ret = ov9734_write_reg(ov9734, OV9734_REG_MWB_G_GAIN, 2, d_gain); in ov9734_update_digital_gain() 455 ret = ov9734_write_reg(ov9734, OV9734_REG_MWB_B_GAIN, 2, d_gain); in ov9734_update_digital_gain()
|
D | ov08d10.c | 700 static int ov08d10_update_digital_gain(struct ov08d10 *ov08d10, u32 d_gain) in ov08d10_update_digital_gain() argument 706 d_gain = (d_gain >> 1); in ov08d10_update_digital_gain() 712 val = ((d_gain >> 8) & 0x3F); in ov08d10_update_digital_gain() 718 val = d_gain & 0xFF; in ov08d10_update_digital_gain()
|
D | ov13858.c | 1171 static int ov13858_update_digital_gain(struct ov13858 *ov13858, u32 d_gain) in ov13858_update_digital_gain() argument 1176 OV13858_REG_VALUE_16BIT, d_gain); in ov13858_update_digital_gain() 1181 OV13858_REG_VALUE_16BIT, d_gain); in ov13858_update_digital_gain() 1186 OV13858_REG_VALUE_16BIT, d_gain); in ov13858_update_digital_gain()
|
D | ov5675.c | 593 static int ov5675_update_digital_gain(struct ov5675 *ov5675, u32 d_gain) in ov5675_update_digital_gain() argument 604 OV5675_REG_VALUE_16BIT, d_gain); in ov5675_update_digital_gain() 609 OV5675_REG_VALUE_16BIT, d_gain); in ov5675_update_digital_gain() 614 OV5675_REG_VALUE_16BIT, d_gain); in ov5675_update_digital_gain()
|
D | ov2740.c | 470 static int ov2740_update_digital_gain(struct ov2740 *ov2740, u32 d_gain) in ov2740_update_digital_gain() argument 479 ret = ov2740_write_reg(ov2740, OV2740_REG_MWB_R_GAIN, 2, d_gain); in ov2740_update_digital_gain() 483 ret = ov2740_write_reg(ov2740, OV2740_REG_MWB_G_GAIN, 2, d_gain); in ov2740_update_digital_gain() 487 ret = ov2740_write_reg(ov2740, OV2740_REG_MWB_B_GAIN, 2, d_gain); in ov2740_update_digital_gain()
|
D | ov13b10.c | 713 static int ov13b10_update_digital_gain(struct ov13b10 *ov13b, u32 d_gain) in ov13b10_update_digital_gain() argument 722 val = (d_gain & OV13B10_DGTL_GAIN_L_MASK) << OV13B10_DGTL_GAIN_L_SHIFT; in ov13b10_update_digital_gain() 728 val = (d_gain >> OV13B10_DGTL_GAIN_M_SHIFT) & OV13B10_DGTL_GAIN_M_MASK; in ov13b10_update_digital_gain() 734 val = (d_gain >> OV13B10_DGTL_GAIN_H_SHIFT) & OV13B10_DGTL_GAIN_H_MASK; in ov13b10_update_digital_gain()
|
D | hi846.c | 1305 static int hi846_update_digital_gain(struct hi846 *hi846, u16 d_gain) in hi846_update_digital_gain() argument 1309 hi846_write_reg_16(hi846, HI846_REG_MWB_GR_GAIN_H, d_gain, &ret); in hi846_update_digital_gain() 1310 hi846_write_reg_16(hi846, HI846_REG_MWB_GB_GAIN_H, d_gain, &ret); in hi846_update_digital_gain() 1311 hi846_write_reg_16(hi846, HI846_REG_MWB_R_GAIN_H, d_gain, &ret); in hi846_update_digital_gain() 1312 hi846_write_reg_16(hi846, HI846_REG_MWB_B_GAIN_H, d_gain, &ret); in hi846_update_digital_gain()
|
D | ov8856.c | 1757 static int ov8856_update_digital_gain(struct ov8856 *ov8856, u32 d_gain) in ov8856_update_digital_gain() argument 1760 OV8856_REG_VALUE_16BIT, d_gain); in ov8856_update_digital_gain()
|