Searched refs:sclk_freq (Results 1 – 1 of 1) sorted by relevance
168 uint64_t sclk_freq; in rk_i2c_get_clkdiv() local172 err = clk_get_freq(sc->sclk, &sclk_freq); in rk_i2c_get_clkdiv()176 clkdiv = (sclk_freq / speed / RK_I2C_CLKDIV_MUL / 2) - 1; in rk_i2c_get_clkdiv()