Home
last modified time | relevance | path

Searched refs:sum_ratio (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-rcar.c362 u32 x, sum_ratio = RCAR_SCHD_RATIO + RCAR_SCLD_RATIO; in rcar_i2c_clock_calculate() local
379 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()