Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i2c/busses/
Di2c-cadence.c1016 unsigned long fscl = *f, best_fscl = *f, actual_fscl, temp; in cdns_i2c_calc_divs() local
1021 temp = input_clk / (22 * fscl); in cdns_i2c_calc_divs()
1032 div_b = DIV_ROUND_UP(input_clk, 22 * fscl * (div_a + 1)); in cdns_i2c_calc_divs()
1040 if (actual_fscl > fscl) in cdns_i2c_calc_divs()
1043 current_error = fscl - actual_fscl; in cdns_i2c_calc_divs()
1081 unsigned long fscl = id->i2c_clk; in cdns_i2c_setclk() local
1083 ret = cdns_i2c_calc_divs(&fscl, clk_in, &div_a, &div_b); in cdns_i2c_setclk()
1129 unsigned long fscl = id->i2c_clk; in cdns_i2c_clk_notifier_cb() local
1133 ret = cdns_i2c_calc_divs(&fscl, input_clk, &div_a, &div_b); in cdns_i2c_clk_notifier_cb()