Searched refs:i2c_rate (Results 1 – 2 of 2) sorted by relevance
50 uint32_t i2c_rate; in rk_i2c_set_clk() local54 i2c_rate = clk_get_rate(&i2c->clk); in rk_i2c_set_clk()56 div = DIV_ROUND_UP(i2c_rate, scl_rate * 8) - 2; in rk_i2c_set_clk()63 debug("rk_i2c_set_clk: i2c rate = %d, scl rate = %d\n", i2c_rate, in rk_i2c_set_clk()
305 ulong i2c_rate, divider; in ast_i2c_set_speed() local313 i2c_rate = clk_get_rate(&priv->clk); in ast_i2c_set_speed()314 divider = i2c_rate / speed; in ast_i2c_set_speed()