Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dast2600_i2c.c263 unsigned long base_clk1, base_clk2, base_clk3, base_clk4; in ast2600_i2c_set_speed() local
282 base_clk1 = (apb_clk * 10) / ((((clk_div_reg & 0xff) + 2) * 10) / 2); in ast2600_i2c_set_speed()
293 } else if ((base_clk1 / speed) <= 32) { in ast2600_i2c_set_speed()
295 divisor = DIV_ROUND_UP(base_clk1, speed); in ast2600_i2c_set_speed()