Lines Matching refs:rhs1

1744 	u32 rhs1 = 0;  in IMX464_set_hdrae()  local
1834 rhs1 = SHR1_MIN + s_exp_time; in IMX464_set_hdrae()
1835 dev_err(&client->dev, "line(%d) rhs1 %d\n", __LINE__, rhs1); in IMX464_set_hdrae()
1836 if (rhs1 < 11) in IMX464_set_hdrae()
1837 rhs1 = 11; in IMX464_set_hdrae()
1838 else if (rhs1 > rhs1_max) in IMX464_set_hdrae()
1839 rhs1 = rhs1_max; in IMX464_set_hdrae()
1840 dev_dbg(&client->dev, "line(%d) rhs1 %d\n", __LINE__, rhs1); in IMX464_set_hdrae()
1849 if (rhs1 < rhs1_change_limit) in IMX464_set_hdrae()
1850 rhs1 = rhs1_change_limit; in IMX464_set_hdrae()
1854 __LINE__, rhs1, s_exp_time, rhs1_old, in IMX464_set_hdrae()
1857 rhs1 = (rhs1 >> 2) * 4 + 1; in IMX464_set_hdrae()
1858 rhs1_old = rhs1; in IMX464_set_hdrae()
1860 if (rhs1 - s_exp_time <= SHR1_MIN) { in IMX464_set_hdrae()
1862 s_exp_time = rhs1 - shr1; in IMX464_set_hdrae()
1864 shr1 = rhs1 - s_exp_time; in IMX464_set_hdrae()
1869 else if (shr1 > (rhs1 - 2)) in IMX464_set_hdrae()
1870 shr1 = rhs1 - 2; in IMX464_set_hdrae()
1872 if (shr0 < (rhs1 + 9)) in IMX464_set_hdrae()
1873 shr0 = rhs1 + 9; in IMX464_set_hdrae()
1882 l_exp_time, s_exp_time, shr0, shr1, rhs1, l_a_gain, s_a_gain); in IMX464_set_hdrae()
1887 IMX464_FETCH_RHS1_L(rhs1)); in IMX464_set_hdrae()
1891 IMX464_FETCH_RHS1_M(rhs1)); in IMX464_set_hdrae()
1895 IMX464_FETCH_RHS1_H(rhs1)); in IMX464_set_hdrae()
1934 int shr2, shr1, shr0, rhs2, rhs1 = 0; in IMX464_set_hdrae_3frame() local
2034 rhs1 = (SHR1_MIN_X3 + m_exp_time + 5) / 6 * 6 + 1; in IMX464_set_hdrae_3frame()
2036 if (rhs1 < SHR1_MIN_X3 + 3) in IMX464_set_hdrae_3frame()
2037 rhs1 = SHR1_MIN_X3 + 3; in IMX464_set_hdrae_3frame()
2038 else if (rhs1 > rhs1_max) in IMX464_set_hdrae_3frame()
2039 rhs1 = rhs1_max; in IMX464_set_hdrae_3frame()
2043 __LINE__, rhs1, m_exp_time, rhs1_old); in IMX464_set_hdrae_3frame()
2056 if (rhs1 < rhs1_change_limit) in IMX464_set_hdrae_3frame()
2057 rhs1 = rhs1_change_limit; in IMX464_set_hdrae_3frame()
2061 __LINE__, m_exp_time, rhs1_old, rhs1); in IMX464_set_hdrae_3frame()
2063 rhs1_old = rhs1; in IMX464_set_hdrae_3frame()
2066 if (rhs1 - m_exp_time <= SHR1_MIN_X3) { in IMX464_set_hdrae_3frame()
2068 m_exp_time = rhs1 - shr1; in IMX464_set_hdrae_3frame()
2070 shr1 = rhs1 - m_exp_time; in IMX464_set_hdrae_3frame()
2073 shr2_min = rhs1 + 13; in IMX464_set_hdrae_3frame()
2121 m_exp_time, rhs1, shr1, m_a_gain); in IMX464_set_hdrae_3frame()
2156 IMX464_FETCH_RHS1_L(rhs1)); in IMX464_set_hdrae_3frame()
2160 IMX464_FETCH_RHS1_M(rhs1)); in IMX464_set_hdrae_3frame()
2164 IMX464_FETCH_RHS1_H(rhs1)); in IMX464_set_hdrae_3frame()