Home
last modified time | relevance | path

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

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