Searched refs:scl_v_factor (Results 1 – 4 of 4) sorted by relevance
87 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local156 scl_v_factor = ((src_vactive - 1) << 14) / in rk628_post_process_scaler_init()159 scl_v_factor = ((src_vactive - 2) << 14) / in rk628_post_process_scaler_init()162 scl_v_factor = (dst_vactive << 16) / (src_vactive - 1); in rk628_post_process_scaler_init()167 scl_v_factor = 0; in rk628_post_process_scaler_init()170 scl_v_factor = ((src_vactive - 1) << 16) / (dst_vactive - 1); in rk628_post_process_scaler_init()179 rk628_i2c_write(rk628, GRF_SCALER_CON1, SCL_V_FACTOR(scl_v_factor) | in rk628_post_process_scaler_init()
135 u32 scl_v_factor, scl_h_factor; in rk618_scaler_init() local197 scl_v_factor = ((src.vactive - 1) << 14) / in rk618_scaler_init()200 scl_v_factor = ((src.vactive - 2) << 14) / in rk618_scaler_init()203 scl_v_factor = (dst.vactive << 16) / in rk618_scaler_init()210 scl_v_factor = 0; in rk618_scaler_init()215 scl_v_factor = ((src.vactive - 1) << 16) / (dst.vactive - 1); in rk618_scaler_init()223 SCL_V_FACTOR(scl_v_factor) | SCL_H_FACTOR(scl_h_factor)); in rk618_scaler_init()
99 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local161 scl_v_factor = ((src.vactive - 1) << 14) / in rk628_post_process_scaler_init()164 scl_v_factor = ((src.vactive - 2) << 14) / in rk628_post_process_scaler_init()167 scl_v_factor = (dst.vactive << 16) / in rk628_post_process_scaler_init()174 scl_v_factor = 0; in rk628_post_process_scaler_init()179 scl_v_factor = ((src.vactive - 1) << 16) / (dst.vactive - 1); in rk628_post_process_scaler_init()191 SCL_V_FACTOR(scl_v_factor) | SCL_H_FACTOR(scl_h_factor)); in rk628_post_process_scaler_init()
319 u32 scl_v_factor, scl_h_factor; in rk628_post_process_scaler_init() local378 scl_v_factor = ((src->vactive - 1) << 14) / in rk628_post_process_scaler_init()381 scl_v_factor = ((src->vactive - 2) << 14) / in rk628_post_process_scaler_init()384 scl_v_factor = (dst->vactive << 16) / in rk628_post_process_scaler_init()391 scl_v_factor = 0; in rk628_post_process_scaler_init()396 scl_v_factor = ((src->vactive - 1) << 16) / (dst->vactive - 1); in rk628_post_process_scaler_init()410 SCL_V_FACTOR(scl_v_factor) | in rk628_post_process_scaler_init()