Searched refs:float_part (Results 1 – 2 of 2) sorted by relevance
93 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local97 float_part = scale & 0x7; in sun8i_ui_scaler_coef_index()103 return float_part; in sun8i_ui_scaler_coef_index()105 return 8 + (float_part >> 1); in sun8i_ui_scaler_coef_index()
838 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local842 float_part = scale & 0x7; in sun8i_vi_scaler_coef_index()848 return float_part; in sun8i_vi_scaler_coef_index()850 return 8 + (float_part >> 1); in sun8i_vi_scaler_coef_index()