Searched refs:float_part (Results 1 – 2 of 2) sorted by relevance
108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local112 float_part = scale & 0x7; in sun8i_ui_scaler_coef_index()118 return float_part; in sun8i_ui_scaler_coef_index()120 return 8 + (float_part >> 1); in sun8i_ui_scaler_coef_index()
848 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local852 float_part = scale & 0x7; in sun8i_vi_scaler_coef_index()858 return float_part; in sun8i_vi_scaler_coef_index()860 return 8 + (float_part >> 1); in sun8i_vi_scaler_coef_index()