Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-aspeed.c819 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
828 clk_high_low_max = (clk_high_low_mask + 1) * 2; in aspeed_i2c_get_clk_reg_val()
850 base_clk_divisor = divisor > clk_high_low_max ? in aspeed_i2c_get_clk_reg_val()
851 ilog2((divisor - 1) / clk_high_low_max) + 1 : 0; in aspeed_i2c_get_clk_reg_val()
859 divisor, (1 << base_clk_divisor) * clk_high_low_max); in aspeed_i2c_get_clk_reg_val()
886 * value of 8 giving a clk_high_low_max of 16. in aspeed_i2c_24xx_get_clk_reg_val()
895 * value of 16 giving a clk_high_low_max of 32. in aspeed_i2c_25xx_get_clk_reg_val()
/kernel/linux/linux-6.6/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()
895 * value of 8 giving a clk_high_low_max of 16. in aspeed_i2c_24xx_get_clk_reg_val()
904 * value of 16 giving a clk_high_low_max of 32. in aspeed_i2c_25xx_get_clk_reg_val()

Completed in 4 milliseconds