Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-aspeed.c829 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
838 clk_high_low_max = (clk_high_low_mask + 1) * 2; in aspeed_i2c_get_clk_reg_val()
860 base_clk_divisor = divisor > clk_high_low_max ? in aspeed_i2c_get_clk_reg_val()
861 ilog2((divisor - 1) / clk_high_low_max) + 1 : 0; in aspeed_i2c_get_clk_reg_val()
869 divisor, (1 << base_clk_divisor) * clk_high_low_max); in aspeed_i2c_get_clk_reg_val()