Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i2c/busses/
Di2c-aspeed.c812 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
821 clk_high_low_max = (clk_high_low_mask + 1) * 2; in aspeed_i2c_get_clk_reg_val()
843 base_clk_divisor = divisor > clk_high_low_max ? in aspeed_i2c_get_clk_reg_val()
844 ilog2((divisor - 1) / clk_high_low_max) + 1 : 0; in aspeed_i2c_get_clk_reg_val()
852 divisor, (1 << base_clk_divisor) * clk_high_low_max); in aspeed_i2c_get_clk_reg_val()