Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-aspeed.c694 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
725 base_clk_divisor = divisor > clk_high_low_max ? in aspeed_i2c_get_clk_reg_val()
728 if (base_clk_divisor > ASPEED_I2CD_TIME_BASE_DIVISOR_MASK) { in aspeed_i2c_get_clk_reg_val()
729 base_clk_divisor = ASPEED_I2CD_TIME_BASE_DIVISOR_MASK; in aspeed_i2c_get_clk_reg_val()
734 divisor, (1 << base_clk_divisor) * clk_high_low_max); in aspeed_i2c_get_clk_reg_val()
736 tmp = (divisor + (1 << base_clk_divisor) - 1) in aspeed_i2c_get_clk_reg_val()
737 >> base_clk_divisor; in aspeed_i2c_get_clk_reg_val()
753 | (base_clk_divisor in aspeed_i2c_get_clk_reg_val()