Searched refs:base_clk_divisor (Results 1 – 1 of 1) sorted by relevance
829 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local860 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()