Searched refs:sum_ratio (Results 1 – 1 of 1) sorted by relevance
362 u32 x, sum_ratio = RCAR_SCHD_RATIO + RCAR_SCLD_RATIO; in rcar_i2c_clock_calculate() local379 x = DIV_ROUND_UP(x - 8 - 2 * priv->smd - round, sum_ratio); in rcar_i2c_clock_calculate()380 scl = rate / (8 + 2 * priv->smd + sum_ratio * x + round); in rcar_i2c_clock_calculate()