Lines Matching refs:IMX274_GAIN_SHIFT
48 #define IMX274_GAIN_SHIFT (8) macro
49 #define IMX274_GAIN_SHIFT_MASK ((1 << IMX274_GAIN_SHIFT) - 1)
57 #define IMX274_MIN_GAIN (0x01 << IMX274_GAIN_SHIFT)
58 #define IMX274_MAX_ANALOG_GAIN ((2048 << IMX274_GAIN_SHIFT)\
61 #define IMX274_DEF_GAIN (20 << IMX274_GAIN_SHIFT)
1593 gain >> IMX274_GAIN_SHIFT, in imx274_set_gain()
1594 ((gain & IMX274_GAIN_SHIFT_MASK) * 100) >> IMX274_GAIN_SHIFT); in imx274_set_gain()
1614 __func__, digital_gain, analog_gain >> IMX274_GAIN_SHIFT, in imx274_set_gain()
1616 >> IMX274_GAIN_SHIFT); in imx274_set_gain()
1624 (IMX274_GAIN_CONST << IMX274_GAIN_SHIFT) / analog_gain; in imx274_set_gain()
1639 ctrl->val = (IMX274_GAIN_CONST << IMX274_GAIN_SHIFT) in imx274_set_gain()