Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-aspeed.c829 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
860 base_clk_divisor = divisor > clk_high_low_max ? in aspeed_i2c_get_clk_reg_val()
863 if (base_clk_divisor > ASPEED_I2CD_TIME_BASE_DIVISOR_MASK) { in aspeed_i2c_get_clk_reg_val()
864 base_clk_divisor = ASPEED_I2CD_TIME_BASE_DIVISOR_MASK; in aspeed_i2c_get_clk_reg_val()
869 divisor, (1 << base_clk_divisor) * clk_high_low_max); in aspeed_i2c_get_clk_reg_val()
871 tmp = (divisor + (1 << base_clk_divisor) - 1) in aspeed_i2c_get_clk_reg_val()
872 >> base_clk_divisor; in aspeed_i2c_get_clk_reg_val()
888 | (base_clk_divisor in aspeed_i2c_get_clk_reg_val()